pub fn convert_chroma_data<T: Pixel>(
    plane_data: &mut Plane<T>,
    chroma_pos: ChromaSamplePosition,
    bit_depth: usize,
    source: &[u8],
    source_stride: usize,
    source_bytewidth: usize
)
Expand description

The algorithms (as ported from daala-tools) expect a colocated or bilaterally located chroma sample position. This means that a vertical chroma sample position must be realigned in order to produce a correct result.