diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-05-07 23:33:08 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-05-10 23:54:01 +0100 |
commit | d94dda742c8eab3141197270fb78063ed22442aa (patch) | |
tree | 7f42a384376ae69061a6bf0414b5ad8c69a95d80 /libavcodec/cbs_h264.h | |
parent | 9d375e114ac240ccff77d75724f6bc0e2210a1ba (diff) | |
download | ffmpeg-d94dda742c8eab3141197270fb78063ed22442aa.tar.gz |
cbs_h264: Add support for pan-scan rectangle SEI messages
Diffstat (limited to 'libavcodec/cbs_h264.h')
-rw-r--r-- | libavcodec/cbs_h264.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/cbs_h264.h b/libavcodec/cbs_h264.h index d953c1f66b..bc1ce1256f 100644 --- a/libavcodec/cbs_h264.h +++ b/libavcodec/cbs_h264.h @@ -264,6 +264,17 @@ typedef struct H264RawSEIPicTiming { H264RawSEIPicTimestamp timestamp[3]; } H264RawSEIPicTiming; +typedef struct H264RawSEIPanScanRect { + uint32_t pan_scan_rect_id; + uint8_t pan_scan_rect_cancel_flag; + uint8_t pan_scan_cnt_minus1; + int32_t pan_scan_rect_left_offset[3]; + int32_t pan_scan_rect_right_offset[3]; + int32_t pan_scan_rect_top_offset[3]; + int32_t pan_scan_rect_bottom_offset[3]; + uint16_t pan_scan_rect_repetition_period; +} H264RawSEIPanScanRect; + typedef struct H264RawSEIUserDataRegistered { uint8_t itu_t_t35_country_code; uint8_t itu_t_t35_country_code_extension_byte; @@ -301,6 +312,7 @@ typedef struct H264RawSEIPayload { union { H264RawSEIBufferingPeriod buffering_period; H264RawSEIPicTiming pic_timing; + H264RawSEIPanScanRect pan_scan_rect; // H264RawSEIFiller filler -> no fields. H264RawSEIUserDataRegistered user_data_registered; H264RawSEIUserDataUnregistered user_data_unregistered; |