| | |
| | | typedef char*(*lib_cffmpeg_info_recorder)(const cffmpeg, int*, int*); |
| | | typedef void (*lib_cffmpeg_decoder)(const cffmpeg); |
| | | typedef void*(*lib_cffmpeg_pic)(const cffmpeg, int*, int*); |
| | | typedef void*(*lib_cffmpeg_avpacket)(const cffmpeg, int*, int*); |
| | | typedef void (*lib_cffmpeg_active_recorder)(const cffmpeg, const char*, int, int, rec_func); |
| | | typedef void (*lib_cffmpeg_active_decoder)(const cffmpeg, dec_func); |
| | | typedef void*(*lib_cffmpeg_decode_jpeg)(const cffmpeg, const char*, int*, int*); |
| | |
| | | static lib_cffmpeg_info_recorder fn_info_recorder = NULL; |
| | | static lib_cffmpeg_decoder fn_decoder = NULL; |
| | | static lib_cffmpeg_pic fn_decoder_pic = NULL; |
| | | static lib_cffmpeg_avpacket fn_get_avpacket = NULL; |
| | | static lib_cffmpeg_active_recorder fn_active_recorder = NULL; |
| | | static lib_cffmpeg_active_decoder fn_active_decoder = NULL; |
| | | static lib_cffmpeg_decode_jpeg fn_dec_jpeg = NULL; |
| | |
| | | char* wrap_fn_info_recorder(const cffmpeg, int*, int*); |
| | | void wrap_fn_decoder(const cffmpeg h); |
| | | void* wrap_fn_decoder_pic(const cffmpeg h, int* wid, int* hei); |
| | | void* wrap_fn_get_avpacket(const cffmpeg h, int* size, int* key); |
| | | void wrap_fn_active_recorder(const cffmpeg h, const char* dir, int mind, int maxd, rec_func fn); |
| | | void wrap_fn_active_decoder(const cffmpeg h, dec_func fn); |
| | | void* wrap_fn_decode_jpeg(const cffmpeg h, const char* file, int* wid, int* hei); |