]> git.sesse.net Git - ffmpeg/commit
avfilter/dnn: get the data type of network output from dnn execution result
authorGuo, Yejun <yejun.guo@intel.com>
Mon, 21 Oct 2019 12:38:10 +0000 (20:38 +0800)
committerPedro Arthur <bygrandao@gmail.com>
Wed, 30 Oct 2019 14:00:41 +0000 (11:00 -0300)
commite1b45b85963b5aa9d67e23638ef9b045e7fbd875
tree8f42ca165f693649ea2ec8f6f9a8e62c1a505027
parentdff39ea9f0154ec52b7548b122a4a5332df3c2c6
avfilter/dnn: get the data type of network output from dnn execution result

so,  we can make a filter more general to accept different network
models, by adding a data type convertion after getting data from network.

After we add dt field into struct DNNData, it becomes the same as
DNNInputData, so merge them with one struct: DNNData.

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
libavfilter/dnn/dnn_backend_native.c
libavfilter/dnn/dnn_backend_native_layer_conv2d.c
libavfilter/dnn/dnn_backend_native_layer_depth2space.c
libavfilter/dnn/dnn_backend_native_layer_pad.c
libavfilter/dnn/dnn_backend_tf.c
libavfilter/dnn_interface.h
libavfilter/vf_derain.c
libavfilter/vf_sr.c