mirror of https://code.videolan.org/videolan/vlc
packetizer: av1: allow reading the super resolution from the sequence header
This commit is contained in:
parent
7e9333f0ca
commit
d59fdf9c8d
|
@ -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,
|
||||
|
|
|
@ -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 *);
|
||||
|
|
Loading…
Reference in New Issue