[FFmpeg-devel] unsubscribe

Gibson Tang gibtang at gmail.com
Sun Aug 23 18:56:24 EEST 2020


On Sun, Aug 23, 2020 at 11:40 PM Fu, Ting <ting.fu at intel.com> wrote:

>
>
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Guo,
> > Yejun
> > Sent: Friday, August 21, 2020 06:57 PM
> > To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH V3 1/2] dnn/native: unify error
> return to
> > DNN_ERROR
> >
> >
> >
> > > -----Original Message-----
> > > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Ting
> > > Fu
> > > Sent: 2020年8月21日 11:47
> > > To: ffmpeg-devel at ffmpeg.org
> > > Subject: [FFmpeg-devel] [PATCH V3 1/2] dnn/native: unify error return
> > > to DNN_ERROR
> > >
> > > Unify all error return as DNN_ERROR, in order to cease model executing
> > > when return error in ff_dnn_execute_model_native layer_func.pf_exec
> > >
> > > Signed-off-by: Ting Fu <ting.fu at intel.com>
> > > ---
> > >  libavfilter/dnn/dnn_backend_native_layer_avgpool.c     | 2 +-
> > >  libavfilter/dnn/dnn_backend_native_layer_conv2d.c      | 4 ++--
> > >  libavfilter/dnn/dnn_backend_native_layer_depth2space.c | 4 ++--
> > > libavfilter/dnn/dnn_backend_native_layer_mathbinary.c  | 2 +-
> > >  libavfilter/dnn/dnn_backend_native_layer_mathunary.c   | 2 +-
> > >  libavfilter/dnn/dnn_backend_native_layer_pad.c         | 4 ++--
> > >  6 files changed, 9 insertions(+), 9 deletions(-)
> > >
> >
> > we'd better move the following change to patch 1/2 from patch 2/2, so
> this
> > patch is complete.
>
> Sure, thank you for your review.
>
> >
> > -        layer_funcs[layer_type].pf_exec(native_model->operands,
> > -
> native_model->layers[layer].input_operand_indexes,
> > -
> native_model->layers[layer].output_operand_index,
> > -
> native_model->layers[layer].params);
> > +        if (layer_funcs[layer_type].pf_exec(native_model->operands,
> > +
> native_model->layers[layer].input_operand_indexes,
> > +
> native_model->layers[layer].output_operand_index,
> > +
> native_model->layers[layer].params) == DNN_ERROR)
> > {
> > +            return DNN_ERROR;
> > +        }
> >
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org
> > with subject "unsubscribe".
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list