pub fn buf_nv12_to_rgb(
resolution: Resolution,
data: &[u8],
out: &mut [u8],
rgba: bool,
) -> Result<(), NokhwaError>Expand description
Converts a YUYV 4:2:0 bi-planar (NV12) datastream to a RGB888 Stream and outputs it into a destination buffer. For further reading
ยงErrors
This may error when the data stream size is wrong.