25 #define CSTATE_START 100 26 #define CSTATE_SCANNING 101 27 #define CSTATE_RAW_OK 102 28 #define CSTATE_WRCOEFS 103 29 #define DSTATE_START 200 30 #define DSTATE_INHEADER 201 31 #define DSTATE_READY 202 32 #define DSTATE_PRELOAD 203 33 #define DSTATE_PRESCAN 204 34 #define DSTATE_SCANNING 205 35 #define DSTATE_RAW_OK 206 36 #define DSTATE_BUFIMAGE 207 37 #define DSTATE_BUFPOST 208 38 #define DSTATE_RDCOEFS 209 39 #define DSTATE_STOPPING 210 220 typedef JMETHOD(
void, inverse_DCT_method_ptr,
267 #define MAX(a,b) ((a) > (b) ? (a) : (b)) 269 #define MIN(a,b) ((a) < (b) ? (a) : (b)) 282 #ifdef RIGHT_SHIFT_IS_UNSIGNED 283 #define SHIFT_TEMPS INT32 shift_temp; 284 #define RIGHT_SHIFT(x,shft) \ 285 ((shift_temp = (x)) < 0 ? \ 286 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \ 287 (shift_temp >> (shft))) 290 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) 296 #ifdef NEED_SHORT_EXTERNAL_NAMES 297 #define jinit_compress_master jICompress 298 #define jinit_c_master_control jICMaster 299 #define jinit_c_main_controller jICMainC 300 #define jinit_c_prep_controller jICPrepC 301 #define jinit_c_coef_controller jICCoefC 302 #define jinit_color_converter jICColor 303 #define jinit_downsampler jIDownsampler 304 #define jinit_forward_dct jIFDCT 305 #define jinit_huff_encoder jIHEncoder 306 #define jinit_phuff_encoder jIPHEncoder 307 #define jinit_marker_writer jIMWriter 308 #define jinit_master_decompress jIDMaster 309 #define jinit_d_main_controller jIDMainC 310 #define jinit_d_coef_controller jIDCoefC 311 #define jinit_d_post_controller jIDPostC 312 #define jinit_input_controller jIInCtlr 313 #define jinit_marker_reader jIMReader 314 #define jinit_huff_decoder jIHDecoder 315 #define jinit_phuff_decoder jIPHDecoder 316 #define jinit_inverse_dct jIIDCT 317 #define jinit_upsampler jIUpsampler 318 #define jinit_color_deconverter jIDColor 319 #define jinit_1pass_quantizer jI1Quant 320 #define jinit_2pass_quantizer jI2Quant 321 #define jinit_merged_upsampler jIMUpsampler 322 #define jinit_memory_mgr jIMemMgr 323 #define jdiv_round_up jDivRound 324 #define jround_up jRound 325 #define jcopy_sample_rows jCopySamples 326 #define jcopy_block_row jCopyBlocks 327 #define jzero_far jZeroFar 328 #define jpeg_zigzag_order jZIGTable 329 #define jpeg_natural_order jZAGTable 381 extern const int jpeg_zigzag_order[];
387 #ifdef INCOMPLETE_TYPES_BROKEN 388 #ifndef AM_MEMORY_MANAGER 389 struct jvirt_sarray_control {
long dummy; };
390 struct jvirt_barray_control {
long dummy; };
JMETHOD(void, prepare_for_pass,(j_compress_ptr cinfo))
write_file_header(j_compress_ptr cinfo)
start_input_pass(j_decompress_ptr cinfo)
jinit_d_main_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
write_scan_header(j_compress_ptr cinfo)
GLboolean GLboolean GLboolean GLboolean a
unsigned int discarded_bytes
jinit_c_main_controller(j_compress_ptr cinfo, boolean need_full_buffer)
jpeg_component_info JCOEFPTR coef_block
const int jpeg_natural_order[]
compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
forward_DCT(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks)
jvirt_barray_ptr * coef_arrays
jinit_d_post_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
int const JOCTET unsigned int datalen
jinit_upsampler(j_decompress_ptr cinfo)
start_pass(j_decompress_ptr cinfo)
jinit_color_deconverter(j_decompress_ptr cinfo)
GLboolean GLboolean GLboolean b
write_file_trailer(j_compress_ptr cinfo)
boolean call_pass_startup
jinit_forward_dct(j_compress_ptr cinfo)
jpeg_component_info * compptr
write_marker_byte(j_compress_ptr cinfo, int val)
jround_up(long a, long b)
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
int JSAMPARRAY int dest_row
color_quantize(j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
finish_output_pass(j_decompress_ptr cinfo)
write_marker_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
jinit_color_converter(j_compress_ptr cinfo)
JBLOCKROW JDIMENSION num_blocks
int JSAMPARRAY int int num_rows
jinit_downsampler(j_compress_ptr cinfo)
jinit_merged_upsampler(j_decompress_ptr cinfo)
start_output_pass(j_decompress_ptr cinfo)
jinit_memory_mgr(j_common_ptr cinfo)
decode_mcu(j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
jdiv_round_up(long a, long b)
jinit_phuff_encoder(j_compress_ptr cinfo)
int JSAMPARRAY int int JDIMENSION num_cols
jzero_far(void FAR *target, size_t bytestozero)
jinit_phuff_decoder(j_decompress_ptr cinfo)
jinit_master_decompress(j_decompress_ptr cinfo)
decompress_data(j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
jinit_huff_encoder(j_compress_ptr cinfo)
jinit_1pass_quantizer(j_decompress_ptr cinfo)
pass_startup(j_compress_ptr cinfo)
pre_process_data(j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail, JSAMPIMAGE output_buf, JDIMENSION *out_row_group_ctr, JDIMENSION out_row_groups_avail)
write_tables_only(j_compress_ptr cinfo)
struct jvirt_barray_control * jvirt_barray_ptr
reset_marker_reader(j_decompress_ptr cinfo)
write_frame_header(j_compress_ptr cinfo)
jinit_marker_writer(j_compress_ptr cinfo)
boolean need_context_rows
read_markers(j_decompress_ptr cinfo)
jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only)
jinit_marker_reader(j_decompress_ptr cinfo)
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
jinit_inverse_dct(j_decompress_ptr cinfo)
jinit_compress_master(j_compress_ptr cinfo)
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo))
boolean insufficient_data
prepare_for_output_pass(j_decompress_ptr cinfo)
consume_data(j_decompress_ptr cinfo)
jpeg_marker_parser_method read_restart_marker
jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
int JSAMPARRAY output_array
jinit_c_coef_controller(j_compress_ptr cinfo, boolean need_full_buffer)
jinit_2pass_quantizer(j_decompress_ptr cinfo)
prepare_for_pass(j_compress_ptr cinfo)
jinit_c_prep_controller(j_compress_ptr cinfo, boolean need_full_buffer)
boolean need_context_rows
jinit_huff_decoder(j_decompress_ptr cinfo)