| | |
| | | |
| | | typedef void* cffmpeg; |
| | | |
| | | typedef cffmpeg(*lib_cffmpeg_create)(const int, const char*); |
| | | typedef cffmpeg(*lib_cffmpeg_create)(); |
| | | typedef cffmpeg(*lib_cffmpeg_create2)(const char*); |
| | | typedef void (*lib_cffmpeg_destroy)(const cffmpeg); |
| | | typedef void (*lib_cffmpeg_run)(const cffmpeg, const char*); |
| | | typedef void (*lib_cffmpeg_scale)(const cffmpeg, const int, const int, const int); |
| | |
| | | typedef void*(*lib_cffmpeg_decode)(const char*, const int, int*, int*); |
| | | |
| | | static lib_cffmpeg_create fn_create = NULL; |
| | | static lib_cffmpeg_create2 fn_create2 = NULL; |
| | | static lib_cffmpeg_destroy fn_destroy = NULL; |
| | | static lib_cffmpeg_run fn_run = NULL; |
| | | static lib_cffmpeg_scale fn_scale = NULL; |
| | |
| | | libcffmpeg init_libcffmpeg(const char *so_file); |
| | | void release_libcffmpeg(libcffmpeg lib); |
| | | |
| | | cffmpeg wrap_fn_create(const int log, const char *logfile); |
| | | cffmpeg wrap_fn_create(); |
| | | cffmpeg wrap_fn_create2(const char *logfile); |
| | | void wrap_fn_destroy(const cffmpeg h); |
| | | void wrap_fn_run(const cffmpeg h, const char* input); |
| | | void wrap_fn_scale(const cffmpeg h, const int wid, const int hei, const int flags); |