convert_plane16_to_f16

Function convert_plane16_to_f16 

Source
pub fn convert_plane16_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 planar 8+ bit-depth image to f16.

ยงArguments

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

returns: Result<(), YuvError>