Lines Matching defs:jpeg_decompress_struct
513 struct jpeg_decompress_struct { struct
517 struct jpeg_source_mgr * src;
522 JDIMENSION image_width; /* nominal image width (from SOF marker) */
523 JDIMENSION image_height; /* nominal image height */
524 int num_components; /* # of color components in JPEG image */
525 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
532 J_COLOR_SPACE out_color_space; /* colorspace for output */
534 unsigned int scale_num, scale_denom; /* fraction by which to scale image */
536 double output_gamma; /* image gamma wanted in output */
538 boolean buffered_image; /* TRUE=multiple output passes */
539 boolean raw_data_out; /* TRUE=downsampled data wanted */
541 J_DCT_METHOD dct_method; /* IDCT algorithm selector */
542 boolean do_fancy_upsampling; /* TRUE=apply fancy upsampling */
543 boolean do_block_smoothing; /* TRUE=apply interblock smoothing */
545 boolean quantize_colors; /* TRUE=colormapped output wanted */
547 J_DITHER_MODE dither_mode; /* type of color dithering to use */
548 boolean two_pass_quantize; /* TRUE=use two-pass color quantization */
549 int desired_number_of_colors; /* max # colors to use in created colormap */
551 boolean enable_1pass_quant; /* enable future use of 1-pass quantizer */
552 boolean enable_external_quant;/* enable future use of external colormap */
553 boolean enable_2pass_quant; /* enable future use of 2-pass quantizer */
561 JDIMENSION output_width; /* scaled image width */
562 JDIMENSION output_height; /* scaled image height */
563 int out_color_components; /* # of color components in out_color_space */
564 int output_components; /* # of color components returned */
568 int rec_outbuf_height; /* min recommended height of scanline buffer */
580 int actual_number_of_colors; /* number of entries in use */
581 JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
591 JDIMENSION output_scanline; /* 0 .. output_height-1 */
596 int input_scan_number; /* Number of SOS markers seen so far */
597 JDIMENSION input_iMCU_row; /* Number of iMCU rows completed */
603 int output_scan_number; /* Nominal scan number being displayed */
604 JDIMENSION output_iMCU_row; /* Number of iMCU rows read */
613 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
624 JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS];
627 JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS];
628 JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS];
635 int data_precision; /* bits of precision in image data */
637 jpeg_component_info * comp_info;
640 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */
641 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
643 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
644 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
645 UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
647 unsigned int restart_interval; /* MCUs per restart interval, or 0 for no restart */
652 boolean saw_JFIF_marker; /* TRUE iff a JFIF APP0 marker was found */
654 UINT8 JFIF_major_version; /* JFIF version number */
655 UINT8 JFIF_minor_version;
656 UINT8 density_unit; /* JFIF code for pixel size units */
657 UINT16 X_density; /* Horizontal pixel density */
658 UINT16 Y_density; /* Vertical pixel density */
659 boolean saw_Adobe_marker; /* TRUE iff an Adobe APP14 marker was found */
660 UINT8 Adobe_transform; /* Color transform code from Adobe marker */
662 boolean CCIR601_sampling; /* TRUE=first samples are cosited */
668 jpeg_saved_marker_ptr marker_list; /* Head of list of saved markers */
677 int max_h_samp_factor; /* largest h_samp_factor */
678 int max_v_samp_factor; /* largest v_samp_factor */
680 int min_DCT_scaled_size; /* smallest DCT_scaled_size of any component */
682 JDIMENSION total_iMCU_rows; /* # of iMCU rows in image */
691 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
698 int comps_in_scan; /* # of JPEG components in this scan */
699 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
702 JDIMENSION MCUs_per_row; /* # of MCUs across the image */
703 JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
705 int blocks_in_MCU; /* # of DCT blocks per MCU */
706 int MCU_membership[D_MAX_BLOCKS_IN_MCU];
710 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
716 int unread_marker;
721 struct jpeg_decomp_master * master;
722 struct jpeg_d_main_controller * main;
723 struct jpeg_d_coef_controller * coef;
724 struct jpeg_d_post_controller * post;
725 struct jpeg_input_controller * inputctl;
726 struct jpeg_marker_reader * marker;
727 struct jpeg_entropy_decoder * entropy;
728 struct jpeg_inverse_dct * idct;
729 struct jpeg_upsampler * upsample;
730 struct jpeg_color_deconverter * cconvert;
731 struct jpeg_color_quantizer * cquantize;