22 #define CSTATE_START 100 23 #define CSTATE_SCANNING 101 24 #define CSTATE_RAW_OK 102 25 #define CSTATE_WRCOEFS 103 26 #define DSTATE_START 200 27 #define DSTATE_INHEADER 201 28 #define DSTATE_READY 202 29 #define DSTATE_PRELOAD 203 30 #define DSTATE_PRESCAN 204 31 #define DSTATE_SCANNING 205 32 #define DSTATE_RAW_OK 206 33 #define DSTATE_BUFIMAGE 207 34 #define DSTATE_BUFPOST 208 35 #define DSTATE_RDCOEFS 209 36 #define DSTATE_STOPPING 210 191 void, post_process_data,
232 void, inverse_DCT_method_ptr,
280 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 282 #define MIN(a, b) ((a) < (b) ? (a) : (b)) 294 #ifdef RIGHT_SHIFT_IS_UNSIGNED 295 #define SHIFT_TEMPS INT32 shift_temp; 296 #define RIGHT_SHIFT(x, shft) \ 297 ((shift_temp = (x)) < 0 \ 298 ? (shift_temp >> (shft)) | ((~((INT32)0)) << (32 - (shft))) \ 299 : (shift_temp >> (shft))) 302 #define RIGHT_SHIFT(x, shft) ((x) >> (shft)) 307 #ifdef NEED_SHORT_EXTERNAL_NAMES 308 #define jinit_compress_master jICompress 309 #define jinit_c_master_control jICMaster 310 #define jinit_c_main_controller jICMainC 311 #define jinit_c_prep_controller jICPrepC 312 #define jinit_c_coef_controller jICCoefC 313 #define jinit_color_converter jICColor 314 #define jinit_downsampler jIDownsampler 315 #define jinit_forward_dct jIFDCT 316 #define jinit_huff_encoder jIHEncoder 317 #define jinit_phuff_encoder jIPHEncoder 318 #define jinit_marker_writer jIMWriter 319 #define jinit_master_decompress jIDMaster 320 #define jinit_d_main_controller jIDMainC 321 #define jinit_d_coef_controller jIDCoefC 322 #define jinit_d_post_controller jIDPostC 323 #define jinit_input_controller jIInCtlr 324 #define jinit_marker_reader jIMReader 325 #define jinit_huff_decoder jIHDecoder 326 #define jinit_phuff_decoder jIPHDecoder 327 #define jinit_inverse_dct jIIDCT 328 #define jinit_upsampler jIUpsampler 329 #define jinit_color_deconverter jIDColor 330 #define jinit_1pass_quantizer jI1Quant 331 #define jinit_2pass_quantizer jI2Quant 332 #define jinit_merged_upsampler jIMUpsampler 333 #define jinit_memory_mgr jIMemMgr 334 #define jdiv_round_up jDivRound 335 #define jround_up jRound 336 #define jcopy_sample_rows jCopySamples 337 #define jcopy_block_row jCopyBlocks 338 #define jzero_far jZeroFar 339 #define jpeg_zigzag_order jZIGTable 340 #define jpeg_natural_order jZAGTable 386 int dest_row,
int num_rows,
JDIMENSION num_cols));
393 extern const int jpeg_zigzag_order[];
399 #ifdef INCOMPLETE_TYPES_BROKEN 400 #ifndef AM_MEMORY_MANAGER
jinit_marker_reader(j_decompress_ptr cinfo)
jinit_downsampler(j_compress_ptr cinfo)
JMETHOD(void, prepare_for_pass,(j_compress_ptr cinfo))
jzero_far(void FAR *target, size_t bytestozero)
jdiv_round_up(long a, long b)
consume_data(j_decompress_ptr cinfo)
jinit_d_post_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
jinit_merged_upsampler(j_decompress_ptr cinfo)
unsigned int discarded_bytes
compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
jinit_1pass_quantizer(j_decompress_ptr cinfo)
jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
jinit_inverse_dct(j_decompress_ptr cinfo)
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]
JMETHOD(void, write_file_header,(j_compress_ptr cinfo))
const int jpeg_natural_order[]
prepare_for_pass(j_compress_ptr cinfo)
jround_up(long a, long b)
pass_startup(j_compress_ptr cinfo)
JMETHOD(void, prepare_for_output_pass,(j_decompress_ptr cinfo))
jvirt_barray_ptr * coef_arrays
write_scan_header(j_compress_ptr cinfo)
read_markers(j_decompress_ptr cinfo)
write_file_header(j_compress_ptr cinfo)
boolean call_pass_startup
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
jinit_phuff_encoder(j_compress_ptr cinfo)
jinit_d_coef_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
write_marker_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
jinit_compress_master(j_compress_ptr cinfo)
jinit_2pass_quantizer(j_decompress_ptr cinfo)
jinit_c_master_control JPP((j_compress_ptr cinfo, boolean transcode_only))
jinit_huff_encoder(j_compress_ptr cinfo)
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jinit_color_deconverter(j_decompress_ptr cinfo)
jinit_memory_mgr(j_common_ptr cinfo)
JMETHOD(void, start_pass,(j_compress_ptr cinfo, J_BUF_MODE pass_mode))
jinit_huff_decoder(j_decompress_ptr cinfo)
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, J_BUF_MODE pass_mode))
JMETHOD(void, reset_marker_reader,(j_decompress_ptr cinfo))
write_tables_only(j_compress_ptr cinfo)
write_frame_header(j_compress_ptr cinfo)
jinit_d_main_controller(j_decompress_ptr cinfo, boolean need_full_buffer)
reset_marker_reader(j_decompress_ptr cinfo)
JMETHOD(void, start_pass,(j_compress_ptr cinfo, boolean gather_statistics))
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
jinit_c_prep_controller(j_compress_ptr cinfo, boolean need_full_buffer)
JMETHOD(void, start_pass,(j_decompress_ptr cinfo, boolean is_pre_scan))
jinit_phuff_decoder(j_decompress_ptr cinfo)
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))
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)
start_output_pass(j_decompress_ptr cinfo)
JMETHOD(void, start_pass,(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)
jinit_c_main_controller(j_compress_ptr cinfo, boolean need_full_buffer)
typedef JMETHOD(void, inverse_DCT_method_ptr,(j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col))
jinit_forward_dct(j_compress_ptr cinfo)
jinit_color_converter(j_compress_ptr cinfo)
start_input_pass(j_decompress_ptr cinfo)
write_file_trailer(j_compress_ptr cinfo)
finish_output_pass(j_decompress_ptr cinfo)
start_pass(j_decompress_ptr cinfo)
decode_mcu(j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
JMETHOD(void, start_input_pass,(j_decompress_ptr cinfo))
boolean need_context_rows
write_marker_byte(j_compress_ptr cinfo, int val)
jinit_c_coef_controller(j_compress_ptr cinfo, boolean need_full_buffer)
jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only)
color_quantize(j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
prepare_for_output_pass(j_decompress_ptr cinfo)
JMETHOD(void, start_pass,(j_compress_ptr cinfo))
decompress_data(j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo))
boolean insufficient_data
jinit_upsampler(j_decompress_ptr cinfo)
jpeg_component_info JCOEFPTR coef_block
jinit_marker_writer(j_compress_ptr cinfo)
GLubyte GLubyte GLubyte a
jpeg_marker_parser_method read_restart_marker
jinit_master_decompress(j_decompress_ptr cinfo)
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
boolean need_context_rows
jpeg_component_info * compptr
JMETHOD(void, start_pass,(j_decompress_ptr cinfo))