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

List AVIF_COLOR_PRIMARIES_SRGB after BT709 #1869

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

wantehchang
Copy link
Collaborator

This order suggests that AVIF_COLOR_PRIMARIES_BT709 is the main name of the constant and AVIF_COLOR_PRIMARIES_SRGB is an alias. The association of color_primaries value 1 with BT.709 is well known.

This order suggests that AVIF_COLOR_PRIMARIES_BT709 is the main name of
the constant and AVIF_COLOR_PRIMARIES_SRGB is an alias. The association
of color_primaries value 1 with BT.709 is well known.
AVIF_COLOR_PRIMARIES_BT709 = 1,
AVIF_COLOR_PRIMARIES_SRGB = 1,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that I didn't reorder AVIF_TRANSFER_CHARACTERISTICS_PQ and AVIF_TRANSFER_CHARACTERISTICS_SMPTE2084 for the transfer_characteristics value 16. I think we can make an exception for that constant because PQ is better known than SMPTE ST 2084.

@wantehchang wantehchang merged commit 55e948a into AOMediaCodec:main Dec 12, 2023
17 checks passed
@wantehchang wantehchang deleted the color-primaries-bt709 branch December 12, 2023 18:36
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

Successfully merging this pull request may close these issues.

2 participants