Struct libavif_sys::avifImage[][src]

#[repr(C)]pub struct avifImage {
    pub width: u32,
    pub height: u32,
    pub depth: u32,
    pub yuvFormat: avifPixelFormat,
    pub yuvRange: avifRange,
    pub yuvChromaSamplePosition: avifChromaSamplePosition,
    pub yuvPlanes: [*mut u8; 3],
    pub yuvRowBytes: [u32; 3],
    pub imageOwnsYUVPlanes: avifBool,
    pub alphaRange: avifRange,
    pub alphaPlane: *mut u8,
    pub alphaRowBytes: u32,
    pub imageOwnsAlphaPlane: avifBool,
    pub alphaPremultiplied: avifBool,
    pub icc: avifRWData,
    pub colorPrimaries: avifColorPrimaries,
    pub transferCharacteristics: avifTransferCharacteristics,
    pub matrixCoefficients: avifMatrixCoefficients,
    pub transformFlags: u32,
    pub pasp: avifPixelAspectRatioBox,
    pub clap: avifCleanApertureBox,
    pub irot: avifImageRotation,
    pub imir: avifImageMirror,
    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: avifRangeyuvChromaSamplePosition: avifChromaSamplePositionyuvPlanes: [*mut u8; 3]yuvRowBytes: [u32; 3]imageOwnsYUVPlanes: avifBoolalphaRange: avifRangealphaPlane: *mut u8alphaRowBytes: u32imageOwnsAlphaPlane: avifBoolalphaPremultiplied: avifBoolicc: avifRWDatacolorPrimaries: avifColorPrimariestransferCharacteristics: avifTransferCharacteristicsmatrixCoefficients: avifMatrixCoefficientstransformFlags: u32pasp: avifPixelAspectRatioBoxclap: avifCleanApertureBoxirot: avifImageRotationimir: avifImageMirrorexif: avifRWDataxmp: avifRWData

Trait Implementations

impl Debug for avifImage[src]

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.