| | |
| | | |
| | | int c_ffmpeg_get_fps(const cffmpeg h); |
| | | void c_ffmpeg_run_gb28181(const cffmpeg h); |
| | | char * c_ffmpeg_get_gb28181_pic(const char *rtspUrl, int *retDataLen); |
| | | char * c_ffmpeg_get_gb28181_pic(const char *rtspUrl, int *retDataLen, const int tt); |
| | | void c_ffmepg_use_cpu(const cffmpeg h); |
| | | /////////passive api |
| | | void c_ffmpeg_open_recorder(const cffmpeg h); |
| | |
| | | void* c_ffmpeg_get_avpacket(const cffmpeg h, int *size, int *key); |
| | | int c_ffmpeg_get_avpacket2(const cffmpeg h, unsigned char **data, int *size, int *key); |
| | | |
| | | int c_ffmpeg_set_devid(const cffmpeg h, const int devid); |
| | | |
| | | void c_ffmpeg_release_buf(void* buf); |
| | | |
| | | // pic encoder |
| | | void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi); |
| | | void c_ffmpeg_destroy_encoder(void *h); |