[][src]Struct libavif_sys::avifImage

#[repr(C)]pub struct avifImage {
    pub width: u32,
    pub height: u32,
    pub depth: u32,
    pub yuvFormat: avifPixelFormat,
    pub yuvRange: avifRange,
    pub yuvPlanes: [*mut u8; 3],
    pub yuvRowBytes: [u32; 3],
    pub decoderOwnsYUVPlanes: avifBool,
    pub alphaRange: avifRange,
    pub alphaPlane: *mut u8,
    pub alphaRowBytes: u32,
    pub decoderOwnsAlphaPlane: avifBool,
    pub profileFormat: avifProfileFormat,
    pub icc: avifRWData,
    pub nclx: avifNclxColorProfile,
    pub exif: avifRWData,
    pub xmp: avifRWData,
}

Fields

width: u32height: u32depth: u32

all planes must share this depth; if depth>8, all planes are uint16_t internally

yuvFormat: avifPixelFormatyuvRange: avifRangeyuvPlanes: [*mut u8; 3]yuvRowBytes: [u32; 3]decoderOwnsYUVPlanes: avifBoolalphaRange: avifRangealphaPlane: *mut u8alphaRowBytes: u32decoderOwnsAlphaPlane: avifBoolprofileFormat: avifProfileFormaticc: avifRWDatanclx: avifNclxColorProfileexif: avifRWDataxmp: avifRWData

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.