Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AV2 request: Please move color_config() to the beginning of the sequence header OBU #319

Open
wantehchang opened this issue Jan 12, 2021 · 2 comments

Comments

@wantehchang
Copy link
Collaborator

It is often necessary to extract several pieces of information in the sequence header OBU, such as max frame width, max frame height, bit depth, and YUV format, without decoding the bitstream. Except for max frame width and max frame height, all of these are specified in the color_config() structure. Since color_config() is placed at the end of the AV1 sequence header OBU and it is not possible to parse color_config() backwards, we must parse the entire AV1 sequence header OBU to extract the info in color_config().

I propose that we fix this issue in the high-level syntax of the AV2 bitstream. Since color_config() only depends on seq_profile, which is the very first syntax element in the sequence header OBU, in AV2 we should move color_config() and the syntax elements related to max frame width and max frame height to the beginning of the sequence header OBU, immediately following seq_profile.

@kodawah
Copy link

kodawah commented Jan 12, 2021

this could be part of an overall simplification of the sequence header 👍

@wantehchang
Copy link
Collaborator Author

wantehchang commented Jun 13, 2024

I wrote an AVM merge request to implement this proposal: https://gitlab.com/AOMediaCodec/avm/-/merge_requests/1183

The Codec WG input document number for this proposal is CWG-E103.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants