Skip to main content

yuv10_coefficients

Function yuv10_coefficients 

Source
fn yuv10_coefficients(full_range: bool) -> ([[i32; 3]; 3], i32)
Expand description

The BT.709 coefficients that take 8-bit R, G, B to 10-bit Y, Cb, Cr at full_range or limited range, scaled by 1 << YUV10_SHIFT: a row each for Y, Cb, and Cr, then the luma offset. The chroma offset is the 10-bit midpoint at either range.