Function fill_rgb_buffer_fancy

Source
pub(crate) fn fill_rgb_buffer_fancy<const BPP: usize>(
    buffer: &mut [u8],
    y_buffer: &[u8],
    u_buffer: &[u8],
    v_buffer: &[u8],
    width: usize,
    height: usize,
    buffer_width: usize,
)
Expand description

Fills an rgb buffer with the image from the yuv buffers Size of the buffer is assumed to be correct BPP is short for bytes per pixel, allows both rgb and rgba to be decoded