| | |
| | | typedef cffmpeg(*lib_cffmpeg_create)(); |
| | | 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_recorder)(const cffmpeg, const char*, int, int); |
| | | typedef void (*lib_cffmpeg_fire_recorder)(const cffmpeg, const int64_t); |
| | | typedef char*(*lib_cffmpeg_info_recorder)(const cffmpeg, int*, int*); |
| | |
| | | static lib_cffmpeg_create fn_create = NULL; |
| | | static lib_cffmpeg_destroy fn_destroy = NULL; |
| | | static lib_cffmpeg_run fn_run = NULL; |
| | | static lib_cffmpeg_scale fn_scale = NULL; |
| | | static lib_cffmpeg_recorder fn_recorder = NULL; |
| | | static lib_cffmpeg_fire_recorder fn_fire_recorder = NULL; |
| | | static lib_cffmpeg_info_recorder fn_info_recorder = NULL; |
| | |
| | | cffmpeg wrap_fn_create(); |
| | | 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); |
| | | void wrap_fn_recorder(const cffmpeg h, const char* dir, int mind, int maxd); |
| | | void wrap_fn_fire_recorder(const cffmpeg h, const int64_t id); |
| | | char* wrap_fn_info_recorder(const cffmpeg, int*, int*); |