pub fn ycgco444_to_rgb(
image: &YuvPlanarImage<'_, u8>,
dst: &mut [u8],
dst_stride: u32,
range: YuvRange,
) -> Result<(), YuvError>Expand description
Convert YCgCo 444 planar format to RGB8 format.
This function takes YCgCo 444 planar format data with 8-bit precision, and converts it to RGB8 format with 8-bit per channel precision.
§Arguments
image- Source YCgCo 444 image.dst- A mutable slice to store the converted RGB8 data.dst_stride- Elements per row.range- The YUV range (limited or full).
§Panics
This function panics if the lengths of the planes or the input RGB8 data are not valid based on the specified width, height, and strides, or if invalid YUV range or matrix is provided.