#include "jmorecfg.h"
#include "jconfig.h"
#include "jpegint.h"
#include "jerror.h"
Go to the source code of this file.
#define C_MAX_BLOCKS_IN_MCU 10 |
Definition at line 55 of file jpeglib.h.
Referenced by compress_output(), jinit_c_coef_controller(), per_scan_setup(), and transencode_coef_controller().
#define D_MAX_BLOCKS_IN_MCU 10 |
Definition at line 57 of file jpeglib.h.
Referenced by jinit_d_coef_controller(), and per_scan_setup().
#define DCTSIZE 8 |
Definition at line 41 of file jpeglib.h.
Referenced by compress_data(), compress_first_pass(), create_context_buffer(), do_flip_h(), do_flip_v(), do_rot_180(), do_rot_270(), do_rot_90(), do_transpose(), do_transverse(), forward_DCT(), fullsize_downsample(), fullsize_smooth_downsample(), h2v1_downsample(), h2v2_downsample(), h2v2_smooth_downsample(), initial_setup(), int_downsample(), jinit_c_main_controller(), jinit_c_prep_controller(), jpeg_calc_output_dimensions(), jpeg_fdct_ifast(), jpeg_fdct_islow(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_ifast(), jpeg_idct_islow(), jpeg_write_raw_data(), METHODDEF(), per_scan_setup(), pre_process_data(), process_data_simple_main(), start_pass(), start_pass_fdctmgr(), transpose_critical_parameters(), trim_bottom_edge(), and trim_right_edge().
#define DCTSIZE2 64 |
Definition at line 42 of file jpeglib.h.
Referenced by decode_mcu(), decode_mcu_AC_refine(), do_flip_h(), do_rot_180(), emit_dqt(), encode_one_block(), forward_DCT(), get_dqt(), htest_one_block(), jcopy_block_row(), jinit_phuff_decoder(), jpeg_add_quant_table(), jpeg_copy_critical_parameters(), jpeg_idct_ifast(), jpeg_idct_islow(), jpeg_set_linear_quality(), METHODDEF(), read_quant_tables(), select_scan_parameters(), start_pass(), start_pass_fdctmgr(), and start_pass_huff_decoder().
#define JDCT_DEFAULT JDCT_ISLOW |
Definition at line 225 of file jpeglib.h.
Referenced by default_decompress_parms(), jpeg_set_defaults(), and usage().
#define JDCT_FASTEST JDCT_IFAST |
#define JMSG_LENGTH_MAX 200 |
#define JPEG_APP0 0xE0 |
Definition at line 1048 of file jpeglib.h.
Referenced by jcopy_markers_execute(), jcopy_markers_setup(), main(), and print_text_marker().
#define JPEG_COM 0xFE |
Definition at line 1049 of file jpeglib.h.
Referenced by jcopy_markers_setup(), main(), and print_text_marker().
#define jpeg_common_fields |
Value:
struct jpeg_error_mgr * err; /* Error handler module */\ struct jpeg_memory_mgr * mem; /* Memory manager module */\ struct jpeg_progress_mgr * progress; /* Progress monitor, or NULL if none */\ void * client_data; /* Available for use by application */\ boolean is_decompressor; /* So common code can tell which is which */\ int global_state
#define jpeg_create_compress | ( | cinfo | ) |
Value:
jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \ (size_t) sizeof(struct jpeg_compress_struct))
Definition at line 895 of file jpeglib.h.
Referenced by main(), and write_JPEG_file().
#define jpeg_create_decompress | ( | cinfo | ) |
Value:
jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \ (size_t) sizeof(struct jpeg_decompress_struct))
Definition at line 898 of file jpeglib.h.
Referenced by jpeg_lib_init(), main(), and read_JPEG_file().
#define JPEG_EOI 0xD9 |
#define JPEG_HEADER_OK 1 |
#define JPEG_HEADER_TABLES_ONLY 2 |
#define JPEG_LIB_VERSION 62 |
Definition at line 33 of file jpeglib.h.
Referenced by jpeg_CreateCompress(), and jpeg_CreateDecompress().
#define JPEG_REACHED_EOI 2 |
Definition at line 998 of file jpeglib.h.
Referenced by consume_markers(), jpeg_read_header(), LOCAL(), and read_markers().
#define JPEG_REACHED_SOS 1 |
Definition at line 997 of file jpeglib.h.
Referenced by consume_markers(), jpeg_consume_input(), jpeg_read_header(), LOCAL(), and read_markers().
#define JPEG_ROW_COMPLETED 3 |
Definition at line 999 of file jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), decompress_smooth_data(), and LOCAL().
#define JPEG_RST0 0xD0 |
#define JPEG_SCAN_COMPLETED 4 |
Definition at line 1000 of file jpeglib.h.
Referenced by consume_data(), decompress_data(), decompress_onepass(), and decompress_smooth_data().
#define JPEG_SUSPENDED 0 |
Definition at line 966 of file jpeglib.h.
Referenced by consume_data(), consume_markers(), decompress_data(), decompress_onepass(), decompress_smooth_data(), dummy_consume_data(), jpeg_consume_input(), jpeg_finish_decompress(), jpeg_finish_output(), jpeg_read_header(), LOCAL(), and read_markers().
#define JPOOL_IMAGE 1 |
Definition at line 750 of file jpeglib.h.
Referenced by alloc_fs_workspace(), build_ycc_rgb_table(), create_colorindex(), create_colormap(), create_context_buffer(), free_pool(), get_sof(), init_destination(), init_error_limit(), jinit_1pass_quantizer(), jinit_2pass_quantizer(), jinit_c_coef_controller(), jinit_c_main_controller(), jinit_c_master_control(), jinit_c_prep_controller(), jinit_color_converter(), jinit_color_deconverter(), jinit_d_coef_controller(), jinit_d_main_controller(), jinit_d_post_controller(), jinit_downsampler(), jinit_forward_dct(), jinit_huff_decoder(), jinit_huff_encoder(), jinit_inverse_dct(), jinit_marker_writer(), jinit_master_decompress(), jinit_merged_upsampler(), jinit_phuff_decoder(), jinit_upsampler(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), jtransform_request_workspace(), latch_quant_tables(), make_odither_array(), METHODDEF(), prepare_range_limit_table(), read_color_map(), read_JPEG_file(), realize_virt_arrays(), request_virt_barray(), request_virt_sarray(), rgb_ycc_start(), save_marker(), select_colors(), smoothing_ok(), start_pass_2_quant(), start_pass_fdctmgr(), and transencode_coef_controller().
#define JPOOL_NUMPOOLS 2 |
Definition at line 751 of file jpeglib.h.
Referenced by alloc_large(), alloc_small(), free_pool(), jinit_memory_mgr(), jpeg_abort(), and self_destruct().
#define JPOOL_PERMANENT 0 |
Definition at line 749 of file jpeglib.h.
Referenced by jinit_input_controller(), jinit_marker_reader(), jinit_memory_mgr(), jpeg_abort(), jpeg_alloc_huff_table(), jpeg_alloc_quant_table(), jpeg_set_defaults(), jpeg_stdio_dest(), jpeg_stdio_src(), and self_destruct().
#define MAX_COMPS_IN_SCAN 4 |
Definition at line 46 of file jpeglib.h.
Referenced by compress_output(), consume_data(), get_sos(), and per_scan_setup().
#define MAX_SAMP_FACTOR 4 |
#define NUM_ARITH_TBLS 16 |
Definition at line 45 of file jpeglib.h.
Referenced by emit_dac(), get_soi(), and jpeg_set_defaults().
#define NUM_HUFF_TBLS 4 |
Definition at line 44 of file jpeglib.h.
Referenced by finish_pass_gather(), get_dht(), jinit_huff_decoder(), jinit_huff_encoder(), jinit_phuff_decoder(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), jpeg_suppress_tables(), METHODDEF(), and write_tables_only().
#define NUM_QUANT_TBLS 4 |
Definition at line 43 of file jpeglib.h.
Referenced by get_dqt(), jinit_forward_dct(), jpeg_add_quant_table(), jpeg_copy_critical_parameters(), jpeg_CreateCompress(), jpeg_CreateDecompress(), jpeg_suppress_tables(), latch_quant_tables(), read_quant_tables(), set_quant_slots(), start_pass_fdctmgr(), transpose_critical_parameters(), and write_tables_only().
typedef struct jpeg_common_struct* j_common_ptr |
typedef struct jpeg_compress_struct* j_compress_ptr |
typedef struct jpeg_decompress_struct* j_decompress_ptr |
typedef JBLOCKROW* JBLOCKARRAY |
typedef JBLOCKARRAY* JBLOCKIMAGE |
typedef struct jpeg_marker_struct FAR* jpeg_saved_marker_ptr |
typedef JSAMPROW* JSAMPARRAY |
typedef JSAMPARRAY* JSAMPIMAGE |
typedef struct jvirt_barray_control* jvirt_barray_ptr |
typedef struct jvirt_sarray_control* jvirt_sarray_ptr |
enum J_COLOR_SPACE |
Definition at line 206 of file jpeglib.h.
00206 { 00207 JCS_UNKNOWN, /* error/unspecified */ 00208 JCS_GRAYSCALE, /* monochrome */ 00209 JCS_RGB, /* red/green/blue */ 00210 JCS_YCbCr, /* Y/Cb/Cr (also known as YUV) */ 00211 JCS_CMYK, /* C/M/Y/K */ 00212 JCS_YCCK, /* Y/Cb/Cr/K */ 00213 JCS_RGB565 /* R5:G6:B5 */ 00214 } J_COLOR_SPACE;
enum J_DCT_METHOD |
Definition at line 218 of file jpeglib.h.
00218 { 00219 JDCT_ISLOW, /* slow but accurate integer algorithm */ 00220 JDCT_IFAST, /* faster, less accurate integer method */ 00221 JDCT_FLOAT /* floating-point: accurate, fast on fast HW */ 00222 } J_DCT_METHOD;
enum J_DITHER_MODE |
Definition at line 233 of file jpeglib.h.
00233 { 00234 JDITHER_NONE, /* no dithering */ 00235 JDITHER_ORDERED, /* simple ordered dither */ 00236 JDITHER_FS /* Floyd-Steinberg error diffusion dither */ 00237 } J_DITHER_MODE;
EXTERN | ( | jvirt_barray_ptr * | ) |
EXTERN | ( | JDIMENSION | ) |
EXTERN | ( | JHUFF_TBL * | ) |
EXTERN | ( | JQUANT_TBL * | ) |
EXTERN | ( | int | ) |
EXTERN | ( | void | ) |
EXTERN | ( | struct jpeg_error_mgr * | ) |
typedef JMETHOD | ( | boolean | , | |
jpeg_marker_parser_method | , | |||
(j_decompress_ptr cinfo) | ||||
) |
int const unsigned int* basic_table |
int desired |
int const unsigned int int boolean force_baseline |
int unsigned int length_limit |
int marker |
Definition at line 951 of file jpeglib.h.
Referenced by jcopy_markers_execute(), jinit_marker_reader(), jinit_marker_writer(), jpeg_resync_to_restart(), jpeg_save_markers(), jpeg_set_marker_processor(), main(), reset_marker_reader(), save_marker(), scan_JPEG_header(), write_file_header(), and write_scan_header().
int marker_code |
FILE* outfile |
int quality |
int const unsigned int int scale_factor |
int scan_number |
int size_t structsize |
int val |
Definition at line 957 of file jpeglib.h.
Referenced by consume_markers(), create_colorindex(), create_colormap(), jpeg_write_marker(), parse_switches(), read_pbm_integer(), read_quant_tables(), and read_text_integer().
int version |