[FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

Guo, Yejun yejun.guo at intel.com
Wed Mar 11 08:30:22 EET 2020



> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of
> Pedro Arthur
> Sent: Saturday, March 07, 2020 1:25 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add
> frame size change support for planar yuv format
> 
> Em qui., 5 de mar. de 2020 às 20:57, Guo, Yejun <yejun.guo at intel.com>
> escreveu:
> >
> >
> >
> > > -----Original Message-----
> > > From: Guo, Yejun
> > > Sent: Tuesday, February 25, 2020 5:15 PM
> > > To: ffmpeg-devel at ffmpeg.org
> > > Cc: Guo, Yejun <yejun.guo at intel.com>
> > > Subject: [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size
> change
> > > support for planar yuv format
> > >
> > > The Y channel is handled by dnn, and also resized by dnn. The UV channels
> > > are resized with swscale.
> > >
> > > The command to use espcn.pb (see vf_sr) looks like:
> > > ./ffmpeg -i 480p.jpg -vf
> > >
> format=yuv420p,dnn_processing=dnn_backend=tensorflow:model=espcn.pb:in
> > > put=x:output=y -y tmp.espcn.jpg
> > >
> > > Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> > > ---
> > >  doc/filters.texi                |  9 +++++++++
> > >  libavfilter/vf_dnn_processing.c | 37
> ++++++++++++++++++++++++++++++-------
> > >  2 files changed, 39 insertions(+), 7 deletions(-)
> >
> > this patch set asks for review, thanks.
> I'll not be able to test it in the near future, but code wise LGTM.
> 

thanks, will push after 24 hours if no other comments.


More information about the ffmpeg-devel mailing list