537 int data_precision; /* bits of precision in image data */ |
537 int data_precision; /* bits of precision in image data */ |
538 |
538 |
539 jpeg_component_info * comp_info; |
539 jpeg_component_info * comp_info; |
540 /* comp_info[i] describes component that appears i'th in SOF */ |
540 /* comp_info[i] describes component that appears i'th in SOF */ |
541 |
541 |
542 boolean is_baseline; /* TRUE if Baseline SOF0 encountered */ |
|
543 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */ |
542 boolean progressive_mode; /* TRUE if SOFn specifies progressive mode */ |
544 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */ |
543 boolean arith_code; /* TRUE=arithmetic coding, FALSE=Huffman */ |
545 |
544 |
546 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */ |
545 UINT8 arith_dc_L[NUM_ARITH_TBLS]; /* L values for DC arith-coding tables */ |
547 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */ |
546 UINT8 arith_dc_U[NUM_ARITH_TBLS]; /* U values for DC arith-coding tables */ |
609 int MCU_membership[D_MAX_BLOCKS_IN_MCU]; |
608 int MCU_membership[D_MAX_BLOCKS_IN_MCU]; |
610 /* MCU_membership[i] is index in cur_comp_info of component owning */ |
609 /* MCU_membership[i] is index in cur_comp_info of component owning */ |
611 /* i'th block in an MCU */ |
610 /* i'th block in an MCU */ |
612 |
611 |
613 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */ |
612 int Ss, Se, Ah, Al; /* progressive JPEG parameters for scan */ |
614 |
|
615 int lim_Se; /* min( Se, DCTSIZE2-1 ) for entropy decode */ |
|
616 |
613 |
617 /* This field is shared between entropy decoder and marker parser. |
614 /* This field is shared between entropy decoder and marker parser. |
618 * It is either zero or the code of a JPEG marker that has been |
615 * It is either zero or the code of a JPEG marker that has been |
619 * read from the data source, but has not yet been processed. |
616 * read from the data source, but has not yet been processed. |
620 */ |
617 */ |