| | |
| | | release_if_err(fn_fire_recorder, lib); |
| | | fn_info_recorder = (lib_cffmpeg_info_recorder)dlsym(lib, "c_ffmpeg_get_info_recorder"); |
| | | release_if_err(fn_info_recorder, lib); |
| | | fn_rec_id = (lib_cffmpeg_rec_id)dlsym(lib, "c_ffmpeg_get_rec_id"); |
| | | release_if_err(fn_rec_id, lib); |
| | | fn_decoder = (lib_cffmpeg_decoder)dlsym(lib, "c_ffmpeg_build_decoder"); |
| | | release_if_err(fn_decoder, lib); |
| | | fn_decoder_pic = (lib_cffmpeg_pic)dlsym(lib, "c_ffmpeg_get_pic_decoder"); |
| | |
| | | fn_cpu(h); |
| | | } |
| | | |
| | | void wrap_fn_recorder(const cffmpeg h, const char* dir, int mind, int maxd){ |
| | | fn_recorder(h, dir, mind, maxd); |
| | | void wrap_fn_recorder(const cffmpeg h, const char* id, const char* dir, int mind, int maxd){ |
| | | fn_recorder(h, id, dir, mind, maxd); |
| | | } |
| | | |
| | | void wrap_fn_fire_recorder(const cffmpeg h, const int64_t id){ |
| | | fn_fire_recorder(h, id); |
| | | void wrap_fn_fire_recorder(const cffmpeg h, const char* sid, const int64_t id){ |
| | | fn_fire_recorder(h, sid, id); |
| | | } |
| | | |
| | | char* wrap_fn_info_recorder(const cffmpeg h, int* index, int* length){ |
| | | return fn_info_recorder(h, index, length); |
| | | } |
| | | |
| | | char* wrap_fn_rec_id(const cffmpeg h, const char* path, int*length){ |
| | | return fn_rec_id(h, path, length); |
| | | } |
| | | |
| | | void wrap_fn_decoder(const cffmpeg h){ |
| | | fn_decoder(h); |
| | | } |