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