Developer World
Spresense SDK Library v3.2.0-ebc0364
jpeg_decompress_struct Struct Reference

#include <jpeglib.h>

Collaboration diagram for jpeg_decompress_struct:

Public Attributes

 jpeg_common_fields
 
struct jpeg_source_mgrsrc
 
JDIMENSION image_width
 
JDIMENSION image_height
 
int num_components
 
J_COLOR_SPACE jpeg_color_space
 
J_COLOR_SPACE out_color_space
 
unsigned int scale_num
 
unsigned int scale_denom
 
double output_gamma
 
boolean buffered_image
 
boolean raw_data_out
 
J_DCT_METHOD dct_method
 
boolean do_fancy_upsampling
 
boolean do_block_smoothing
 
boolean quantize_colors
 
J_DITHER_MODE dither_mode
 
boolean two_pass_quantize
 
int desired_number_of_colors
 
boolean enable_1pass_quant
 
boolean enable_external_quant
 
boolean enable_2pass_quant
 
JDIMENSION output_width
 
JDIMENSION output_height
 
int out_color_components
 
int output_components
 
int rec_outbuf_height
 
int actual_number_of_colors
 
JSAMPARRAY colormap
 
JDIMENSION output_scanline
 
JDIMENSION output_offset
 
int input_scan_number
 
JDIMENSION input_iMCU_row
 
int output_scan_number
 
JDIMENSION output_iMCU_row
 
int(* coef_bits )[DCTSIZE2]
 
JQUANT_TBLquant_tbl_ptrs [NUM_QUANT_TBLS]
 
JHUFF_TBLdc_huff_tbl_ptrs [NUM_HUFF_TBLS]
 
JHUFF_TBLac_huff_tbl_ptrs [NUM_HUFF_TBLS]
 
int data_precision
 
jpeg_component_infocomp_info
 
boolean is_baseline
 
boolean progressive_mode
 
boolean arith_code
 
UINT8 arith_dc_L [NUM_ARITH_TBLS]
 
UINT8 arith_dc_U [NUM_ARITH_TBLS]
 
UINT8 arith_ac_K [NUM_ARITH_TBLS]
 
unsigned int restart_interval
 
boolean saw_JFIF_marker
 
UINT8 JFIF_major_version
 
UINT8 JFIF_minor_version
 
UINT8 density_unit
 
UINT16 X_density
 
UINT16 Y_density
 
boolean saw_Adobe_marker
 
UINT8 Adobe_transform
 
J_COLOR_TRANSFORM color_transform
 
boolean CCIR601_sampling
 
jpeg_saved_marker_ptr marker_list
 
int max_h_samp_factor
 
int max_v_samp_factor
 
int min_DCT_h_scaled_size
 
int min_DCT_v_scaled_size
 
JDIMENSION total_iMCU_rows
 
JSAMPLE * sample_range_limit
 
int comps_in_scan
 
jpeg_component_infocur_comp_info [MAX_COMPS_IN_SCAN]
 
JDIMENSION MCUs_per_row
 
JDIMENSION MCU_rows_in_scan
 
int blocks_in_MCU
 
int MCU_membership [D_MAX_BLOCKS_IN_MCU]
 
int Ss
 
int Se
 
int Ah
 
int Al
 
int block_size
 
const int * natural_order
 
int lim_Se
 
int unread_marker
 
struct jpeg_decomp_mastermaster
 
struct jpeg_d_main_controllermain
 
struct jpeg_d_coef_controllercoef
 
struct jpeg_d_post_controllerpost
 
struct jpeg_input_controllerinputctl
 
struct jpeg_marker_readermarker
 
struct jpeg_entropy_decoderentropy
 
struct jpeg_inverse_dctidct
 
struct jpeg_upsamplerupsample
 
struct jpeg_color_deconvertercconvert
 
struct jpeg_color_quantizercquantize
 

Detailed Description

Master record for a decompression instance

Member Data Documentation

◆ jpeg_common_fields

jpeg_common_fields

Fields shared with jpeg_compress_struct

◆ src

struct jpeg_source_mgr* src

Source of compressed data

◆ image_width

JDIMENSION image_width

nominal image width (from SOF marker)

◆ image_height

JDIMENSION image_height

nominal image height

◆ num_components

int num_components

# of color components in JPEG image

◆ jpeg_color_space

J_COLOR_SPACE jpeg_color_space

colorspace of JPEG image

◆ out_color_space

J_COLOR_SPACE out_color_space

colorspace for output

◆ scale_num

unsigned int scale_num

numerator of fraction by which to scale image

◆ scale_denom

unsigned int scale_denom

denominator of fraction by which to scale image

◆ output_gamma

double output_gamma

image gamma wanted in output

◆ buffered_image

boolean buffered_image

TRUE=multiple output passes

◆ raw_data_out

boolean raw_data_out

TRUE=downsampled data wanted

◆ dct_method

J_DCT_METHOD dct_method

IDCT algorithm selector

◆ do_fancy_upsampling

boolean do_fancy_upsampling

TRUE=apply fancy upsampling

◆ do_block_smoothing

boolean do_block_smoothing

TRUE=apply interblock smoothing

◆ quantize_colors

boolean quantize_colors

TRUE=colormapped output wanted

◆ dither_mode

J_DITHER_MODE dither_mode

type of color dithering to use

◆ two_pass_quantize

boolean two_pass_quantize

TRUE=use two-pass color quantization

◆ desired_number_of_colors

int desired_number_of_colors

max # colors to use in created colormap

◆ enable_1pass_quant

boolean enable_1pass_quant

enable future use of 1-pass quantizer

◆ enable_external_quant

boolean enable_external_quant

