ra30_to_rgb8

Function ra30_to_rgb8 

Source
pub fn ra30_to_rgb8(
    ar30: &[u8],
    ar30_stride: u32,
    byte_order: Rgb30ByteOrder,
    rgb: &mut [u8],
    rgb_stride: u32,
    width: u32,
    height: u32,
) -> Result<(), YuvError>
Expand description

Converts RGBA1010102 to RGB 8 bit depth

ยงArguments

  • ar30: Source RA30 data
  • ar30_stride: Source RA30 stride
  • byte_order: See Rgb30ByteOrder for more info
  • rgb: Destination RGB data
  • rgb_stride: Destination RGB stride
  • width: Image width
  • height: Image height