pub fn encode_cl(bgra: &[u8], w: i32, h: i32) -> Vec<u8> ⓘExpand description
Encode BGRA pixels to CL per-pixel nibble chroma format.
Output layout (2 Bpp):
Y plane: w × h bytes (full 8-bit luma)
CbCr plane: w × h bytes (Cr in high nibble, Cb in low nibble)