enable future use of external colormap

◆ enable_2pass_quant

boolean enable_2pass_quant

enable future use of 2-pass quantizer

◆ output_width

JDIMENSION output_width

scaled image width

◆ output_height

JDIMENSION output_height

scaled image height

◆ out_color_components

int out_color_components

# of color components in out_color_space

◆ output_components

int output_components

# of color components returned

◆ rec_outbuf_height

int rec_outbuf_height

min recommended height of scanline buffer

◆ actual_number_of_colors

int actual_number_of_colors

number of entries in use

◆ colormap

JSAMPARRAY colormap

The color map as a 2-D pixel array

◆ output_scanline

JDIMENSION output_scanline

0 .. output_height-1

◆ output_offset

JDIMENSION output_offset

0 .. output_width*output_height

◆ input_scan_number

int input_scan_number

Number of SOS markers seen so far

◆ input_iMCU_row

JDIMENSION input_iMCU_row

Number of iMCU rows completed

◆ output_scan_number

int output_scan_number

Nominal scan number being displayed

◆ output_iMCU_row

JDIMENSION output_iMCU_row

Number of iMCU rows read

◆ coef_bits

int(* coef_bits)[DCTSIZE2]

-1 or current Al value for each coef

◆ quant_tbl_ptrs

JQUANT_TBL* quant_tbl_ptrs[NUM_QUANT_TBLS]

ptrs to coefficient quantization tables, or NULL if not defined

◆ dc_huff_tbl_ptrs

JHUFF_TBL* dc_huff_tbl_ptrs[NUM_HUFF_TBLS]

ptrs to Huffman coding tables for DC component, or NULL if not defined

◆ ac_huff_tbl_ptrs

JHUFF_TBL* ac_huff_tbl_ptrs[NUM_HUFF_TBLS]

ptrs to Huffman coding tables for AC component, or NULL if not defined

◆ data_precision

int data_precision

bits of precision in image data comp_info[i] describes component that appears i'th in SOF

◆ is_baseline

boolean is_baseline

TRUE if Baseline SOF0 encountered

◆ progressive_mode

boolean progressive_mode

TRUE if SOFn specifies progressive mode

◆ arith_code

boolean arith_code

TRUE=arithmetic coding, FALSE=Huffman

◆ arith_dc_L

UINT8 arith_dc_L[NUM_ARITH_TBLS]

L values for DC arith-coding tables

◆ arith_dc_U

UINT8 arith_dc_U[NUM_ARITH_TBLS]

U values for DC arith-coding tables

◆ arith_ac_K

UINT8 arith_ac_K[NUM_ARITH_TBLS]

Kx values for AC arith-coding tables

◆ restart_interval

unsigned int restart_interval

MCUs per restart interval, or 0 for no restart

◆ saw_JFIF_marker

boolean saw_JFIF_marker

TRUE iff a JFIF APP0 marker was found

◆ JFIF_major_version

UINT8 JFIF_major_version

JFIF version number(major)

◆ JFIF_minor_version

UINT8 JFIF_minor_version

JFIF version number(minor)

◆ density_unit

UINT8 density_unit

JFIF code for pixel size units

◆ X_density

UINT16 X_density

Horizontal pixel density

◆ Y_density

UINT16 Y_density

Vertical pixel density

◆ saw_Adobe_marker

boolean saw_Adobe_marker

TRUE iff an Adobe APP14 marker was found

◆ Adobe_transform

UINT8 Adobe_transform

Color transform code from Adobe marker

◆ color_transform

J_COLOR_TRANSFORM color_transform

Color transform identifier derived from LSE marker, otherwise zero

◆ CCIR601_sampling

boolean CCIR601_sampling

TRUE=first samples are cosited

◆ marker_list

jpeg_saved_marker_ptr marker_list

Head of list of saved markers

◆ max_h_samp_factor

int max_h_samp_factor

largest h_samp_factor

◆ max_v_samp_factor

int max_v_samp_factor

largest v_samp_factor

◆ min_DCT_h_scaled_size

int min_DCT_h_scaled_size

smallest DCT_h_scaled_size of any component

◆ min_DCT_v_scaled_size

int min_DCT_v_scaled_size

smallest DCT_v_scaled_size of any component

◆ total_iMCU_rows

JDIMENSION total_iMCU_rows

# of iMCU rows in image

◆ sample_range_limit

JSAMPLE* sample_range_limit

table for fast range-limiting

◆ comps_in_scan

int comps_in_scan

# of JPEG components in this scan

◆ cur_comp_info

jpeg_component_info* cur_comp_info[MAX_COMPS_IN_SCAN]

*cur_comp_info[i] describes component that appears i'th in SOS

◆ MCUs_per_row

JDIMENSION MCUs_per_row

# of MCUs across the image

◆ MCU_rows_in_scan

JDIMENSION MCU_rows_in_scan

# of MCU rows in the image

◆ blocks_in_MCU

int blocks_in_MCU

# of DCT blocks per MCU

◆ MCU_membership

int MCU_membership[D_MAX_BLOCKS_IN_MCU]

MCU_membership[i] is index in cur_comp_info of component owning i'th block in an MCU

◆ Al

int Al

progressive JPEG parameters for scan

◆ block_size

int block_size

the basic DCT block size: 1..16

◆ natural_order

const int* natural_order

natural-order position array for entropy decode

◆ lim_Se

int lim_Se

min( Se, DCTSIZE2-1 ) for entropy decode

◆ unread_marker

int unread_marker

This field is shared between entropy decoder and marker parser. It is either zero or the code of a JPEG marker that has been read from the data source, but has not yet been processed.


The documentation for this struct was generated from the following file: