mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-18 03:19:31 +02:00
2003e32f62
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.
17 lines
1.1 KiB
Makefile
17 lines
1.1 KiB
Makefile
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
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_pad.o
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_conv2d.o
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_depth2space.o
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_maximum.o
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_mathbinary.o
|
|
OBJS-$(CONFIG_DNN) += dnn/dnn_backend_native_layer_mathunary.o
|
|
|
|
DNN-OBJS-$(CONFIG_LIBTENSORFLOW) += dnn/dnn_backend_tf.o
|
|
DNN-OBJS-$(CONFIG_LIBOPENVINO) += dnn/dnn_backend_openvino.o
|
|
|
|
OBJS-$(CONFIG_DNN) += $(DNN-OBJS-yes)
|