Lines Matching defs:jpeg_decompress_struct

478 struct jpeg_decompress_struct {  struct
482 struct jpeg_source_mgr *src;
487 JDIMENSION image_width; /* nominal image width (from SOF marker) */
488 JDIMENSION image_height; /* nominal image height */
489 int num_components; /* # of color components in JPEG image */
490 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */
497 J_COLOR_SPACE out_color_space; /* colorspace for output */
499 unsigned int scale_num, scale_denom; /* fraction by which to scale image */
501 double output_gamma; /* image gamma wanted in output */
503 boolean buffered_image; /* TRUE=multiple output passes */
504 boolean raw_data_out; /* TRUE=downsampled data wanted */
506 J_DCT_METHOD dct_method; /* IDCT algorithm selector */
507 boolean do_fancy_upsampling; /* TRUE=apply fancy upsampling */
508 boolean do_block_smoothing; /* TRUE=apply interblock smoothing */
510 boolean quantize_colors; /* TRUE=colormapped output wanted */
512 J_DITHER_MODE dither_mode; /* type of color dithering to use */
513 boolean two_pass_quantize; /* TRUE=use two-pass color quantization */
514 int desired_number_of_colors; /* max # colors to use in created colormap */
516 boolean enable_1pass_quant; /* enable future use of 1-pass quantizer */
517 boolean enable_external_quant;/* enable future use of external colormap */
518 boolean enable_2pass_quant; /* enable future use of 2-pass quantizer */
526 JDIMENSION output_width; /* scaled image width */
527 JDIMENSION output_height; /* scaled image height */
528 int out_color_components; /* # of color components in out_color_space */
529 int output_components; /* # of color components returned */
533 int rec_outbuf_height; /* min recommended height of scanline buffer */
545 int actual_number_of_colors; /* number of entries in use */
546 JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
556 JDIMENSION output_scanline; /* 0 .. output_height-1 */
561 int input_scan_number; /* Number of SOS markers seen so far */
562 JDIMENSION input_iMCU_row; /* Number of iMCU rows completed */
568 int output_scan_number; /* Nominal scan number being displayed */
569 JDIMENSION output_iMCU_row; /* Number of iMCU rows read */
578 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
589 JQUANT_TBL *quant_tbl_ptrs[NUM_QUANT_TBLS];
592 JHUFF_TBL *dc_huff_tbl_ptrs[NUM_HUFF_TBLS];
593 JHUFF_TBL *ac_huff_tbl_ptrs[NUM_HUFF_TBLS];
600 int data_precision; /* bits of precision in image data */
602 jpeg_component_info *comp_info;
606 boolean is_baseline; /* TRUE if Baseline SOF0 encountered */
608 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */
609 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */
611 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */
612 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */
613 UINT8 arith_ac_K[NUM_ARITH_TBLS]; /* Kx values for AC arith-coding tables */
615 unsigned int restart_interval; /* MCUs per restart interval, or 0 for no restart */
620 boolean saw_JFIF_marker; /* TRUE iff a JFIF APP0 marker was found */
622 UINT8 JFIF_major_version; /* JFIF version number */
623 UINT8 JFIF_minor_version;
624 UINT8 density_unit; /* JFIF code for pixel size units */
625 UINT16 X_density; /* Horizontal pixel density */
626 UINT16 Y_density; /* Vertical pixel density */
627 boolean saw_Adobe_marker; /* TRUE iff an Adobe APP14 marker was found */
628 UINT8 Adobe_transform; /* Color transform code from Adobe marker */
630 boolean CCIR601_sampling; /* TRUE=first samples are cosited */
636 jpeg_saved_marker_ptr marker_list; /* Head of list of saved markers */
645 int max_h_samp_factor; /* largest h_samp_factor */
646 int max_v_samp_factor; /* largest v_samp_factor */
649 int min_DCT_h_scaled_size; /* smallest DCT_h_scaled_size of any component */
650 int min_DCT_v_scaled_size; /* smallest DCT_v_scaled_size of any component */
652 int min_DCT_scaled_size; /* smallest DCT_scaled_size of any component */
655 JDIMENSION total_iMCU_rows; /* # of iMCU rows in image */
664 JSAMPLE *sample_range_limit; /* table for fast range-limiting */
671 int comps_in_scan; /* # of JPEG components in this scan */
672 jpeg_component_info *cur_comp_info[MAX_COMPS_IN_SCAN];
675 JDIMENSION MCUs_per_row; /* # of MCUs across the image */
676 JDIMENSION MCU_rows_in_scan; /* # of MCU rows in the image */
678 int blocks_in_MCU; /* # of DCT blocks per MCU */
679 int MCU_membership[D_MAX_BLOCKS_IN_MCU];
683 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */
688 int block_size; /* the basic DCT block size: 1..16 */
689 const int *natural_order; /* natural-order position array for entropy decode */
690 int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */
697 int unread_marker;
702 struct jpeg_decomp_master *master;
703 struct jpeg_d_main_controller *main;
704 struct jpeg_d_coef_controller *coef;
705 struct jpeg_d_post_controller *post;
706 struct jpeg_input_controller *inputctl;
707 struct jpeg_marker_reader *marker;
708 struct jpeg_entropy_decoder *entropy;
709 struct jpeg_inverse_dct *idct;
710 struct jpeg_upsampler *upsample;
711 struct jpeg_color_deconverter *cconvert;
712 struct jpeg_color_quantizer *cquantize;