[][src]Struct mozjpeg::CompInfo

#[repr(C)]
pub struct CompInfo { pub component_id: i32, pub component_index: i32, pub h_samp_factor: i32, pub v_samp_factor: i32, pub quant_tbl_no: i32, pub dc_tbl_no: i32, pub ac_tbl_no: i32, pub width_in_blocks: u32, pub height_in_blocks: u32, pub quant_table: *mut JQUANT_TBL, // some fields omitted }

Fields

component_id: i32

identifier for this component (0..255)

component_index: i32

its index in SOF or cinfo->comp_info[]

h_samp_factor: i32

horizontal sampling factor (1..4)

v_samp_factor: i32

vertical sampling factor (1..4)

quant_tbl_no: i32

quantization table selector (0..3)

dc_tbl_no: i32

DC entropy table selector (0..3)

These values may vary between scans. For compression, they must be supplied by parameter setup; for decompression, they are read from the SOS marker. The decompressor output side may not use these variables.

ac_tbl_no: i32

AC entropy table selector (0..3)

width_in_blocks: u32height_in_blocks: u32quant_table: *mut JQUANT_TBL

Trait Implementations

impl Default for jpeg_component_info
[src]

impl CompInfoExt for CompInfo
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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