[FFmpeg-devel] [PATCH v3 00/10] Refactor DNN

Zhao Zhili quinkblack at foxmail.com
Tue Apr 30 10:11:58 EEST 2024


From: Zhao Zhili <zhilizhao at tencent.com>

v3:
1. Init class with ff_dnn_filter_init_child_class and called by AVFilter preinit.
2. Fix crash in vf_dnn_detect (patch 10/10).

Zhao Zhili (10):
  avfilter/dnn: Refactor DNN parameter configuration system
  avfilter/dnn_backend_openvino: Fix free context at random place
  avfilter/dnn_backend_openvino: simplify memory allocation
  avfilter/dnn_backend_tf: Remove one level of indentation
  avfilter/dnn_backend_tf: Fix free context at random place
  avfilter/dnn_backend_tf: Simplify memory allocation
  avfilter/dnn_backend_torch: Simplify memory allocation
  avfilter/dnn: Remove a level of dereference
  avfilter/dnn: Use dnn_backend_info_list to search for dnn module
  avfilter/vf_dnn_detect: Fix null pointer dereference

 libavfilter/dnn/dnn_backend_common.h   |  13 +-
 libavfilter/dnn/dnn_backend_openvino.c | 210 ++++++++++---------------
 libavfilter/dnn/dnn_backend_tf.c       | 194 ++++++++++-------------
 libavfilter/dnn/dnn_backend_torch.cpp  | 112 +++++--------
 libavfilter/dnn/dnn_interface.c        | 115 +++++++++++---
 libavfilter/dnn_filter_common.c        |  44 +++++-
 libavfilter/dnn_filter_common.h        |  39 ++---
 libavfilter/dnn_interface.h            |  74 +++++++--
 libavfilter/vf_derain.c                |   6 +-
 libavfilter/vf_dnn_classify.c          |   4 +-
 libavfilter/vf_dnn_detect.c            |  14 +-
 libavfilter/vf_dnn_processing.c        |   4 +-
 libavfilter/vf_sr.c                    |   6 +-
 13 files changed, 456 insertions(+), 379 deletions(-)

-- 
2.25.1



More information about the ffmpeg-devel mailing list