#include "jinclude.h"
#include "jpeglib.h"
Go to the source code of this file.
Classes | |
struct | my_comp_master |
Defines | |
#define | JPEG_INTERNALS |
#define | MAX_AH_AL 10 |
Typedefs | |
typedef my_comp_master * | my_master_ptr |
Enumerations | |
enum | c_pass_type |
Functions | |
jpeg_calc_jpeg_dimensions (j_compress_ptr cinfo) | |
jpeg_calc_trans_dimensions (j_compress_ptr cinfo) | |
initial_setup (j_compress_ptr cinfo, boolean transcode_only) | |
validate_script (j_compress_ptr cinfo) | |
reduce_script (j_compress_ptr cinfo) | |
select_scan_parameters (j_compress_ptr cinfo) | |
per_scan_setup (j_compress_ptr cinfo) | |
prepare_for_pass (j_compress_ptr cinfo) | |
pass_startup (j_compress_ptr cinfo) | |
finish_pass_master (j_compress_ptr cinfo) | |
jinit_c_master_control (j_compress_ptr cinfo, boolean transcode_only) |
#define JPEG_INTERNALS |
Definition at line 15 of file jcmaster.c.
#define MAX_AH_AL 10 |
Referenced by validate_script().
typedef my_comp_master* my_master_ptr |
Definition at line 39 of file jcmaster.c.
enum c_pass_type |
Definition at line 22 of file jcmaster.c.
finish_pass_master | ( | j_compress_ptr | cinfo | ) |
Definition at line 747 of file jcmaster.c.
References huff_opt_pass, main_pass, output_pass, my_comp_master::pass_number, my_comp_master::pass_type, and my_comp_master::scan_number.
Referenced by jinit_c_master_control().
initial_setup | ( | j_compress_ptr | cinfo, | |
boolean | transcode_only | |||
) |
Definition at line 219 of file jcmaster.c.
References BITS_IN_JSAMPLE, 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, DCTSIZE, jpeg_component_info::downsampled_height, jpeg_component_info::downsampled_width, ERREXIT, ERREXIT1, ERREXIT2, jpeg_component_info::h_samp_factor, jpeg_component_info::height_in_blocks, jdiv_round_up(), JERR_EMPTY_IMAGE, jpeg_calc_jpeg_dimensions(), jpeg_calc_trans_dimensions(), JPEG_MAX_DIMENSION, long, MAX, MAX_COMPONENTS, MAX_SAMP_FACTOR, TRUE, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.
Referenced by consume_markers(), and jinit_c_master_control().
jinit_c_master_control | ( | j_compress_ptr | cinfo, | |
boolean | transcode_only | |||
) |
Definition at line 787 of file jcmaster.c.
References DCTSIZE, ERREXIT, FALSE, finish_pass_master(), huff_opt_pass, initial_setup(), jpeg_comp_master::is_last_pass, JPOOL_IMAGE, main_pass, NULL, output_pass, my_comp_master::pass_number, pass_startup(), my_comp_master::pass_type, prepare_for_pass(), my_comp_master::pub, reduce_script(), my_comp_master::scan_number, SIZEOF, my_comp_master::total_passes, TRUE, and validate_script().
Referenced by jinit_compress_master(), and transencode_master_selection().
jpeg_calc_jpeg_dimensions | ( | j_compress_ptr | cinfo | ) |
Definition at line 53 of file jcmaster.c.
References DCTSIZE, jdiv_round_up(), and RooFitShortHand::L().
Referenced by initial_setup().
jpeg_calc_trans_dimensions | ( | j_compress_ptr | cinfo | ) |
Definition at line 194 of file jcmaster.c.
References DCTSIZE, DCTSIZE2, ERREXIT2, jpeg_natural_order, jpeg_natural_order2, jpeg_natural_order3, jpeg_natural_order4, jpeg_natural_order5, jpeg_natural_order6, and jpeg_natural_order7.
Referenced by initial_setup().
pass_startup | ( | j_compress_ptr | cinfo | ) |
Definition at line 733 of file jcmaster.c.
References FALSE.
Referenced by jinit_c_master_control().
per_scan_setup | ( | j_compress_ptr | cinfo | ) |
Definition at line 552 of file jcmaster.c.
References C_MAX_BLOCKS_IN_MCU, compptr, jpeg_component_info::DCT_h_scaled_size, ERREXIT, ERREXIT2, jpeg_component_info::h_samp_factor, jpeg_component_info::height_in_blocks, if(), int, jdiv_round_up(), RooFitShortHand::L(), jpeg_component_info::last_col_width, jpeg_component_info::last_row_height, MAX_COMPS_IN_SCAN, jpeg_component_info::MCU_blocks, jpeg_component_info::MCU_height, jpeg_component_info::MCU_sample_width, jpeg_component_info::MCU_width, MIN, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.
Referenced by prepare_for_pass(), and start_input_pass().
prepare_for_pass | ( | j_compress_ptr | cinfo | ) |
Definition at line 645 of file jcmaster.c.
References jpeg_comp_master::call_pass_startup, ERREXIT, FALSE, huff_opt_pass, jpeg_comp_master::is_last_pass, JBUF_CRANK_DEST, JBUF_PASS_THRU, JBUF_SAVE_AND_PASS, main_pass, NULL, output_pass, my_comp_master::pass_number, my_comp_master::pass_type, per_scan_setup(), my_comp_master::pub, my_comp_master::scan_number, select_scan_parameters(), my_comp_master::total_passes, and TRUE.
Referenced by jinit_c_master_control().
reduce_script | ( | j_compress_ptr | cinfo | ) |
Definition at line 473 of file jcmaster.c.
References for(), if(), jpeg_scan_info::Se, and Ss.
Referenced by jinit_c_master_control().
select_scan_parameters | ( | j_compress_ptr | cinfo | ) |
Definition at line 508 of file jcmaster.c.
References for(), NULL, and my_comp_master::scan_number.
Referenced by prepare_for_pass().
validate_script | ( | j_compress_ptr | cinfo | ) |
Definition at line 338 of file jcmaster.c.
References jpeg_scan_info::Ah, Al, jpeg_scan_info::Al, BITS_IN_JSAMPLE, jpeg_scan_info::component_index, jpeg_scan_info::comps_in_scan, DCTSIZE2, define(), ERREXIT, ERREXIT1, ERREXIT2, FALSE, if(), MAX_AH_AL, MAX_COMPONENTS, MAX_COMPS_IN_SCAN, jpeg_scan_info::Se, Ss, jpeg_scan_info::Ss, and TRUE.
Referenced by jinit_c_master_control().