[−][src]Struct mozjpeg::CompInfo
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: u32
height_in_blocks: u32
quant_table: *mut JQUANT_TBL
Trait Implementations
impl CompInfoExt for CompInfo
[src]
fn qtable(&self) -> Option<QTable>
[src]
fn sampling(&self) -> (u8, u8)
[src]
fn row_stride(&self) -> usize
[src]
fn col_stride(&self) -> usize
[src]
impl Default for jpeg_component_info
[src]
fn default() -> jpeg_component_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for jpeg_component_info
impl !Send for jpeg_component_info
impl !Sync for jpeg_component_info
impl Unpin for jpeg_component_info
impl UnwindSafe for jpeg_component_info
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,