diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2021-04-01 10:06:06 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-05-06 10:50:44 +0800 |
commit | a3b74651a0408ddb19c2f0334ad4ad3f368376a6 (patch) | |
tree | 29d91ae5925644df0d81402e2c0e90e84d25922a /libavfilter/dnn/Makefile | |
parent | 7eb9accc376dca4f766d87d68c72aa167e4e9c7e (diff) | |
download | ffmpeg-a3b74651a0408ddb19c2f0334ad4ad3f368376a6.tar.gz |
lavfi/dnn: refine dnn interface to add DNNExecBaseParams
Different function type of model requires different parameters, for
example, object detection detects lots of objects (cat/dog/...) in
the frame, and classifcation needs to know which object (cat or dog)
it is going to classify.
The current interface needs to add a new function with more parameters
to support new requirement, with this change, we can just add a new
struct (for example DNNExecClassifyParams) based on DNNExecBaseParams,
and so we can continue to use the current interface execute_model just
with params changed.
Diffstat (limited to 'libavfilter/dnn/Makefile')
-rw-r--r-- | libavfilter/dnn/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/dnn/Makefile b/libavfilter/dnn/Makefile index d6d58f4b61..4cfbce0efc 100644 --- a/libavfilter/dnn/Makefile +++ b/libavfilter/dnn/Makefile @@ -2,6 +2,7 @@ OBJS-$(CONFIG_DNN) += dnn/dnn_interface.o OBJS-$(CONFIG_DNN) += dnn/dnn_io_proc.o OBJS-$(CONFIG_DNN) += dnn/queue.o OBJS-$(CONFIG_DNN) += dnn/safe_queue.o +OBJS-$(CONFIG_DNN) += dnn/dnn_backend_common.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 |