diff options
author | James Almer <jamrial@gmail.com> | 2019-04-14 18:52:38 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-04-16 19:23:17 -0300 |
commit | cfe220332a8ff821c5f4eb535b634502b5427ae3 (patch) | |
tree | c18ed590a078ed61eb8160a07443ee44c3af9032 /libavcodec/cbs_av1.h | |
parent | 5ba769214f91f099f93185d33bd28e0460cc3908 (diff) | |
download | ffmpeg-cfe220332a8ff821c5f4eb535b634502b5427ae3.tar.gz |
avcodec/cbs_av1: add support for Scalability Metadata
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_av1.h')
-rw-r--r-- | libavcodec/cbs_av1.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h index e799964b72..1fb668ada4 100644 --- a/libavcodec/cbs_av1.h +++ b/libavcodec/cbs_av1.h @@ -325,7 +325,20 @@ typedef struct AV1RawMetadataHDRMDCV { typedef struct AV1RawMetadataScalability { uint8_t scalability_mode_idc; - // TODO: more stuff. + uint8_t spatial_layers_cnt_minus_1; + uint8_t spatial_layer_dimensions_present_flag; + uint8_t spatial_layer_description_present_flag; + uint8_t temporal_group_description_present_flag; + uint8_t scalability_structure_reserved_3bits; + uint16_t spatial_layer_max_width[4]; + uint16_t spatial_layer_max_height[4]; + uint8_t spatial_layer_ref_id[4]; + uint8_t temporal_group_size; + uint8_t temporal_group_temporal_id[255]; + uint8_t temporal_group_temporal_switching_up_point_flag[255]; + uint8_t temporal_group_spatial_switching_up_point_flag[255]; + uint8_t temporal_group_ref_cnt[255]; + uint8_t temporal_group_ref_pic_diff[255][7]; } AV1RawMetadataScalability; typedef struct AV1RawMetadataITUTT35 { |