[−][src]Struct mozjpeg_sys::jpeg_compress_struct
Fields
common: jpeg_common_struct
dest: *mut jpeg_destination_mgr
image_width: JDIMENSION
Description of source image --- these fields must be filled in by outer application before starting compression.
image_height: JDIMENSION
input_components: c_int
in_color_space: J_COLOR_SPACE
in_color_space
must be correct before you can even call jpeg_set_defaults()
.
input_gamma: f64
image gamma of input image
data_precision: c_int
bits of precision in image data
num_components: c_int
jpeg_color_space: J_COLOR_SPACE
comp_info: *mut jpeg_component_info
comp_info[i]
describes component that appears i'th in SOF
quant_tbl_ptrs: [*mut JQUANT_TBL; 4]
dc_huff_tbl_ptrs: [*mut JHUFF_TBL; 4]
ptrs to coefficient quantization tables, or NULL if not defined, and corresponding scale factors (percentage, initialized 100).
ac_huff_tbl_ptrs: [*mut JHUFF_TBL; 4]
arith_dc_L: [u8; 16]
arith_dc_U: [u8; 16]
arith_ac_K: [u8; 16]
num_scans: c_int
scan_info: *const jpeg_scan_info
raw_data_in: boolean
TRUE=caller supplies downsampled data
arith_code: boolean
optimize_coding: boolean
TRUE=optimize entropy encoding parms
CCIR601_sampling: boolean
smoothing_factor: c_int
dct_method: J_DCT_METHOD
restart_interval: c_uint
MCUs per restart, or 0 for no restart
restart_in_rows: c_int
write_JFIF_header: boolean
JFIF_major_version: u8
JFIF_minor_version: u8
density_unit: u8
X_density: u16
Y_density: u16
write_Adobe_marker: boolean
next_scanline: JDIMENSION
max_h_samp_factor: c_int
max_v_samp_factor: c_int
Auto Trait Implementations
impl RefUnwindSafe for jpeg_compress_struct
impl !Send for jpeg_compress_struct
impl !Sync for jpeg_compress_struct
impl Unpin for jpeg_compress_struct
impl UnwindSafe for jpeg_compress_struct
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>,