[][src]Struct libavif_sys::avifEncoder

#[repr(C)]pub struct avifEncoder {
    pub codecChoice: avifCodecChoice,
    pub maxThreads: c_int,
    pub minQuantizer: c_int,
    pub maxQuantizer: c_int,
    pub minQuantizerAlpha: c_int,
    pub maxQuantizerAlpha: c_int,
    pub tileRowsLog2: c_int,
    pub tileColsLog2: c_int,
    pub speed: c_int,
    pub ioStats: avifIOStats,
    pub data: *mut avifEncoderData,
}

Fields

codecChoice: avifCodecChoicemaxThreads: c_int

multithreading is disabled if <2)

minQuantizer: c_int

quality

maxQuantizer: c_int

quality

minQuantizerAlpha: c_intmaxQuantizerAlpha: c_inttileRowsLog2: c_int

range 0-6. Turn off tiling with 0

tileColsLog2: c_int

range 0-6. Turn off tiling with 0

speed: c_int

0-10: 10 should produce a better quality image

ioStats: avifIOStats

stats from the most recent write

data: *mut avifEncoderData

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.