jctrans.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

Typedefs

typedef my_coef_controllermy_coef_ptr

Functions

 LOCAL (void)
 jpeg_copy_critical_parameters (j_decompress_ptr srcinfo, j_compress_ptr dstinfo)
 transencode_master_selection (j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays)
 start_iMCU_row (j_compress_ptr cinfo)
 start_pass_coef (j_compress_ptr cinfo, J_BUF_MODE pass_mode)
 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 transencode_coef_controller (j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays)


Define Documentation

#define JPEG_INTERNALS

Definition at line 14 of file jctrans.c.


Typedef Documentation

typedef my_coef_controller* my_coef_ptr

Definition at line 217 of file jctrans.c.


Function Documentation

compress_output ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)

Definition at line 272 of file jctrans.c.

References buffer, C_MAX_BLOCKS_IN_MCU, jpeg_component_info::component_index, compptr, my_coef_controller::dummy_buffer, FALSE, for(), my_coef_controller::iMCU_row_num, jpeg_component_info::last_col_width, MAX_COMPS_IN_SCAN, 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.

jpeg_copy_critical_parameters ( j_decompress_ptr  srcinfo,
j_compress_ptr  dstinfo 
)

Definition at line 64 of file jctrans.c.

References CSTATE_START, ERREXIT1, FALSE, if(), jpeg_alloc_quant_table(), jpeg_set_colorspace(), jpeg_set_defaults(), MEMCOPY, NULL, NUM_QUANT_TBLS, SIZEOF, and tblno.

LOCAL ( void   ) 

Definition at line 20 of file jctrans.c.

References CSTATE_START, CSTATE_WRCOEFS, ERREXIT1, FALSE, jpeg_suppress_tables(), and transencode_master_selection().

start_iMCU_row ( j_compress_ptr  cinfo  ) 

Definition at line 221 of file jctrans.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.

Referenced by start_input_pass(), and start_pass_coef().

start_pass_coef ( j_compress_ptr  cinfo,
J_BUF_MODE  pass_mode 
)

Definition at line 249 of file jctrans.c.

References ERREXIT, if(), my_coef_controller::iMCU_row_num, JBUF_CRANK_DEST, and start_iMCU_row().

transencode_coef_controller ( j_compress_ptr  cinfo,
jvirt_barray_ptr coef_arrays 
)

Definition at line 357 of file jctrans.c.

References buffer, C_MAX_BLOCKS_IN_MCU, compress_output(), my_coef_controller::dummy_buffer, FAR, i, JPOOL_IMAGE, jzero_far(), my_coef_controller::pub, SIZEOF, start_pass_coef(), and my_coef_controller::whole_image.

Referenced by transencode_master_selection().

transencode_master_selection ( j_compress_ptr  cinfo,
jvirt_barray_ptr coef_arrays 
)

Definition at line 163 of file jctrans.c.

References jinit_arith_encoder(), jinit_c_master_control(), jinit_huff_encoder(), jinit_marker_writer(), transencode_coef_controller(), and TRUE.

Referenced by LOCAL().


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