pub fn convert_rgb16_to_f16(
src: &[u16],
src_stride: usize,
dst: &mut [f16],
dst_stride: usize,
bit_depth: usize,
width: usize,
height: usize,
) -> Result<(), YuvError>Available on crate feature
nightly_f16 only.Expand description
Converts RGB 8+ bit-depth image to f16.
Channel order does not matter.
ยงArguments
src: Source imagesrc_stride: Source image stridedst: Destination imagedst_stride: Destination image stridebit_depth: Image bit depth.width: Image widthheight: Image height
returns: Result<(), YuvError>