Skip to content

Conversation

@zzoon
Copy link
Contributor

@zzoon zzoon commented Dec 18, 2025

High bit-depth video samples (10-bit and 12-bit) decoded are stored MSB-aligned in 16-bit words, with undefined bits in the lower positions (6 bits for 10-bit, 4 bits for 12-bit). The existing ConvertFrameToNv12 function copies these samples directly without normalizing the bit positions, resulting in incorrect output data.

This also fixes failures of av1 10-bit decode tests in fluster.

High bit-depth video samples (10-bit and 12-bit) decoded are stored MSB-aligned in 16-bit words,
with undefined bits in the lower positions (6 bits for 10-bit, 4 bits for 12-bit).
The existing ConvertFrameToNv12 function copies these samples directly without normalizing
the bit positions, resulting in incorrect output data.

This also fixes failures of av1 10-bit decode tests in fluster.
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.

1 participant