Lines Matching defs:jpeg_compress_struct
272 struct jpeg_compress_struct { struct
276 struct jpeg_destination_mgr * dest;
283 JDIMENSION image_width; /* input image width */
284 JDIMENSION image_height; /* input image height */
285 int input_components; /* # of color components in input image */
286 J_COLOR_SPACE in_color_space; /* colorspace of input image */
288 double input_gamma; /* image gamma of input image */
298 int data_precision; /* bits of precision in image data */
300 int num_components; /* # of color components in JPEG image */
301 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
303 jpeg_component_info * comp_info;
306 JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS];
309 JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS];
310 JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS];
313 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
314 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
315 UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
317 int num_scans; /* # of entries in scan_info array */
318 const jpeg_scan_info * scan_info; /* script for multi-scan file, or NULL */
324 boolean raw_data_in; /* TRUE=caller supplies downsampled data */
325 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
326 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
327 boolean CCIR601_sampling; /* TRUE=first samples are cosited */
328 int smoothing_factor; /* 1..100, or 0 for no input smoothing */
329 J_DCT_METHOD dct_method; /* DCT algorithm selector */
336 unsigned int restart_interval; /* MCUs per restart, or 0 for no restart */
337 int restart_in_rows; /* if > 0, MCU rows per restart interval */
341 boolean write_JFIF_header; /* should a JFIF marker be written? */
342 UINT8 JFIF_major_version; /* What to write for the JFIF version number */
343 UINT8 JFIF_minor_version;
348 UINT8 density_unit; /* JFIF code for pixel size units */
349 UINT16 X_density; /* Horizontal pixel density */
350 UINT16 Y_density; /* Vertical pixel density */
351 boolean write_Adobe_marker; /* should an Adobe marker be written? */
358 JDIMENSION next_scanline; /* 0 .. image_height-1 */
367 boolean progressive_mode; /* TRUE if scan script uses progressive mode */
368 int max_h_samp_factor; /* largest h_samp_factor */
369 int max_v_samp_factor; /* largest v_samp_factor */
371 JDIMENSION total_iMCU_rows; /* # of iMCU rows to be input to coef ctlr */
382 int comps_in_scan; /* # of JPEG components in this scan */
383 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
386 JDIMENSION MCUs_per_row; /* # of MCUs across the image */
387 JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
389 int blocks_in_MCU; /* # of DCT blocks per MCU */
390 int MCU_membership[C_MAX_BLOCKS_IN_MCU];
416 jpeg_common_fields; /* Fields shared with jpeg_compress_struct */ argument