]> git.sesse.net Git - ffmpeg/commit
libavfilter/dnn: support multiple outputs for tensorflow model
authorGuo, Yejun <yejun.guo@intel.com>
Thu, 25 Apr 2019 02:14:33 +0000 (10:14 +0800)
committerPedro Arthur <bygrandao@gmail.com>
Wed, 8 May 2019 15:33:00 +0000 (12:33 -0300)
commit25c1cd909fa6c8b6b778dc24192dc3ec780324b0
treeb428c01522b2935d0b6af414580edcdf39370093
parent7adfb6132e0823de06f92ecbcb485eeb4260d407
libavfilter/dnn: support multiple outputs for tensorflow model

some models such as ssd, yolo have more than one output.

the clean up code in this patch is a little complex, it is because
that set_input_output_tf could be called for many times together
with ff_dnn_execute_model_tf, we have to clean resources for the
case that the two interfaces are called interleaved.

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