]> git.sesse.net Git - ffmpeg/commit
avfilter/dnn: add a new interface to query dnn model's input info
authorGuo, Yejun <yejun.guo@intel.com>
Mon, 21 Oct 2019 12:38:17 +0000 (20:38 +0800)
committerPedro Arthur <bygrandao@gmail.com>
Wed, 30 Oct 2019 14:07:06 +0000 (11:07 -0300)
commitf4b3c0e55c84434eb897c2a4a1179cb1d202c52c
tree4d119163acfab352d18328b526c0bb99a7dc771d
parente1b45b85963b5aa9d67e23638ef9b045e7fbd875
avfilter/dnn: add a new interface to query dnn model's input info

to support dnn networks more general, we need to know the input info
of the dnn model.

background:
The data type of dnn model's input could be float32, uint8 or fp16, etc.
And the w/h of input image could be fixed or variable.

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_tf.c
libavfilter/dnn_interface.h