aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/dnn/Makefile
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2020-08-28 12:51:44 +0800
committerGuo, Yejun <yejun.guo@intel.com>2020-09-21 21:26:56 +0800
commit2003e32f62d94ba75b59d70632c9f2862b383591 (patch)
tree55ec60788bc740eb45dbafd613bd8cf50a10417a /libavfilter/dnn/Makefile
parent6918e240d706f7390272976d8b8d502afe426a18 (diff)
downloadffmpeg-2003e32f62d94ba75b59d70632c9f2862b383591.tar.gz
dnn: change dnn interface to replace DNNData* with AVFrame*
Currently, every filter needs to provide code to transfer data from AVFrame* to model input (DNNData*), and also from model output (DNNData*) to AVFrame*. Actually, such transfer can be implemented within DNN module, and so filter can focus on its own business logic. DNN module also exports the function pointer pre_proc and post_proc in struct DNNModel, just in case that a filter has its special logic to transfer data between AVFrame* and DNNData*. The default implementation within DNN module is used if the filter does not set pre/post_proc.
Diffstat (limited to 'libavfilter/dnn/Makefile')
-rw-r--r--libavfilter/dnn/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/dnn/Makefile b/libavfilter/dnn/Makefile
index e0957073ee..ee08cc5243 100644
--- a/libavfilter/dnn/Makefile
+++ b/libavfilter/dnn/Makefile
@@ -1,4 +1,5 @@
OBJS-$(CONFIG_DNN) += dnn/dnn_interface.o
+OBJS-$(CONFIG_DNN) += dnn/dnn_io_proc.o
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native.o
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layers.o
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_avgpool.o