|
Public Member Functions |
| jpeg_decoder (Pjpeg_decoder_stream Pstream, bool use_mmx) |
int | begin (void) |
int | decode (void **Pscan_line_ofs, unsigned int *Pscan_line_len) |
| ~jpeg_decoder () |
int | get_error_code (void) |
int | get_width (void) |
int | get_height (void) |
int | get_num_components (void) |
int | get_bytes_per_pixel (void) |
int | get_bytes_per_scan_line (void) |
int | get_total_bytes_read (void) |
Private Member Functions |
void | free_all_blocks (void) |
void | terminate (int status) |
void * | alloc (int n) |
void | word_clear (void *p, unsigned short c, unsigned int n) |
void | prep_in_buffer (void) |
void | read_dht_marker (void) |
void | read_dqt_marker (void) |
void | read_sof_marker (void) |
void | skip_variable_marker (void) |
void | read_dri_marker (void) |
void | read_sos_marker (void) |
int | next_marker (void) |
int | process_markers (void) |
void | locate_soi_marker (void) |
void | locate_sof_marker (void) |
int | locate_sos_marker (void) |
void | init (Pjpeg_decoder_stream Pstream, bool use_mmx) |
void | create_look_ups (void) |
void | fix_in_buffer (void) |
void | transform_row (void) |
Pcoeff_buf_t | coeff_buf_open (int block_num_x, int block_num_y, int block_len_x, int block_len_y) |
void | coeff_buf_read (Pcoeff_buf_t cb, int block_x, int block_y, BLOCK_TYPE *buffer) |
void | coeff_buf_write (Pcoeff_buf_t cb, int block_x, int block_y, BLOCK_TYPE *buffer) |
BLOCK_TYPE * | coeff_buf_getp (Pcoeff_buf_t cb, int block_x, int block_y) |
void | load_next_row (void) |
void | decode_next_row (void) |
void | make_huff_table (int index, Phuff_tables_t hs) |
void | check_quant_tables (void) |
void | check_huff_tables (void) |
void | calc_mcu_block_order (void) |
int | init_scan (void) |
void | init_frame (void) |
void | process_restart (void) |
void | decode_scan (Pdecode_block_func decode_block_func) |
void | init_progressive (void) |
void | init_sequential (void) |
void | decode_start (void) |
void | decode_init (Pjpeg_decoder_stream Pstream, bool use_mmx) |
void | H2V2Convert (void) |
void | H2V1Convert (void) |
void | H1V2Convert (void) |
void | H1V1Convert (void) |
void | GrayConvert (void) |
void | find_eoi (void) |
unsigned int | jpeg_decoder::rol (unsigned int i, unsigned char j) |
unsigned int | jpeg_decoder::get_char (void) |
unsigned int | jpeg_decoder::get_char (bool *Ppadding_flag) |
void | jpeg_decoder::stuff_char (unsigned char q) |
unsigned char | jpeg_decoder::get_octet (void) |
unsigned int | jpeg_decoder::get_bits_1 (int num_bits) |
unsigned int | jpeg_decoder::get_bits_2 (int numbits) |
int | jpeg_decoder::huff_decode (Phuff_tables_t Ph) |
unsigned char | jpeg_decoder::clamp (int i) |
Private Attributes |
int | image_x_size |
int | image_y_size |
Pjpeg_decoder_stream | Pstream |
int | progressive_flag |
unsigned char * | huff_num [JPGD_MAXHUFFTABLES] |
unsigned char * | huff_val [JPGD_MAXHUFFTABLES] |
QUANT_TYPE * | quant [JPGD_MAXQUANTTABLES] |
int | scan_type |
int | comps_in_frame |
int | comp_h_samp [JPGD_MAXCOMPONENTS] |
int | comp_v_samp [JPGD_MAXCOMPONENTS] |
int | comp_quant [JPGD_MAXCOMPONENTS] |
int | comp_ident [JPGD_MAXCOMPONENTS] |
int | comp_h_blocks [JPGD_MAXCOMPONENTS] |
int | comp_v_blocks [JPGD_MAXCOMPONENTS] |
int | comps_in_scan |
int | comp_list [JPGD_MAXCOMPSINSCAN] |
int | comp_dc_tab [JPGD_MAXCOMPONENTS] |
int | comp_ac_tab [JPGD_MAXCOMPONENTS] |
int | spectral_start |
int | spectral_end |
int | successive_low |
int | successive_high |
int | max_mcu_x_size |
int | max_mcu_y_size |
int | blocks_per_mcu |
int | max_blocks_per_row |
int | mcus_per_row |
int | mcus_per_col |
int | mcu_org [JPGD_MAXBLOCKSPERMCU] |
int | total_lines_left |
int | mcu_lines_left |
int | real_dest_bytes_per_scan_line |
int | dest_bytes_per_scan_line |
int | dest_bytes_per_pixel |
void * | blocks [JPGD_MAXBLOCKS] |
Phuff_tables_t | h [JPGD_MAXHUFFTABLES] |
Pcoeff_buf_t | dc_coeffs [JPGD_MAXCOMPONENTS] |
Pcoeff_buf_t | ac_coeffs [JPGD_MAXCOMPONENTS] |
int | eob_run |
int | block_y_mcu [JPGD_MAXCOMPONENTS] |
unsigned char * | Pin_buf_ofs |
int | in_buf_left |
int | tem_flag |
bool | eof_flag |
unsigned char | padd_1 [128] |
unsigned char | in_buf [JPGD_INBUFSIZE+128] |
unsigned char | padd_2 [128] |
int | bits_left |
unsigned int | saved_mm1 [2] |
bool | use_mmx_getbits |
int | restart_interval |
int | restarts_left |
int | next_restart_num |
int | max_mcus_per_row |
int | max_blocks_per_mcu |
int | max_mcus_per_col |
unsigned int * | component [JPGD_MAXBLOCKSPERMCU] |
unsigned int | last_dc_val [JPGD_MAXCOMPONENTS] |
Phuff_tables_t | dc_huff_seg [JPGD_MAXBLOCKSPERMCU] |
Phuff_tables_t | ac_huff_seg [JPGD_MAXBLOCKSPERMCU] |
BLOCK_TYPE * | block_seg [JPGD_MAXBLOCKSPERROW] |
int | block_max_zag_set [JPGD_MAXBLOCKSPERROW] |
unsigned char * | Psample_buf |
int | crr [256] |
int | cbb [256] |
int | padd |
long | crg [256] |
long | cbg [256] |
unsigned char * | scan_line_0 |
unsigned char * | scan_line_1 |
BLOCK_TYPE | temp_block [64] |
bool | use_mmx |
bool | use_mmx_idct |
bool | mmx_active |
int | error_code |
bool | ready_flag |
jmp_buf | jmp_state |
int | total_bytes_read |