From 803388b511d31b9e25f6829298bb12e06323474c Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期三, 17 七月 2019 13:37:47 +0800 Subject: [PATCH] Merge branch 'master' of ssh://192.168.1.14:29418/valib/goffmpeg --- cffmpeg.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cffmpeg.h b/cffmpeg.h index 7a09816..1eb6536 100644 --- a/cffmpeg.h +++ b/cffmpeg.h @@ -32,6 +32,11 @@ //////test void* c_ffmpeg_decode_jpeg(const cffmpeg h, const char *file, 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); +void c_ffmpeg_destroy_encoder(void *h); +int c_ffmpeg_encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key); + #ifdef __cplusplus } #endif -- Gitblit v1.8.0