jdmainct.c File Reference

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

Go to the source code of this file.

Classes

struct  my_main_controller

Defines

#define JPEG_INTERNALS
#define CTX_PREPARE_FOR_IMCU   0
#define CTX_PROCESS_IMCU   1
#define CTX_POSTPONED_ROW   2

Typedefs

typedef my_main_controllermy_main_ptr

Functions

 METHODDEF (void)
 make_funny_pointers (j_decompress_ptr cinfo)
 set_wraparound_pointers (j_decompress_ptr cinfo)
 set_bottom_pointers (j_decompress_ptr cinfo)
 start_pass_main (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)
 process_data_simple_main (j_decompress_ptr cinfo, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 process_data_context_main (j_decompress_ptr cinfo, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 process_data_crank_post (j_decompress_ptr cinfo, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 jinit_d_main_controller (j_decompress_ptr cinfo, boolean need_full_buffer)


Define Documentation

#define CTX_POSTPONED_ROW   2

Definition at line 139 of file jdmainct.c.

Referenced by process_data_context_main().

#define CTX_PREPARE_FOR_IMCU   0

Definition at line 137 of file jdmainct.c.

Referenced by process_data_context_main(), and start_pass_main().

#define CTX_PROCESS_IMCU   1

Definition at line 138 of file jdmainct.c.

Referenced by process_data_context_main().

#define JPEG_INTERNALS

Definition at line 16 of file jdmainct.c.


Typedef Documentation

typedef my_main_controller* my_main_ptr

Definition at line 134 of file jdmainct.c.


Function Documentation

jinit_d_main_controller ( j_decompress_ptr  cinfo,
boolean  need_full_buffer 
)

Definition at line 476 of file jdmainct.c.

References my_main_controller::buffer, compptr, jpeg_component_info::DCT_h_scaled_size, jpeg_component_info::DCT_v_scaled_size, ERREXIT, JPOOL_IMAGE, my_main_controller::pub, SIZEOF, start_pass_main(), jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by master_selection().

make_funny_pointers ( j_decompress_ptr  cinfo  ) 

Definition at line 195 of file jdmainct.c.

References buf, my_main_controller::buffer, compptr, jpeg_component_info::DCT_v_scaled_size, for(), i, jpeg_component_info::v_samp_factor, and my_main_controller::xbuffer.

Referenced by start_pass_main().

METHODDEF ( void   ) 

Definition at line 143 of file jdmainct.c.

References compptr, jpeg_component_info::DCT_v_scaled_size, JPOOL_IMAGE, SIZEOF, jpeg_component_info::v_samp_factor, and my_main_controller::xbuffer.

process_data_context_main ( j_decompress_ptr  cinfo,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

Definition at line 385 of file jdmainct.c.

References my_main_controller::buffer_full, my_main_controller::context_state, CTX_POSTPONED_ROW, CTX_PREPARE_FOR_IMCU, CTX_PROCESS_IMCU, FALSE, if(), my_main_controller::iMCU_row_ctr, my_main_controller::rowgroup_ctr, my_main_controller::rowgroups_avail, set_bottom_pointers(), set_wraparound_pointers(), TRUE, my_main_controller::whichptr, and my_main_controller::xbuffer.

Referenced by start_pass_main().

process_data_crank_post ( j_decompress_ptr  cinfo,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

Definition at line 459 of file jdmainct.c.

References NULL.

Referenced by start_pass_main().

process_data_simple_main ( j_decompress_ptr  cinfo,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

Definition at line 345 of file jdmainct.c.

References my_main_controller::buffer, my_main_controller::buffer_full, FALSE, if(), my_main_controller::rowgroup_ctr, and TRUE.

set_bottom_pointers ( j_decompress_ptr  cinfo  ) 

Definition at line 266 of file jdmainct.c.

References compptr, jpeg_component_info::DCT_v_scaled_size, jpeg_component_info::downsampled_height, for(), i, int, my_main_controller::rowgroups_avail, jpeg_component_info::v_samp_factor, my_main_controller::whichptr, and my_main_controller::xbuffer.

Referenced by process_data_context_main().

set_wraparound_pointers ( j_decompress_ptr  cinfo  ) 

Definition at line 238 of file jdmainct.c.

References compptr, jpeg_component_info::DCT_v_scaled_size, for(), i, jpeg_component_info::v_samp_factor, and my_main_controller::xbuffer.

Referenced by process_data_context_main().

start_pass_main ( j_decompress_ptr  cinfo,
J_BUF_MODE  pass_mode 
)

Definition at line 307 of file jdmainct.c.

References my_main_controller::buffer_full, my_main_controller::context_state, CTX_PREPARE_FOR_IMCU, ERREXIT, FALSE, my_main_controller::iMCU_row_ctr, JBUF_CRANK_DEST, JBUF_PASS_THRU, make_funny_pointers(), process_data_context_main(), process_data_crank_post(), process_data_simple_main(), my_main_controller::pub, my_main_controller::rowgroup_ctr, and my_main_controller::whichptr.

Referenced by jinit_c_main_controller(), and jinit_d_main_controller().


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