diff options
author | Linjie Fu <linjie.fu@intel.com> | 2019-07-11 01:57:46 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-08-07 20:58:49 +0800 |
commit | af3ddd581faf2c3c4748ae589947c662b1a2271e (patch) | |
tree | 7b1f02e26fcfdd4298f939612fa204223780de4a /libavfilter/vf_phase.c | |
parent | 98e419cbf5443b3e95d6bc7bdb807c9f54bfd6a7 (diff) | |
download | ffmpeg-af3ddd581faf2c3c4748ae589947c662b1a2271e.tar.gz |
lavf/vf_vpp_qsv: add support for QSV transpose filter
Add transpose support for qsv_vpp with rotate and hflip:
- rotate: [0, 3] support clockwise rotation of 0, 90, 180, 270;
- hflip: [0, 1] support horizontal flip;
Configure with:
{"cclock_hflip","clock","cclock","clock_hflip","reversal","hflip","vflip"}
CMD:
ffmpeg -hwaccel qsv -c:v h264_qsv -i input.h264
-vf 'format=qsv,vpp_qsv=transpose=clock' -c:v h264_qsv output.h264
ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264_qsv -i input.h264
-vf 'hwupload=extra_hw_frames=64,format=qsv,vpp_qsv=transpose=cclock_hflip'
-f rawvideo -pix_fmt nv12 ./transpose.yuv
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavfilter/vf_phase.c')
0 files changed, 0 insertions, 0 deletions