rotate_rgba16

Function rotate_rgba16 

Source
pub fn rotate_rgba16(
    src: &[u16],
    src_stride: usize,
    dst: &mut [u16],
    dst_stride: usize,
    width: usize,
    height: usize,
    mode: RotationMode,
) -> Result<(), YuvError>
Available on crate feature geometry only.
Expand description

Rotates RGBA 8+ bit image.

This rotates any 4 channels image, channel order does not matter.

ยงArguments

  • src: Source image
  • src_stride: Source image stride
  • dst: Destination image
  • dst_stride: Destination image stride
  • width: Image width
  • height: Image Height
  • mode: Refer to RotationMode for mode info

returns: Result<(), YuvError>