libavfilter: add transpose_vaapi filter
authorZachary Zhou <zachary.zhou@intel.com>
Thu, 17 Jan 2019 03:33:05 +0000 (11:33 +0800)
committerMark Thompson <sw@jkqxz.net>
Wed, 23 Jan 2019 23:29:40 +0000 (23:29 +0000)
commitb8ebce4f84b653b8a50a23398e3d12a607b5cddb
tree55f86432a69c88b88709348f744e75935e68c457
parent916b3b9079f783f0e00823e19bba85fa0f7d012f
libavfilter: add transpose_vaapi filter

Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip options

ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264

Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
configure
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/transpose.h
libavfilter/vf_transpose_vaapi.c [new file with mode: 0644]