Go to the documentation of this file.
23 #ifndef JCONFIG_INCLUDED
33 #define JPEG_LIB_VERSION 62
43 #define NUM_QUANT_TBLS 4
44 #define NUM_HUFF_TBLS 4
45 #define NUM_ARITH_TBLS 16
46 #define MAX_COMPS_IN_SCAN 4
47 #define MAX_SAMP_FACTOR 4
55 #define C_MAX_BLOCKS_IN_MCU 10
56 #ifndef D_MAX_BLOCKS_IN_MCU
57 #define D_MAX_BLOCKS_IN_MCU 10
224 #define JDCT_DEFAULT JDCT_ISLOW
227 #define JDCT_FASTEST JDCT_IFAST
241 #define jpeg_common_fields \
242 struct jpeg_error_mgr * err; \
243 struct jpeg_memory_mgr * mem; \
244 struct jpeg_progress_mgr * progress; \
245 void * client_data; \
246 boolean is_decompressor; \
652 #define JMSG_LENGTH_MAX 200
660 #define JMSG_STR_PARM_MAX 80
748 #define JPOOL_PERMANENT 0
749 #define JPOOL_IMAGE 1
750 #define JPOOL_NUMPOOLS 2
817 #ifdef HAVE_PROTOTYPES
818 #define JPP(arglist) arglist
820 #define JPP(arglist) ()
831 #ifdef NEED_SHORT_EXTERNAL_NAMES
832 #define jpeg_std_error jStdError
833 #define jpeg_CreateCompress jCreaCompress
834 #define jpeg_CreateDecompress jCreaDecompress
835 #define jpeg_destroy_compress jDestCompress
836 #define jpeg_destroy_decompress jDestDecompress
837 #define jpeg_stdio_dest jStdDest
838 #define jpeg_stdio_src jStdSrc
839 #define jpeg_set_defaults jSetDefaults
840 #define jpeg_set_colorspace jSetColorspace
841 #define jpeg_default_colorspace jDefColorspace
842 #define jpeg_set_quality jSetQuality
843 #define jpeg_set_linear_quality jSetLQuality
844 #define jpeg_add_quant_table jAddQuantTable
845 #define jpeg_quality_scaling jQualityScaling
846 #define jpeg_simple_progression jSimProgress
847 #define jpeg_suppress_tables jSuppressTables
848 #define jpeg_alloc_quant_table jAlcQTable
849 #define jpeg_alloc_huff_table jAlcHTable
850 #define jpeg_start_compress jStrtCompress
851 #define jpeg_write_scanlines jWrtScanlines
852 #define jpeg_finish_compress jFinCompress
853 #define jpeg_write_raw_data jWrtRawData
854 #define jpeg_write_marker jWrtMarker
855 #define jpeg_write_m_header jWrtMHeader
856 #define jpeg_write_m_byte jWrtMByte
857 #define jpeg_write_tables jWrtTables
858 #define jpeg_read_header jReadHeader
859 #define jpeg_start_decompress jStrtDecompress
860 #define jpeg_read_scanlines jReadScanlines
861 #define jpeg_finish_decompress jFinDecompress
862 #define jpeg_read_raw_data jReadRawData
863 #define jpeg_has_multiple_scans jHasMultScn
864 #define jpeg_start_output jStrtOutput
865 #define jpeg_finish_output jFinOutput
866 #define jpeg_input_complete jInComplete
867 #define jpeg_new_colormap jNewCMap
868 #define jpeg_consume_input jConsumeInput
869 #define jpeg_calc_output_dimensions jCalcDimensions
870 #define jpeg_save_markers jSaveMarkers
871 #define jpeg_set_marker_processor jSetMarker
872 #define jpeg_read_coefficients jReadCoefs
873 #define jpeg_write_coefficients jWrtCoefs
874 #define jpeg_copy_critical_parameters jCopyCrit
875 #define jpeg_abort_compress jAbrtCompress
876 #define jpeg_abort_decompress jAbrtDecompress
877 #define jpeg_abort jAbort
878 #define jpeg_destroy jDestroy
879 #define jpeg_resync_to_restart jResyncRestart
894 #define jpeg_create_compress(cinfo) \
895 jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
896 (size_t) sizeof(struct jpeg_compress_struct))
897 #define jpeg_create_decompress(cinfo) \
898 jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \
899 (size_t) sizeof(struct jpeg_decompress_struct))
965 #define JPEG_SUSPENDED 0
966 #define JPEG_HEADER_OK 1
967 #define JPEG_HEADER_TABLES_ONLY 2
996 #define JPEG_REACHED_SOS 1
997 #define JPEG_REACHED_EOI 2
998 #define JPEG_ROW_COMPLETED 3
999 #define JPEG_SCAN_COMPLETED 4
1045 #define JPEG_RST0 0xD0
1046 #define JPEG_EOI 0xD9
1047 #define JPEG_APP0 0xE0
1048 #define JPEG_COM 0xFE
1056 #ifdef INCOMPLETE_TYPES_BROKEN
1057 #ifndef JPEG_INTERNALS
1091 #ifdef JPEG_INTERNALS
#define MAX_COMPS_IN_SCAN
init_source(j_decompress_ptr cinfo)
access_virt_barray(j_common_ptr cinfo, jvirt_barray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
request_virt_sarray(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION samplesperrow, JDIMENSION numrows, JDIMENSION maxaccess)
jpeg_destroy(j_common_ptr cinfo)
int const JOCTET * dataptr
char s[JMSG_STR_PARM_MAX]
JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS]
alloc_small(j_common_ptr cinfo, int pool_id, size_t sizeofobject)
struct jpeg_forward_dct * fdct
struct jpeg_c_prep_controller * prep
JSAMPLE * sample_range_limit
JDIMENSION output_scanline
JDIMENSION output_iMCU_row
jpeg_CreateCompress(j_compress_ptr cinfo, int version, size_t structsize)
jpeg_component_info * comp_info
JSAMPARRAY JDIMENSION max_lines
format_message(j_common_ptr cinfo, char *buffer)
jpeg_std_error(struct jpeg_error_mgr *err)
free_pool(j_common_ptr cinfo, int pool_id)
jpeg_resync_to_restart(j_decompress_ptr cinfo, int desired)
jpeg_set_quality(j_compress_ptr cinfo, int quality, boolean force_baseline)
int actual_number_of_colors
boolean two_pass_quantize
JDIMENSION downsampled_width
int JSAMPARRAY int int num_rows
struct jpeg_common_struct * j_common_ptr
const JOCTET * next_input_byte
UINT8 arith_dc_U[NUM_ARITH_TBLS]
request_virt_barray(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION blocksperrow, JDIMENSION numrows, JDIMENSION maxaccess)
struct jpeg_color_converter * cconvert
int(* coef_bits)[DCTSIZE2]
alloc_large(j_common_ptr cinfo, int pool_id, size_t sizeofobject)
jpeg_finish_compress(j_compress_ptr cinfo)
jpeg_finish_decompress(j_decompress_ptr cinfo)
struct jpeg_marker_struct FAR * jpeg_saved_marker_ptr
struct jpeg_source_mgr * src
jvirt_barray_ptr * coef_arrays
JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS]
struct jpeg_entropy_encoder * entropy
JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS]
int MCU_membership[C_MAX_BLOCKS_IN_MCU]
jpeg_read_scanlines(j_decompress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION max_lines)
JDIMENSION width_in_blocks
struct jpeg_d_main_controller * main
png_infop png_bytep buffer
JSAMPARRAY JDIMENSION num_lines
J_COLOR_SPACE jpeg_color_space
const char *const * addon_message_table
J_COLOR_SPACE in_color_space
struct jpeg_compress_struct * j_compress_ptr
int const JOCTET unsigned int datalen
JDIMENSION MCU_rows_in_scan
jpeg_input_complete(j_decompress_ptr cinfo)
struct jpeg_c_coef_controller * coef
JDIMENSION total_iMCU_rows
jpeg_suppress_tables(j_compress_ptr cinfo, boolean suppress)
int unsigned int length_limit
const jpeg_scan_info * scan_info
int const unsigned int * basic_table
boolean write_JFIF_header
UINT8 arith_dc_L[NUM_ARITH_TBLS]
jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit)
J_DITHER_MODE dither_mode
struct jpeg_decomp_master * master
reset_error_mgr(j_common_ptr cinfo)
init_destination(j_compress_ptr cinfo)
jpeg_saved_marker_ptr marker_list
jpeg_alloc_huff_table(j_common_ptr cinfo)
JMETHOD(void, error_exit,(j_common_ptr cinfo))
struct jpeg_marker_writer * marker
JDIMENSION total_iMCU_rows
jpeg_abort(j_common_ptr cinfo)
struct jpeg_downsampler * downsample
jpeg_write_marker(j_compress_ptr cinfo, int marker, const JOCTET *dataptr, unsigned int datalen)
JBLOCKARRAY * JBLOCKIMAGE
empty_output_buffer(j_compress_ptr cinfo)
unsigned int original_length
struct jpeg_upsampler * upsample
struct jpeg_color_deconverter * cconvert
self_destruct(j_common_ptr cinfo)
skip_input_data(j_decompress_ptr cinfo, long num_bytes)
jpeg_abort_decompress(j_decompress_ptr cinfo)
int jpeg_marker_parser_method routine
boolean enable_external_quant
fill_input_buffer(j_decompress_ptr cinfo)
jpeg_alloc_quant_table(j_common_ptr cinfo)
struct jpeg_c_main_controller * main
jpeg_finish_output(j_decompress_ptr cinfo)
jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN]
jpeg_copy_critical_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo)
union jpeg_error_mgr::@6 msg_parm
UINT8 arith_dc_U[NUM_ARITH_TBLS]
#define C_MAX_BLOCKS_IN_MCU
JDIMENSION height_in_blocks
jpeg_consume_input(j_decompress_ptr cinfo)
jpeg_start_compress(j_compress_ptr cinfo, boolean write_all_tables)
typedef JMETHOD(boolean, jpeg_marker_parser_method,(j_decompress_ptr cinfo))
jpeg_set_linear_quality(j_compress_ptr cinfo, int scale_factor, boolean force_baseline)
jpeg_calc_output_dimensions(j_decompress_ptr cinfo)
struct jpeg_d_post_controller * post
JDIMENSION input_iMCU_row
UINT8 arith_ac_K[NUM_ARITH_TBLS]
access_virt_sarray(j_common_ptr cinfo, jvirt_sarray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN]
EXTERN(struct jpeg_error_mgr *) jpeg_std_error JPP((struct jpeg_error_mgr *err))
const char *const * jpeg_message_table
unsigned int restart_interval
J_COLOR_SPACE out_color_space
JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS]
error_exit(j_common_ptr cinfo)
#define JMSG_STR_PARM_MAX
struct jpeg_destination_mgr * dest
term_destination(j_compress_ptr cinfo)
emit_message(j_common_ptr cinfo, int msg_level)
jpeg_component_info * comp_info
jpeg_has_multiple_scans(j_decompress_ptr cinfo)
UINT8 arith_dc_L[NUM_ARITH_TBLS]
unsigned int restart_interval
jpeg_write_m_byte(j_compress_ptr cinfo, int val)
realize_virt_arrays(j_common_ptr cinfo)
jpeg_new_colormap(j_decompress_ptr cinfo)
term_source(j_decompress_ptr cinfo)
jpeg_stdio_dest(j_compress_ptr cinfo, FILE *outfile)
jpeg_quality_scaling(int quality)
struct jpeg_color_quantizer * cquantize
jpeg_set_defaults(j_compress_ptr cinfo)
jpeg_simple_progression(j_compress_ptr cinfo)
jpeg_destroy_decompress(j_decompress_ptr cinfo)
#define D_MAX_BLOCKS_IN_MCU
int MCU_membership[D_MAX_BLOCKS_IN_MCU]
jpeg_set_marker_processor(j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine)
output_message(j_common_ptr cinfo)
struct jpeg_comp_master * master
JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS]
jpeg_scan_info * script_space
jpeg_CreateDecompress(j_decompress_ptr cinfo, int version, size_t structsize)
jpeg_set_colorspace(j_compress_ptr cinfo, J_COLOR_SPACE colorspace)
struct jpeg_entropy_decoder * entropy
boolean write_Adobe_marker
boolean do_block_smoothing
JMETHOD(void, init_destination,(j_compress_ptr cinfo))
struct jpeg_inverse_dct * idct
jpeg_write_scanlines(j_compress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION num_lines)
jpeg_add_quant_table(j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline)
jpeg_saved_marker_ptr next
struct jvirt_barray_control * jvirt_barray_ptr
JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS]
struct jpeg_marker_reader * marker
UINT8 arith_ac_K[NUM_ARITH_TBLS]
struct jpeg_decompress_struct * j_decompress_ptr
JMETHOD(void, progress_monitor,(j_common_ptr cinfo))
JDIMENSION MCU_rows_in_scan
JOCTET * next_output_byte
struct jpeg_d_coef_controller * coef
struct jpeg_input_controller * inputctl
jpeg_abort_compress(j_compress_ptr cinfo)
struct jvirt_sarray_control * jvirt_sarray_ptr
jpeg_default_colorspace(j_compress_ptr cinfo)
jpeg_read_raw_data(j_decompress_ptr cinfo, JSAMPIMAGE data, JDIMENSION max_lines)
boolean do_fancy_upsampling
jpeg_stdio_src(j_decompress_ptr cinfo, FILE *infile)
int desired_number_of_colors
JDIMENSION downsampled_height
boolean enable_2pass_quant
JMETHOD(void, init_source,(j_decompress_ptr cinfo))
JMETHOD(void *, alloc_small,(j_common_ptr cinfo, int pool_id, size_t sizeofobject))
int boolean force_baseline
jpeg_write_raw_data(j_compress_ptr cinfo, JSAMPIMAGE data, JDIMENSION num_lines)
alloc_sarray(j_common_ptr cinfo, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows)
jpeg_start_output(j_decompress_ptr cinfo, int scan_number)
boolean enable_1pass_quant
jpeg_destroy_compress(j_compress_ptr cinfo)
J_COLOR_SPACE jpeg_color_space
jpeg_read_header(j_decompress_ptr cinfo, boolean require_image)
alloc_barray(j_common_ptr cinfo, int pool_id, JDIMENSION blocksperrow, JDIMENSION numrows)
jpeg_write_tables(j_compress_ptr cinfo)
jpeg_write_m_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:03