Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Guo, Yejun" <yejun.guo-at-intel.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 8/8] libavfilter: Remove DNNReturnType from DNN Module
Date: Wed, 2 Mar 2022 11:18:48 +0000
Message-ID: <PH7PR11MB5957CD7FF04DB31009FADF3CF1039@PH7PR11MB5957.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220224082243.11208-8-shubhanshu.e01@gmail.com>



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> Shubhanshu Saxena
> Sent: Thursday, February 24, 2022 4:23 PM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
> Subject: [FFmpeg-devel] [PATCH 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 <shubhanshu.e01@gmail.com>
> ---
>  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(-)
> 


LGTM, will push soon, 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-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2022-03-02 11:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24  8:22 [FFmpeg-devel] [PATCH 1/8] libavfilter: Prepare to handle specific error codes in DNN Filters Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 2/8] lavfi/dnn: Error Specificity in Native Backend Layers Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 3/8] lavfi/dnn_io_proc: Return Specific Error Codes Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 4/8] lavfi/dnn_backend_openvino: " Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 5/8] lavfi/dnn_backend_tf: " Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 6/8] lavfi/dnn_backend_native: " Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 7/8] lavfi/dnn_backend_common: Return specific error codes Shubhanshu Saxena
2022-02-24  8:22 ` [FFmpeg-devel] [PATCH 8/8] libavfilter: Remove DNNReturnType from DNN Module Shubhanshu Saxena
2022-03-02 11:18   ` Guo, Yejun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH7PR11MB5957CD7FF04DB31009FADF3CF1039@PH7PR11MB5957.namprd11.prod.outlook.com \
    --to=yejun.guo-at-intel.com@ffmpeg.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git