[][src]Struct libjpegturbo_sys::jpeg_compress_struct

#[repr(C)]pub struct jpeg_compress_struct {
    pub err: *mut jpeg_error_mgr,
    pub mem: *mut jpeg_memory_mgr,
    pub progress: *mut jpeg_progress_mgr,
    pub client_data: *mut c_void,
    pub is_decompressor: boolean,
    pub global_state: c_int,
    pub dest: *mut jpeg_destination_mgr,
    pub image_width: JDIMENSION,
    pub image_height: JDIMENSION,
    pub input_components: c_int,
    pub in_color_space: J_COLOR_SPACE,
    pub input_gamma: f64,
    pub data_precision: c_int,
    pub num_components: c_int,
    pub jpeg_color_space: J_COLOR_SPACE,
    pub comp_info: *mut jpeg_component_info,
    pub quant_tbl_ptrs: [*mut JQUANT_TBL; 4],
    pub dc_huff_tbl_ptrs: [*mut JHUFF_TBL; 4],
    pub ac_huff_tbl_ptrs: [*mut JHUFF_TBL; 4],
    pub arith_dc_L: [UINT8; 16],
    pub arith_dc_U: [UINT8; 16],
    pub arith_ac_K: [UINT8; 16],
    pub num_scans: c_int,
    pub scan_info: *const jpeg_scan_info,
    pub raw_data_in: boolean,
    pub arith_code: boolean,
    pub optimize_coding: boolean,
    pub CCIR601_sampling: boolean,
    pub smoothing_factor: c_int,
    pub dct_method: J_DCT_METHOD,
    pub restart_interval: c_uint,
    pub restart_in_rows: c_int,
    pub write_JFIF_header: boolean,
    pub JFIF_major_version: UINT8,
    pub JFIF_minor_version: UINT8,
    pub density_unit: UINT8,
    pub X_density: UINT16,
    pub Y_density: UINT16,
    pub write_Adobe_marker: boolean,
    pub next_scanline: JDIMENSION,
    pub progressive_mode: boolean,
    pub max_h_samp_factor: c_int,
    pub max_v_samp_factor: c_int,
    pub total_iMCU_rows: JDIMENSION,
    pub comps_in_scan: c_int,
    pub cur_comp_info: [*mut jpeg_component_info; 4],
    pub MCUs_per_row: JDIMENSION,
    pub MCU_rows_in_scan: JDIMENSION,
    pub blocks_in_MCU: c_int,
    pub MCU_membership: [c_int; 10],
    pub Ss: c_int,
    pub Se: c_int,
    pub Ah: c_int,
    pub Al: c_int,
    pub master: *mut jpeg_comp_master,
    pub main: *mut jpeg_c_main_controller,
    pub prep: *mut jpeg_c_prep_controller,
    pub coef: *mut jpeg_c_coef_controller,
    pub marker: *mut jpeg_marker_writer,
    pub cconvert: *mut jpeg_color_converter,
    pub downsample: *mut jpeg_downsampler,
    pub fdct: *mut jpeg_forward_dct,
    pub entropy: *mut jpeg_entropy_encoder,
    pub script_space: *mut jpeg_scan_info,
    pub script_space_size: c_int,
}

Fields

err: *mut jpeg_error_mgrmem: *mut jpeg_memory_mgrprogress: *mut jpeg_progress_mgrclient_data: *mut c_voidis_decompressor: booleanglobal_state: c_intdest: *mut jpeg_destination_mgrimage_width: JDIMENSIONimage_height: JDIMENSIONinput_components: c_intin_color_space: J_COLOR_SPACEinput_gamma: f64data_precision: c_intnum_components: c_intjpeg_color_space: J_COLOR_SPACEcomp_info: *mut jpeg_component_infoquant_tbl_ptrs: [*mut JQUANT_TBL; 4]dc_huff_tbl_ptrs: [*mut JHUFF_TBL; 4]ac_huff_tbl_ptrs: [*mut JHUFF_TBL; 4]arith_dc_L: [UINT8; 16]arith_dc_U: [UINT8; 16]arith_ac_K: [UINT8; 16]num_scans: c_intscan_info: *const jpeg_scan_inforaw_data_in: booleanarith_code: booleanoptimize_coding: booleanCCIR601_sampling: booleansmoothing_factor: c_intdct_method: J_DCT_METHODrestart_interval: c_uintrestart_in_rows: c_intwrite_JFIF_header: booleanJFIF_major_version: UINT8JFIF_minor_version: UINT8density_unit: UINT8X_density: UINT16Y_density: UINT16write_Adobe_marker: booleannext_scanline: JDIMENSIONprogressive_mode: booleanmax_h_samp_factor: c_intmax_v_samp_factor: c_inttotal_iMCU_rows: JDIMENSIONcomps_in_scan: c_intcur_comp_info: [*mut jpeg_component_info; 4]MCUs_per_row: JDIMENSIONMCU_rows_in_scan: JDIMENSIONblocks_in_MCU: c_intMCU_membership: [c_int; 10]Ss: c_intSe: c_intAh: c_intAl: c_intmaster: *mut jpeg_comp_mastermain: *mut jpeg_c_main_controllerprep: *mut jpeg_c_prep_controllercoef: *mut jpeg_c_coef_controllermarker: *mut jpeg_marker_writercconvert: *mut jpeg_color_converterdownsample: *mut jpeg_downsamplerfdct: *mut jpeg_forward_dctentropy: *mut jpeg_entropy_encoderscript_space: *mut jpeg_scan_infoscript_space_size: c_int

Trait Implementations

impl Clone for jpeg_compress_struct[src]

impl Copy for jpeg_compress_struct[src]

impl Debug for jpeg_compress_struct[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.