[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
Fri Mar 6 01:57:28 EET 2020



> -----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.


More information about the ffmpeg-devel mailing list