jdcoefct.c File Reference

#include "jinclude.h"
#include "jpeglib.h"

Go to the source code of this file.

Classes

struct  my_coef_controller

Defines

#define JPEG_INTERNALS
#define SAVED_COEFS   6
#define Q01_POS   1
#define Q10_POS   8
#define Q20_POS   16
#define Q11_POS   9
#define Q02_POS   2

Typedefs

typedef my_coef_controllermy_coef_ptr

Functions

 METHODDEF (int)
 start_input_pass (j_decompress_ptr cinfo)
 start_output_pass (j_decompress_ptr cinfo)
 decompress_onepass (j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
 dummy_consume_data (j_decompress_ptr cinfo)
 consume_data (j_decompress_ptr cinfo)
 decompress_data (j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
 smoothing_ok (j_decompress_ptr cinfo)
 decompress_smooth_data (j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
 jinit_d_coef_controller (j_decompress_ptr cinfo, boolean need_full_buffer)


Define Documentation

#define JPEG_INTERNALS

Definition at line 17 of file jdcoefct.c.

#define Q01_POS   1

Definition at line 390 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().

#define Q02_POS   2

Definition at line 394 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().

#define Q10_POS   8

Definition at line 391 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().

#define Q11_POS   9

Definition at line 393 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().

#define Q20_POS   16

Definition at line 392 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().

#define SAVED_COEFS   6

Definition at line 58 of file jdcoefct.c.

Referenced by decompress_smooth_data(), and smoothing_ok().


Typedef Documentation

typedef my_coef_controller* my_coef_ptr

Definition at line 62 of file jdcoefct.c.


Function Documentation

consume_data ( j_decompress_ptr  cinfo  ) 

Definition at line 244 of file jdcoefct.c.

References buffer, jpeg_component_info::component_index, compptr, for(), JPEG_SUSPENDED, MAX_COMPS_IN_SCAN, my_coef_controller::MCU_buffer, my_coef_controller::MCU_ctr, jpeg_component_info::MCU_height, my_coef_controller::MCU_vert_offset, jpeg_component_info::MCU_width, start_col, TRUE, jpeg_component_info::v_samp_factor, and my_coef_controller::whole_image.

Referenced by jinit_d_coef_controller().

decompress_data ( j_decompress_ptr  cinfo,
JSAMPIMAGE  output_buf 
)

Definition at line 315 of file jdcoefct.c.

References buffer, jpeg_component_info::component_needed, compptr, jpeg_component_info::DCT_h_scaled_size, jpeg_component_info::DCT_v_scaled_size, FALSE, jpeg_component_info::height_in_blocks, int, JPEG_ROW_COMPLETED, JPEG_SCAN_COMPLETED, JPEG_SUSPENDED, output_col, jpeg_component_info::v_samp_factor, my_coef_controller::whole_image, and jpeg_component_info::width_in_blocks.

Referenced by jinit_d_coef_controller(), and start_output_pass().

decompress_onepass ( j_decompress_ptr  cinfo,
JSAMPIMAGE  output_buf 
)

Definition at line 147 of file jdcoefct.c.

References jpeg_component_info::component_index, jpeg_component_info::component_needed, compptr, jpeg_component_info::DCT_h_scaled_size, jpeg_component_info::DCT_v_scaled_size, FAR, for(), if(), JPEG_SUSPENDED, jzero_far(), jpeg_component_info::last_col_width, jpeg_component_info::MCU_blocks, my_coef_controller::MCU_buffer, my_coef_controller::MCU_ctr, jpeg_component_info::MCU_height, jpeg_component_info::MCU_sample_width, my_coef_controller::MCU_vert_offset, jpeg_component_info::MCU_width, output_col, size_t, SIZEOF, and start_col.

Referenced by jinit_d_coef_controller().

decompress_smooth_data ( j_decompress_ptr  cinfo,
JSAMPIMAGE  output_buf 
)

Definition at line 461 of file jdcoefct.c.

References Al, buffer, my_coef_controller::coef_bits_latch, jpeg_component_info::component_needed, compptr, jpeg_component_info::DCT_h_scaled_size, jpeg_component_info::DCT_v_scaled_size, FALSE, jpeg_component_info::height_in_blocks, int, jcopy_block_row(), JPEG_ROW_COMPLETED, JPEG_SCAN_COMPLETED, JPEG_SUSPENDED, num, output_col, Q01_POS, Q02_POS, Q10_POS, Q11_POS, Q20_POS, jpeg_component_info::quant_table, JQUANT_TBL::quantval, SAVED_COEFS, TRUE, jpeg_component_info::v_samp_factor, my_coef_controller::whole_image, and jpeg_component_info::width_in_blocks.

Referenced by start_output_pass().

dummy_consume_data ( j_decompress_ptr  cinfo  ) 

Definition at line 228 of file jdcoefct.c.

References JPEG_SUSPENDED.

Referenced by jinit_d_coef_controller().

jinit_d_coef_controller ( j_decompress_ptr  cinfo,
boolean  need_full_buffer 
)

Definition at line 676 of file jdcoefct.c.

References buffer, my_coef_controller::coef_bits_latch, compptr, consume_data(), D_MAX_BLOCKS_IN_MCU, decompress_data(), decompress_onepass(), dummy_consume_data(), ERREXIT, jpeg_component_info::h_samp_factor, jpeg_component_info::height_in_blocks, i, JPOOL_IMAGE, jround_up(), my_coef_controller::MCU_buffer, NULL, my_coef_controller::pub, SIZEOF, start_input_pass(), start_output_pass(), TRUE, jpeg_component_info::v_samp_factor, my_coef_controller::whole_image, and jpeg_component_info::width_in_blocks.

Referenced by master_selection(), and transdecode_master_selection().

METHODDEF ( int   ) 

Definition at line 65 of file jdcoefct.c.

References if(), my_coef_controller::MCU_ctr, my_coef_controller::MCU_rows_per_iMCU_row, and my_coef_controller::MCU_vert_offset.

smoothing_ok ( j_decompress_ptr  cinfo  ) 

Definition at line 405 of file jdcoefct.c.

References my_coef_controller::coef_bits_latch, compptr, FALSE, if(), JPOOL_IMAGE, NULL, Q01_POS, Q02_POS, Q10_POS, Q11_POS, Q20_POS, jpeg_component_info::quant_table, SAVED_COEFS, SIZEOF, and TRUE.

Referenced by start_output_pass().

start_input_pass ( j_decompress_ptr  cinfo  ) 

Definition at line 107 of file jdcoefct.c.

References start_iMCU_row().

Referenced by consume_markers(), jinit_d_coef_controller(), and jinit_input_controller().

start_output_pass ( j_decompress_ptr  cinfo  ) 

Definition at line 119 of file jdcoefct.c.

References decompress_data(), decompress_smooth_data(), if(), NULL, my_coef_controller::pub, and smoothing_ok().

Referenced by jinit_d_coef_controller().


Generated on Tue Jul 5 15:57:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1