convert_plane_to_f16

Function convert_plane_to_f16 

Source
pub fn convert_plane_to_f16(
    src: &[u8],
    src_stride: usize,
    dst: &mut [f16],
    dst_stride: usize,
    width: usize,
    height: usize,
) -> Result<(), YuvError>
Available on crate feature nightly_f16 only.
Expand description

Converts planar 8-bit image to f16.

ยงArguments

  • src: Source image
  • src_stride: Source image stride
  • dst: Destination image
  • dst_stride: Destination image stride
  • width: Image width
  • height: Image height

returns: Result<(), YuvError>