packetizer: av1: allow reading the super resolution from the sequence header

This commit is contained in:
Steve Lhomme 2023-04-17 13:17:22 +02:00 committed by Jean-Baptiste Kempf
parent 7e9333f0ca
commit d59fdf9c8d
2 changed files with 6 additions and 0 deletions

View File

@ -554,6 +554,11 @@ bool AV1_get_frame_rate(const av1_OBU_sequence_header_t *p_seq,
return true;
}
bool AV1_get_super_res(const av1_OBU_sequence_header_t *p_seq)
{
return p_seq->enable_superres;
}
bool AV1_get_colorimetry(const av1_OBU_sequence_header_t *p_seq,
video_color_primaries_t *p_primaries,
video_transfer_func_t *p_transfer,

View File

@ -167,6 +167,7 @@ bool AV1_get_colorimetry( const av1_OBU_sequence_header_t *,
video_color_primaries_t *, video_transfer_func_t *,
video_color_space_t *, video_color_range_t *);
bool AV1_get_frame_rate(const av1_OBU_sequence_header_t *, unsigned *, unsigned *);
bool AV1_get_super_res(const av1_OBU_sequence_header_t *);
vlc_fourcc_t AV1_get_chroma(const av1_OBU_sequence_header_t *);
bool AV1_sequence_header_equal(const av1_OBU_sequence_header_t *,const av1_OBU_sequence_header_t *);