diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2020-02-21 20:40:07 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-03-12 18:22:51 +0800 |
commit | e35f96685312c70f7c1cfaadeb966bce1976eb1b (patch) | |
tree | 2c0a10036a2461bf79c566d4c779e59107d9e7d8 /libavcodec | |
parent | bd50453894182af095c7d7578596e6ff6c58f852 (diff) | |
download | ffmpeg-e35f96685312c70f7c1cfaadeb966bce1976eb1b.tar.gz |
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:input=x:output=y -y tmp.espcn.jpg
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Reviewed-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions