Struct mozjpeg_sys::jpeg_decompress_struct [−][src]
Fields
common: jpeg_common_struct
src: *mut jpeg_source_mgr
image_width: JDIMENSION
Basic description of image — filled in by jpeg_read_header()
image_height: JDIMENSION
num_components: c_int
jpeg_color_space: J_COLOR_SPACE
out_color_space: J_COLOR_SPACE
Decompression processing parameters — these fields must be set before calling jpeg_start_decompress(). Note that jpeg_read_header() initializes them to default values.
scale_num: c_uint
scale_denom: c_uint
output_gamma: f64
image gamma wanted in output
buffered_image: boolean
raw_data_out: boolean
TRUE=downsampled data wanted
dct_method: J_DCT_METHOD
do_fancy_upsampling: boolean
do_block_smoothing: boolean
quantize_colors: boolean
dither_mode: J_DITHER_MODE
two_pass_quantize: boolean
desired_number_of_colors: c_int
enable_1pass_quant: boolean
enable_external_quant: boolean
enable_2pass_quant: boolean
output_width: JDIMENSION
Description of actual output image that will be returned to application. These fields are computed by jpeg_start_decompress(). You can also use jpeg_calc_output_dimensions() to determine these values in advance of calling jpeg_start_decompress().
output_height: JDIMENSION
out_color_components: c_int
output_components: c_int
rec_outbuf_height: c_int
min recommended height of scanline buffer If the buffer passed to jpeg_read_scanlines() is less than this many rows high, space and time will be wasted due to unnecessary data copying. Usually rec_outbuf_height will be 1 or 2, at most 4.
actual_number_of_colors: c_int
colormap: JSAMPARRAY_MUT
output_scanline: JDIMENSION
Row index of next scanline to be read from jpeg_read_scanlines(). Application may use this to control its processing loop, e.g., “while (output_scanline < output_height)”.
input_scan_number: c_int
Current input scan number and number of iMCU rows completed in scan. These indicate the progress of the decompressor input side.
input_iMCU_row: JDIMENSION
output_scan_number: c_int
output_iMCU_row: JDIMENSION
coef_bits: *mut c_void
Current progression status. coef_bits[c][i] indicates the precision with which component c’s DCT coefficient i (in zigzag order) is known. It is -1 when no data has yet been received, otherwise it is the point transform (shift) value for the most recent scan of the coefficient (thus, 0 at completion of the progression). This pointer is NULL when reading a non-progressive file.
quant_tbl_ptrs: [*mut JQUANT_TBL; 4]
Internal JPEG parameters — the application usually need not look at these fields. Note that the decompressor output side may not use any parameters that can change between scans.
comp_info: *mut jpeg_component_info
marker_list: *mut jpeg_marker_struct
max_h_samp_factor: c_int
These fields are computed during decompression startup
max_v_samp_factor: c_int
Auto Trait Implementations
impl RefUnwindSafe for jpeg_decompress_struct
impl !Send for jpeg_decompress_struct
impl !Sync for jpeg_decompress_struct
impl Unpin for jpeg_decompress_struct
impl UnwindSafe for jpeg_decompress_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,
pub 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.
pub 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>,