diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2020-02-21 14:20:48 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-03-12 18:22:39 +0800 |
commit | bd50453894182af095c7d7578596e6ff6c58f852 (patch) | |
tree | 819d644c740561fd3d855b6d1f51c60a6fd2efcf /libavcodec/hevcpred.c | |
parent | d86a8c056b4a4e607d93cd91cbdc421bf55a022b (diff) | |
download | ffmpeg-bd50453894182af095c7d7578596e6ff6c58f852.tar.gz |
avfilter/vf_dnn_processing.c: add planar yuv format support
Only the Y channel is handled by dnn, the UV channels are copied
without changes.
The command to use srcnn.pb (see vf_sr) looks like:
./ffmpeg -i 480p.jpg -vf format=yuv420p,scale=w=iw*2:h=ih*2,dnn_processing=dnn_backend=tensorflow:model=srcnn.pb:input=x:output=y -y srcnn.jpg
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Reviewed-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavcodec/hevcpred.c')
0 files changed, 0 insertions, 0 deletions