• Linjie Fu's avatar
    lavf/vf_vpp_qsv: add support for QSV transpose filter · af3ddd58
    Linjie Fu authored
    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: 's avatarLinjie Fu <linjie.fu@intel.com>
    Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
    af3ddd58
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...