Skip to content

decoder: check profile interop conformance ASAP - #5181

Merged
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
wantehchang:decoder-check_profile_interop_conformance-asap
Aug 17, 2026
Merged

decoder: check profile interop conformance ASAP#5181
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
wantehchang:decoder-check_profile_interop_conformance-asap

Conversation

@wantehchang

Copy link
Copy Markdown
Member

read_sequence_header_obu() should call
av2_check_profile_interop_conformance() as soon as it has read all the members of seq_params checked by that function. This allows the av2_max_level_bitrate() call in read_sequence_header_obu() to assume seq_params->seq_profile_idc is a supported profile.

Document the members of seq_params checked by
av2_check_profile_interop_conformance().

Comment thread av2/common/annexA.c
Comment thread av2/decoder/obu.c
Comment thread av2/decoder/obu.c Outdated
@urvangjoshi

Copy link
Copy Markdown
Contributor

@xinzhao-apple : pls review

@xinzhao-apple xinzhao-apple left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks Wan-Teh, approving.

@xinzhao-apple

Copy link
Copy Markdown
Contributor

Sorry for delayed response, I just swapped my primary email to my company email.

read_sequence_header_obu() should call
av2_check_profile_interop_conformance() as soon as it has read all the
members of seq_params checked by that function. This allows the
av2_max_level_bitrate() call in read_sequence_header_obu() to assume
seq_params->seq_profile_idc is a supported profile.

Document the members of seq_params checked by
av2_check_profile_interop_conformance().
@urvangjoshi
urvangjoshi force-pushed the decoder-check_profile_interop_conformance-asap branch from 9bbefed to 4dcb960 Compare August 13, 2026 17:32
@urvangjoshi
urvangjoshi enabled auto-merge (squash) August 13, 2026 17:32
@urvangjoshi
urvangjoshi merged commit c3d517b into AOMediaCodec:main Aug 17, 2026
107 checks passed
@wantehchang
wantehchang deleted the decoder-check_profile_interop_conformance-asap branch August 17, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants