Planar16ImageStore

Type Alias Planar16ImageStore 

Source
pub type Planar16ImageStore<'a> = ImageStore<'a, u16, 1>;

Aliased Type§

pub struct Planar16ImageStore<'a> {
    pub buffer: Cow<'a, [u16]>,
    pub channels: usize,
    pub width: usize,
    pub height: usize,
    pub stride: usize,
    pub bit_depth: usize,
}

Fields§

§buffer: Cow<'a, [u16]>§channels: usize

Channels in the image

§width: usize

Image width

§height: usize

Image height

§stride: usize

Image stride, if stride is zero then it considered to be width * N

§bit_depth: usize

This is private field, currently used only for u16, will be automatically passed from upper func

Trait Implementations§

Source§

impl<'b> ImageStoreScaling<'b, u16, 1> for Planar16ImageStore<'b>

Source§

fn scale( &self, store: &mut ImageStoreMut<'b, u16, 1>, options: ScalingOptions, ) -> Result<(), PicScaleError>