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

Alpha encoded with AOM_CICP_MC_IDENTITY #2685

Open
y-guyon opened this issue Mar 13, 2025 · 0 comments · May be fixed by #2687
Open

Alpha encoded with AOM_CICP_MC_IDENTITY #2685

y-guyon opened this issue Mar 13, 2025 · 0 comments · May be fixed by #2687

Comments

@y-guyon
Copy link
Collaborator

y-guyon commented Mar 13, 2025

For color:

aomImage.mc = (aom_matrix_coefficients_t)image->matrixCoefficients;

But for alpha, mc is left to its default value (0 because of memset() above), which means AOM_CICP_MC_IDENTITY, which is forbidden:

subsampling_x subsampling_y mono_chrome Description
0 0 0 YUV 4:4:4
1 0 0 YUV 4:2:2
1 1 0 YUV 4:2:0
1 1 1 Monochrome 4:0:0

If matrix_coefficients is equal to MC_IDENTITY, it is a requirement of bitstream conformance that subsampling_x is equal to 0 and subsampling_y is equal to 0.

@y-guyon y-guyon linked a pull request Mar 14, 2025 that will close this issue
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 a pull request may close this issue.

1 participant