Struct libavif_sys::avifEncoder[][src]

#[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 keyframeInterval: c_int,
    pub timescale: u64,
    pub ioStats: avifIOStats,
    pub data: *mut avifEncoderData,
    pub csOptions: *mut avifCodecSpecificOptions,
}

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

keyframeInterval: c_int

How many frames between automatic forced keyframes; 0 to disable (default).

timescale: u64

timescale of the media (Hz)

ioStats: avifIOStats

stats from the most recent write

data: *mut avifEncoderDatacsOptions: *mut avifCodecSpecificOptions

Trait Implementations

impl Debug for avifEncoder[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.