From 633ab812c30fa2353800ad6431f41f25993ec6bd Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 13 五月 2019 12:43:07 +0800
Subject: [PATCH] add scale

---
 libcffmpeg.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libcffmpeg.h b/libcffmpeg.h
index 8ba6a4c..ee54ead 100644
--- a/libcffmpeg.h
+++ b/libcffmpeg.h
@@ -16,6 +16,7 @@
 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*);
@@ -28,6 +29,7 @@
 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;
@@ -44,6 +46,7 @@
 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*);

--
Gitblit v1.8.0