-----Original Message-----
From: ffmpeg-devel <[email protected]> On Behalf Of Shubhanshu 
Saxena
Sent: 2022年3月3日 2:06
To: [email protected]
Cc: Shubhanshu Saxena <[email protected]>
Subject: [FFmpeg-devel] [PATCH V2 8/8] libavfilter: Remove DNNReturnType from 
DNN Module

This patch removes all occurences of DNNReturnType from the DNN module.
This commit replaces DNN_SUCCESS by 0 (essentially the same), so the functions 
with DNNReturnType now return 0 in case of success, the negative values 
otherwise.

Signed-off-by: Shubhanshu Saxena <[email protected]>
---
 libavfilter/dnn/dnn_backend_common.c          | 10 ++--
 libavfilter/dnn/dnn_backend_common.h          |  8 +--
 libavfilter/dnn/dnn_backend_native.c          | 16 +++---
 .../dnn/dnn_backend_native_layer_avgpool.c    |  2 +-
 .../dnn/dnn_backend_native_layer_conv2d.c     |  4 +-
 .../dnn/dnn_backend_native_layer_dense.c      |  2 +-
 .../dnn_backend_native_layer_depth2space.c    |  2 +-
 libavfilter/dnn/dnn_backend_openvino.c        | 48 ++++++++--------
 libavfilter/dnn/dnn_backend_tf.c              | 56 +++++++++----------
 libavfilter/dnn/dnn_io_proc.c                 | 14 ++---
 libavfilter/dnn_interface.h                   |  2 -
 libavfilter/vf_derain.c                       |  2 +-
 libavfilter/vf_dnn_classify.c                 |  4 +-
 libavfilter/vf_dnn_detect.c                   |  4 +-
 libavfilter/vf_dnn_processing.c               |  8 +--
 libavfilter/vf_sr.c                           |  4 +-
 16 files changed, 92 insertions(+), 94 deletions(-)

Thanks, LGTM, will push soon.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to