From 18e3d61e9e3b52c177aa7a1f2a054a8a753e1b09 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 2 Jul 2014 11:58:19 -0400 Subject: h264: parse display orientation SEI message Signed-off-by: Vittorio Giovara --- libavcodec/h264.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 3e99832571..39023dab63 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -132,6 +132,7 @@ typedef enum { SEI_TYPE_USER_DATA_UNREGISTERED = 5, ///< unregistered user data SEI_TYPE_RECOVERY_POINT = 6, ///< recovery point (frame # to decoder sync) SEI_TYPE_FRAME_PACKING = 45, ///< frame packing arrangement + SEI_TYPE_DISPLAY_ORIENTATION = 47, ///< display orientation } SEI_Type; /** @@ -633,6 +634,13 @@ typedef struct H264Context { int content_interpretation_type; int quincunx_subsampling; + /** + * display orientation SEI message + */ + int sei_display_orientation_present; + int sei_anticlockwise_rotation; + int sei_hflip, sei_vflip; + /** * Bit set of clock types for fields/frames in picture timing SEI message. * For each found ct_type, appropriate bit is set (e.g., bit 1 for -- cgit v1.2.3