ra30_to_rgba8

Function ra30_to_rgba8 

Source
pub fn ra30_to_rgba8(
    ra30: &[u8],
    ra30_stride: u32,
    byte_order: Rgb30ByteOrder,
    rgba: &mut [u8],
    rgba_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
  • rgba: Destination RGBA data
  • rgba_stride: Destination RGBA stride
  • width: Image width
  • height: Image height