• Home
  • Raw
  • Download

Lines Matching defs:jpeg_decompress_struct

471 struct jpeg_decompress_struct {  struct
475 struct jpeg_source_mgr * src;
480 JDIMENSION image_width; /* nominal image width (from SOF marker) */
481 JDIMENSION image_height; /* nominal image height */
482 int num_components; /* # of color components in JPEG image */
483 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
490 J_COLOR_SPACE out_color_space; /* colorspace for output */
492 unsigned int scale_num, scale_denom; /* fraction by which to scale image */
494 double output_gamma; /* image gamma wanted in output */
496 boolean buffered_image; /* TRUE=multiple output passes */
497 boolean raw_data_out; /* TRUE=downsampled data wanted */
499 J_DCT_METHOD dct_method; /* IDCT algorithm selector */
500 boolean do_fancy_upsampling; /* TRUE=apply fancy upsampling */
501 boolean do_block_smoothing; /* TRUE=apply interblock smoothing */
503 boolean quantize_colors; /* TRUE=colormapped output wanted */
505 J_DITHER_MODE dither_mode; /* type of color dithering to use */
506 boolean two_pass_quantize; /* TRUE=use two-pass color quantization */
507 int desired_number_of_colors; /* max # colors to use in created colormap */
509 boolean enable_1pass_quant; /* enable future use of 1-pass quantizer */
510 boolean enable_external_quant;/* enable future use of external colormap */
511 boolean enable_2pass_quant; /* enable future use of 2-pass quantizer */
519 JDIMENSION output_width; /* scaled image width */
520 JDIMENSION output_height; /* scaled image height */
521 int out_color_components; /* # of color components in out_color_space */
522 int output_components; /* # of color components returned */
526 int rec_outbuf_height; /* min recommended height of scanline buffer */
538 int actual_number_of_colors; /* number of entries in use */
539 JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
549 JDIMENSION output_scanline; /* 0 .. output_height-1 */
554 int input_scan_number; /* Number of SOS markers seen so far */
555 JDIMENSION input_iMCU_row; /* Number of iMCU rows completed */
561 int output_scan_number; /* Nominal scan number being displayed */
562 JDIMENSION output_iMCU_row; /* Number of iMCU rows read */
571 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
582 JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS];
585 JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS];
586 JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS];
593 int data_precision; /* bits of precision in image data */
595 jpeg_component_info * comp_info;
599 boolean is_baseline; /* TRUE if Baseline SOF0 encountered */
601 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */
602 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
604 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
605 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
606 UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
608 unsigned int restart_interval; /* MCUs per restart interval, or 0 for no restart */
613 boolean saw_JFIF_marker; /* TRUE iff a JFIF APP0 marker was found */
615 UINT8 JFIF_major_version; /* JFIF version number */
616 UINT8 JFIF_minor_version;
617 UINT8 density_unit; /* JFIF code for pixel size units */
618 UINT16 X_density; /* Horizontal pixel density */
619 UINT16 Y_density; /* Vertical pixel density */
620 boolean saw_Adobe_marker; /* TRUE iff an Adobe APP14 marker was found */
621 UINT8 Adobe_transform; /* Color transform code from Adobe marker */
623 boolean CCIR601_sampling; /* TRUE=first samples are cosited */
629 jpeg_saved_marker_ptr marker_list; /* Head of list of saved markers */
638 int max_h_samp_factor; /* largest h_samp_factor */
639 int max_v_samp_factor; /* largest v_samp_factor */
642 int min_DCT_h_scaled_size; /* smallest DCT_h_scaled_size of any component */
643 int min_DCT_v_scaled_size; /* smallest DCT_v_scaled_size of any component */
645 int min_DCT_scaled_size; /* smallest DCT_scaled_size of any component */
648 JDIMENSION total_iMCU_rows; /* # of iMCU rows in image */
657 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
664 int comps_in_scan; /* # of JPEG components in this scan */
665 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
668 JDIMENSION MCUs_per_row; /* # of MCUs across the image */
669 JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
671 int blocks_in_MCU; /* # of DCT blocks per MCU */
672 int MCU_membership[D_MAX_BLOCKS_IN_MCU];
676 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
681 int block_size; /* the basic DCT block size: 1..16 */
682 const int * natural_order; /* natural-order position array for entropy decode */
683 int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */
690 int unread_marker;
695 struct jpeg_decomp_master * master;
696 struct jpeg_d_main_controller * main;
697 struct jpeg_d_coef_controller * coef;
698 struct jpeg_d_post_controller * post;
699 struct jpeg_input_controller * inputctl;
700 struct jpeg_marker_reader * marker;
701 struct jpeg_entropy_decoder * entropy;
702 struct jpeg_inverse_dct * idct;
703 struct jpeg_upsampler * upsample;
704 struct jpeg_color_deconverter * cconvert;
705 struct jpeg_color_quantizer * cquantize;