diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-28 12:13:05 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-30 15:34:38 +0200 |
commit | 271ce76d317c5432e151216cf23f12b77ed6cb7e (patch) | |
tree | 6ab18a33d1ac6d090aa187c942e26834491aff95 /libavcodec/h264.h | |
parent | 0bfab80a0d9fce0180e8aa2a947267f89b725091 (diff) | |
download | ffmpeg-271ce76d317c5432e151216cf23f12b77ed6cb7e.tar.gz |
h264: Parse registered data SEI message and AFD value
Partially based on code by Marton Balint and Kieran Kunhya.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 6712c7e492..49bd4641a9 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -129,6 +129,7 @@ enum { typedef enum { SEI_TYPE_BUFFERING_PERIOD = 0, ///< buffering period (H.264, D.1.1) SEI_TYPE_PIC_TIMING = 1, ///< picture timing + SEI_TYPE_USER_DATA_REGISTERED = 4, ///< registered user data as specified by Rec. ITU-T T.35 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 @@ -675,6 +676,12 @@ typedef struct H264Context { int sei_hflip, sei_vflip; /** + * User data registered by Rec. ITU-T T.35 SEI + */ + int sei_reguserdata_afd_present; + uint8_t active_format_description; + + /** * 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). |