ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef __LIBVE_DECORDER2_H__
#define __LIBVE_DECORDER2_H__
 
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <fcntl.h>
 
#include <pthread.h>
#include "vencoder.h"  //* video encode library in "LIBRARY/CODEC/VIDEO/ENCODER"
//#include "memoryAdapter.h"
#include "vdecoder.h"
 
//add by zhengjiangwei for Android N extern void AddVDPlugin(void);
#include <string.h>
#include <dlfcn.h>
#include <dirent.h>
 
#define DBG_ENABLE 0
 
#ifdef __cplusplus
extern "C" {
#endif
 
 
//add by zhengjiangwei for Android N
extern void AddVDPlugin(void);
extern void AddVDPluginSingle(char *lib);
//extern static int GetLocalPathFromProcessMaps(char *localPath, int len);
 
void Libve_dec2(VideoDecoder** mVideoDecoder,
                const void *in,
                void *out,
                VideoStreamInfo* pVideoInfo,
                VideoStreamDataInfo* dataInfo,
                VConfig* pVconfig);
int  Libve_init2(VideoDecoder** mVideoDecoder,
                 VideoStreamInfo* pVideoInfo,
                 VConfig* pVconfig);
int  Libve_exit2(VideoDecoder** mVideoDecoder);
 
#ifdef __cplusplus
}
#endif
 
 
#endif  /* __LIBVE_DECORDER2_H__ */