Structs

Describes a source image which can be used for with downsample The 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_width and target_height. Returns the downsampled pixel data as a Vec<u8>.