> -----Original Message-----
> From: Guo, Yejun <yejun....@intel.com>
> Sent: 2020年9月14日 14:29
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun <yejun....@intel.com>
> Subject: [PATCH 4/4] dnn: add a new interface DNNModel.get_output
> 
> for some cases (for example, super resolution), the DNN model changes the
> frame size which impacts the filter behavior, so the filter needs to know the 
> out
> frame size at very beginning.
> 
> Currently, the filter reuses DNNModule.execute_model to query the out frame
> size, it is not clear from interface perspective, so add a new explict 
> interface
> DNNModel.get_output for such query.
> 
> Signed-off-by: Guo, Yejun <yejun....@intel.com>
> ---
>  libavfilter/dnn/dnn_backend_native.c   | 66 ++++++++++++++++++++++----
>  libavfilter/dnn/dnn_backend_openvino.c | 66 ++++++++++++++++++++++----
>  libavfilter/dnn/dnn_backend_tf.c       | 66 ++++++++++++++++++++++----
>  libavfilter/dnn_interface.h            |  3 ++
>  libavfilter/vf_dnn_processing.c        | 17 ++-----
>  libavfilter/vf_sr.c                    | 25 ++++------
>  6 files changed, 185 insertions(+), 58 deletions(-)
will push next Monday if no other comments, thanks.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to