summaryrefslogtreecommitdiff
path: root/libavfilter/transpose.h
diff options
context:
space:
mode:
authorZachary Zhou <zachary.zhou@intel.com>2019-01-17 11:33:05 +0800
committerMark Thompson <sw@jkqxz.net>2019-01-23 23:29:40 +0000
commitb8ebce4f84b653b8a50a23398e3d12a607b5cddb (patch)
tree55f86432a69c88b88709348f744e75935e68c457 /libavfilter/transpose.h
parent916b3b9079f783f0e00823e19bba85fa0f7d012f (diff)
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>
Diffstat (limited to 'libavfilter/transpose.h')
-rw-r--r--libavfilter/transpose.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/transpose.h b/libavfilter/transpose.h
index d4bb4da1ae..aa262b9487 100644
--- a/libavfilter/transpose.h
+++ b/libavfilter/transpose.h
@@ -29,6 +29,9 @@ enum TransposeDir {
TRANSPOSE_CLOCK,
TRANSPOSE_CCLOCK,
TRANSPOSE_CLOCK_FLIP,
+ TRANSPOSE_REVERSAL, // rotate by half-turn
+ TRANSPOSE_HFLIP,
+ TRANSPOSE_VFLIP,
};
#endif