• Home
  • Raw
  • Download

Lines Matching defs:jpeg_decompress_struct

415 struct jpeg_decompress_struct {  struct
419 struct jpeg_source_mgr * src;
424 JDIMENSION original_image_width; /* nominal image width (from SOF marker) */
426 JDIMENSION image_width; /* nominal image width (from SOF marker)
428 JDIMENSION image_height; /* nominal image height */
429 int num_components; /* # of color components in JPEG image */
430 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
437 J_COLOR_SPACE out_color_space; /* colorspace for output */
439 unsigned int scale_num, scale_denom; /* fraction by which to scale image */
441 double output_gamma; /* image gamma wanted in output */
443 boolean buffered_image; /* TRUE=multiple output passes */
444 boolean raw_data_out; /* TRUE=downsampled data wanted */
446 J_DCT_METHOD dct_method; /* IDCT algorithm selector */
447 boolean do_fancy_upsampling; /* TRUE=apply fancy upsampling */
448 boolean do_block_smoothing; /* TRUE=apply interblock smoothing */
450 boolean quantize_colors; /* TRUE=colormapped output wanted */
452 J_DITHER_MODE dither_mode; /* type of color dithering to use */
453 boolean two_pass_quantize; /* TRUE=use two-pass color quantization */
454 int desired_number_of_colors; /* max # colors to use in created colormap */
456 boolean enable_1pass_quant; /* enable future use of 1-pass quantizer */
457 boolean enable_external_quant;/* enable future use of external colormap */
458 boolean enable_2pass_quant; /* enable future use of 2-pass quantizer */
466 JDIMENSION output_width; /* scaled image width */
467 JDIMENSION output_height; /* scaled image height */
468 int out_color_components; /* # of color components in out_color_space */
469 int output_components; /* # of color components returned */
473 int rec_outbuf_height; /* min recommended height of scanline buffer */
485 int actual_number_of_colors; /* number of entries in use */
486 JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
496 JDIMENSION output_scanline; /* 0 .. output_height-1 */
501 int input_scan_number; /* Number of SOS markers seen so far */
502 JDIMENSION input_iMCU_row; /* Number of iMCU rows completed */
508 int output_scan_number; /* Nominal scan number being displayed */
509 JDIMENSION output_iMCU_row; /* Number of iMCU rows read */
518 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
529 JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS];
532 JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS];
533 JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS];
540 int data_precision; /* bits of precision in image data */
542 jpeg_component_info * comp_info;
545 boolean tile_decode; /* TRUE if using tile based decoding */
546 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */
547 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
549 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
550 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
551 UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
553 unsigned int restart_interval; /* MCUs per restart interval, or 0 for no restart */
558 boolean saw_JFIF_marker; /* TRUE iff a JFIF APP0 marker was found */
560 UINT8 JFIF_major_version; /* JFIF version number */
561 UINT8 JFIF_minor_version;
562 UINT8 density_unit; /* JFIF code for pixel size units */
563 UINT16 X_density; /* Horizontal pixel density */
564 UINT16 Y_density; /* Vertical pixel density */
565 boolean saw_Adobe_marker; /* TRUE iff an Adobe APP14 marker was found */
566 UINT8 Adobe_transform; /* Color transform code from Adobe marker */
568 boolean CCIR601_sampling; /* TRUE=first samples are cosited */
574 jpeg_saved_marker_ptr marker_list; /* Head of list of saved markers */
583 int max_h_samp_factor; /* largest h_samp_factor */
584 int max_v_samp_factor; /* largest v_samp_factor */
586 int min_DCT_scaled_size; /* smallest DCT_scaled_size of any component */
588 JDIMENSION total_iMCU_rows; /* # of iMCU rows in image */
597 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
604 int comps_in_scan; /* # of JPEG components in this scan */
605 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
608 JDIMENSION MCUs_per_row; /* # of MCUs across the image */
609 JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
611 int blocks_in_MCU; /* # of DCT blocks per MCU */
612 int MCU_membership[D_MAX_BLOCKS_IN_MCU];
616 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
622 int unread_marker;
627 struct jpeg_decomp_master * master;
628 struct jpeg_d_main_controller * main;
629 struct jpeg_d_coef_controller * coef;
630 struct jpeg_d_post_controller * post;
631 struct jpeg_input_controller * inputctl;
632 struct jpeg_marker_reader * marker;
633 struct jpeg_entropy_decoder * entropy;
634 struct jpeg_inverse_dct * idct;
635 struct jpeg_upsampler * upsample;
636 struct jpeg_color_deconverter * cconvert;
637 struct jpeg_color_quantizer * cquantize;