pub fn rotate_cbcr(
src: &[u8],
src_stride: usize,
dst: &mut [u8],
dst_stride: usize,
width: usize,
height: usize,
mode: RotationMode,
) -> Result<(), YuvError>
Available on crate feature
geometry
only.Expand description
Rotates CbCr 8 bit image.
This rotates any 2 channels image, channel order does not matter.
ยงArguments
src
: Source imagesrc_stride
: Source image stridedst
: Destination imagedst_stride
: Destination image stridewidth
: Image widthheight
: Image Heightmode
: Refer to RotationMode for mode info
returns: Result<(), YuvError>