Crate ispc_downsampler
source ·Structs
- Describes a source image which can be used for with
downsampleThe pixel data is stored as a slice to avoid unnecessarily cloning it.
Enums
Functions
- Runs the ISPC kernel on the source image, sampling it down to the
target_widthandtarget_height. Returns the downsampled pixel data as aVec<u8>.