[FFmpeg-devel] [PATCH v4 10/11] avfilter/dnn: Remove a level of dereference
Guo, Yejun
yejun.guo at intel.com
Thu May 30 16:15:03 EEST 2024
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Zhao
> Zhili
> Sent: Wednesday, May 8, 2024 12:08 AM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Zhao Zhili <zhilizhao at tencent.com>
> Subject: [FFmpeg-devel] [PATCH v4 10/11] avfilter/dnn: Remove a level of
> dereference
>
> From: Zhao Zhili <zhilizhao at tencent.com>
>
> For code such as 'model->model = ov_model' is confusing. We can just drop the
> member variable and use cast to get the subclass.
>
> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> ---
> libavfilter/dnn/dnn_backend_openvino.c | 17 ++++++++---------
> libavfilter/dnn/dnn_backend_tf.c | 19 +++++++++----------
> libavfilter/dnn/dnn_backend_torch.cpp | 15 +++++++--------
> libavfilter/dnn_filter_common.c | 6 +++---
> libavfilter/dnn_interface.h | 6 ++----
> 5 files changed, 29 insertions(+), 34 deletions(-)
>
this patch set pushed, thanks.
More information about the ffmpeg-devel
mailing list