diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-07-02 11:58:19 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-07-09 10:17:42 -0400 |
commit | 18e3d61e9e3b52c177aa7a1f2a054a8a753e1b09 (patch) | |
tree | 1542603c347195c576eb989c2edb790e4eb83711 /libavcodec/h264.h | |
parent | a54f03bf07da964a1b04b03b85bc39deba76efa4 (diff) | |
download | ffmpeg-18e3d61e9e3b52c177aa7a1f2a054a8a753e1b09.tar.gz |
h264: parse display orientation SEI message
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; /** @@ -634,6 +635,13 @@ typedef struct H264Context { 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 * interlaced). |