| | |
| | | typedef void* cffmpeg; |
| | | |
| | | cffmpeg c_ffmpeg_create(); |
| | | cffmpeg c_ffmpeg_create2(const char *logfile); |
| | | |
| | | void c_ffmpeg_destroy(const cffmpeg h); |
| | | void c_ffmpeg_run(const cffmpeg h, const char *input); |
| | | |
| | |
| | | void* c_ffmpeg_get_avpacket(const cffmpeg h, int *size, int *key); |
| | | |
| | | //////test |
| | | void* c_ffmpeg_decode_jpeg(const char *file, int *wid, int *hei); |
| | | void* c_ffmpeg_decode(const char *file, const int gb, int *wid, int *hei); |
| | | |
| | | // pic encoder |
| | | void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int scale_flag, const int gi); |