[FFmpeg-devel] [PATCH] dnn: add backend options when load the model

Guo, Yejun yejun.guo at intel.com
Tue Aug 11 13:27:27 EEST 2020



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Guo, Yejun
> Sent: Friday, August 7, 2020 3:00 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH] dnn: add backend options when load the
> model
> 
> different backend might need different options for a better performance,
> so, add the parameter into dnn interface, as a preparation.
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  libavfilter/dnn/dnn_backend_native.c   | 3 ++-
>  libavfilter/dnn/dnn_backend_native.h   | 2 +-
>  libavfilter/dnn/dnn_backend_openvino.c | 3 ++-
>  libavfilter/dnn/dnn_backend_openvino.h | 2 +-
>  libavfilter/dnn/dnn_backend_tf.c       | 3 ++-
>  libavfilter/dnn/dnn_backend_tf.h       | 2 +-
>  libavfilter/dnn_interface.h            | 4 +++-
>  libavfilter/vf_derain.c                | 2 +-
>  libavfilter/vf_dnn_processing.c        | 4 +++-
>  libavfilter/vf_sr.c                    | 2 +-
>  10 files changed, 17 insertions(+), 10 deletions(-)

I'll push it tomorrow if no other comment, thanks.


More information about the ffmpeg-devel mailing list