jccoefct.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 FULL_COEF_BUFFER_SUPPORTED

Typedefs

typedef my_coef_controllermy_coef_ptr

Functions

 METHODDEF (boolean)
 start_pass_coef (j_compress_ptr cinfo, J_BUF_MODE pass_mode)
 compress_data (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 compress_first_pass (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 jinit_c_coef_controller (j_compress_ptr cinfo, boolean need_full_buffer)


Define Documentation

#define FULL_COEF_BUFFER_SUPPORTED

Definition at line 24 of file jccoefct.c.

#define JPEG_INTERNALS

Definition at line 13 of file jccoefct.c.


Typedef Documentation

typedef my_coef_controller* my_coef_ptr

Definition at line 57 of file jccoefct.c.


Function Documentation

compress_data ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)

Definition at line 143 of file jccoefct.c.

References jpeg_component_info::component_index, compptr, jpeg_component_info::DCT_v_scaled_size, FALSE, FAR, for(), forward_DCT(), if(), my_coef_controller::iMCU_row_num, jzero_far(), jpeg_component_info::last_col_width, 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, MCU_width, and SIZEOF.

Referenced by start_pass_coef().

compress_first_pass ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)

Definition at line 248 of file jccoefct.c.

References buffer, compptr, FAR, for(), forward_DCT(), jpeg_component_info::h_samp_factor, jpeg_component_info::height_in_blocks, my_coef_controller::iMCU_row_num, int, jzero_far(), size_t, SIZEOF, TRUE, jpeg_component_info::v_samp_factor, my_coef_controller::whole_image, and jpeg_component_info::width_in_blocks.

Referenced by start_pass_coef().

compress_output ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)

Definition at line 345 of file jccoefct.c.

References buffer, jpeg_component_info::component_index, compptr, FALSE, for(), my_coef_controller::iMCU_row_num, 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, jpeg_component_info::v_samp_factor, and my_coef_controller::whole_image.

Referenced by start_pass_coef(), and transencode_coef_controller().

jinit_c_coef_controller ( j_compress_ptr  cinfo,
boolean  need_full_buffer 
)

Definition at line 409 of file jccoefct.c.

References buffer, C_MAX_BLOCKS_IN_MCU, compptr, ERREXIT, FALSE, 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_pass_coef(), jpeg_component_info::v_samp_factor, my_coef_controller::whole_image, and jpeg_component_info::width_in_blocks.

Referenced by jinit_compress_master().

METHODDEF ( boolean   ) 

Definition at line 61 of file jccoefct.c.

References if(), my_coef_controller::iMCU_row_num, my_coef_controller::mcu_ctr, my_coef_controller::MCU_rows_per_iMCU_row, and my_coef_controller::MCU_vert_offset.

start_pass_coef ( j_compress_ptr  cinfo,
J_BUF_MODE  pass_mode 
)

Definition at line 100 of file jccoefct.c.

References compress_data(), compress_first_pass(), compress_output(), ERREXIT, my_coef_controller::iMCU_row_num, JBUF_CRANK_DEST, JBUF_PASS_THRU, JBUF_SAVE_AND_PASS, NULL, my_coef_controller::pub, start_iMCU_row(), and my_coef_controller::whole_image.

Referenced by jinit_c_coef_controller(), and transencode_coef_controller().


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