28 #ifndef JCONFIG_INCLUDED 38 #define JPEG_LIB_VERSION 62 48 #define NUM_QUANT_TBLS 4 49 #define NUM_HUFF_TBLS 4 50 #define NUM_ARITH_TBLS 16 51 #define MAX_COMPS_IN_SCAN 4 52 #define MAX_SAMP_FACTOR 4 60 #define C_MAX_BLOCKS_IN_MCU 10 61 #ifndef D_MAX_BLOCKS_IN_MCU 62 #define D_MAX_BLOCKS_IN_MCU 10 109 uint8_t huffval[256];
229 #define JDCT_DEFAULT JDCT_ISLOW 232 #define JDCT_FASTEST JDCT_IFAST 246 #define jpeg_common_fields \ 247 struct jpeg_error_mgr * err; \ 248 struct jpeg_memory_mgr * mem; \ 249 struct jpeg_progress_mgr * progress; \ 250 void * client_data; \ 251 boolean is_decompressor; \ 657 #define JMSG_LENGTH_MAX 200 665 #define JMSG_STR_PARM_MAX 80 707 JMETHOD(
void, progress_monitor, (j_common_ptr cinfo));
737 JMETHOD(
boolean, resync_to_restart, (j_decompress_ptr cinfo,
int desired));
753 #define JPOOL_PERMANENT 0 754 #define JPOOL_IMAGE 1 755 #define JPOOL_NUMPOOLS 2 787 jvirt_sarray_ptr ptr,
792 jvirt_barray_ptr ptr,
822 #ifdef HAVE_PROTOTYPES 823 #define JPP(arglist) arglist 825 #define JPP(arglist) () 836 #ifdef NEED_SHORT_EXTERNAL_NAMES 837 #define jpeg_std_error jStdError 838 #define jpeg_CreateCompress jCreaCompress 839 #define jpeg_CreateDecompress jCreaDecompress 840 #define jpeg_destroy_compress jDestCompress 841 #define jpeg_destroy_decompress jDestDecompress 842 #define jpeg_stdio_dest jStdDest 843 #define jpeg_stdio_src jStdSrc 844 #define jpeg_set_defaults jSetDefaults 845 #define jpeg_set_colorspace jSetColorspace 846 #define jpeg_default_colorspace jDefColorspace 847 #define jpeg_set_quality jSetQuality 848 #define jpeg_set_linear_quality jSetLQuality 849 #define jpeg_add_quant_table jAddQuantTable 850 #define jpeg_quality_scaling jQualityScaling 851 #define jpeg_simple_progression jSimProgress 852 #define jpeg_suppress_tables jSuppressTables 853 #define jpeg_alloc_quant_table jAlcQTable 854 #define jpeg_alloc_huff_table jAlcHTable 855 #define jpeg_start_compress jStrtCompress 856 #define jpeg_write_scanlines jWrtScanlines 857 #define jpeg_finish_compress jFinCompress 858 #define jpeg_write_raw_data jWrtRawData 859 #define jpeg_write_marker jWrtMarker 860 #define jpeg_write_m_header jWrtMHeader 861 #define jpeg_write_m_byte jWrtMByte 862 #define jpeg_write_tables jWrtTables 863 #define jpeg_read_header jReadHeader 864 #define jpeg_start_decompress jStrtDecompress 865 #define jpeg_read_scanlines jReadScanlines 866 #define jpeg_finish_decompress jFinDecompress 867 #define jpeg_read_raw_data jReadRawData 868 #define jpeg_has_multiple_scans jHasMultScn 869 #define jpeg_start_output jStrtOutput 870 #define jpeg_finish_output jFinOutput 871 #define jpeg_input_complete jInComplete 872 #define jpeg_new_colormap jNewCMap 873 #define jpeg_consume_input jConsumeInput 874 #define jpeg_calc_output_dimensions jCalcDimensions 875 #define jpeg_save_markers jSaveMarkers 876 #define jpeg_set_marker_processor jSetMarker 877 #define jpeg_read_coefficients jReadCoefs 878 #define jpeg_write_coefficients jWrtCoefs 879 #define jpeg_copy_critical_parameters jCopyCrit 880 #define jpeg_abort_compress jAbrtCompress 881 #define jpeg_abort_decompress jAbrtDecompress 882 #define jpeg_abort jAbort 883 #define jpeg_destroy jDestroy 884 #define jpeg_resync_to_restart jResyncRestart 899 #define jpeg_create_compress(cinfo) \ 900 jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \ 901 (size_t) sizeof(struct jpeg_compress_struct)) 902 #define jpeg_create_decompress(cinfo) \ 903 jpeg_CreateDecompress((cinfo), JPEG_LIB_VERSION, \ 904 (size_t) sizeof(struct jpeg_decompress_struct)) 906 int version,
size_t structsize));
908 int version,
size_t structsize));
925 boolean force_baseline));
928 boolean force_baseline));
930 const unsigned int *basic_table,
932 boolean force_baseline));
942 boolean write_all_tables));
959 JPP((j_compress_ptr cinfo,
int marker,
unsigned int datalen));
961 JPP((j_compress_ptr cinfo,
int val));
968 boolean require_image));
970 #define JPEG_SUSPENDED 0 971 #define JPEG_HEADER_OK 1 972 #define JPEG_HEADER_TABLES_ONLY 2 1001 #define JPEG_REACHED_SOS 1 1002 #define JPEG_REACHED_EOI 2 1003 #define JPEG_ROW_COMPLETED 3 1004 #define JPEG_SCAN_COMPLETED 4 1011 JPP((j_decompress_ptr cinfo,
int marker_code,
1012 unsigned int length_limit));
1016 JPP((j_decompress_ptr cinfo,
int marker_code,
1022 jvirt_barray_ptr * coef_arrays));
1053 #define JPEG_RST0 0xD0 1054 #define JPEG_EOI 0xD9 1055 #define JPEG_APP0 0xE0 1056 #define JPEG_COM 0xFE 1064 #ifdef INCOMPLETE_TYPES_BROKEN 1065 #ifndef JPEG_INTERNALS 1099 #ifdef JPEG_INTERNALS static void free_pool(j_common_ptr cinfo, int pool_id)
Definition: jmemmgr.cpp:930
boolean write_Adobe_marker
Definition: jpeglib.h:352
#define EXTERN(type)
Definition: jmorecfg.h:190
static void term_destination(j_compress_ptr cinfo)
Definition: jdatadst.cpp:106
void jpeg_new_colormap(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:515
struct jpeg_c_prep_controller * prep
Definition: jpeglib.h:402
boolean do_block_smoothing
Definition: jpeglib.h:446
Definition: jpeglib.h:200
Definition: jpeglib.h:217
static void emit_message(j_common_ptr cinfo, int msg_level)
Definition: jerror.cpp:129
struct jpeg_decompress_struct * j_decompress_ptr
Definition: jpeglib.h:268
int v_samp_factor
Definition: jpeglib.h:128
int num_components
Definition: jpeglib.h:427
JDIMENSION jpeg_write_raw_data(j_compress_ptr cinfo, JSAMPIMAGE data, JDIMENSION num_lines)
Definition: jcapistd.cpp:120
long num_warnings
Definition: jpeglib.h:681
void jpeg_write_marker(j_compress_ptr cinfo, int marker, const JOCTET *dataptr, unsigned int datalen)
Definition: jcapimin.cpp:192
char JSAMPLE
Definition: jmorecfg.h:64
Definition: jpegint.h:120
uint8_t JFIF_minor_version
Definition: jpeglib.h:558
void jpeg_abort(j_common_ptr cinfo)
Definition: jcomapi.cpp:29
int last_jpeg_message
Definition: jpeglib.h:694
int last_addon_message
Definition: jpeglib.h:700
JDIMENSION output_height
Definition: jpeglib.h:465
int completed_passes
Definition: jpeglib.h:711
JDIMENSION downsampled_width
Definition: jpeglib.h:159
#define NUM_QUANT_TBLS
Definition: jpeglib.h:48
int comps_in_scan
Definition: jpeglib.h:601
J_DCT_METHOD
Definition: jpeglib.h:222
struct jpeg_forward_dct * fdct
Definition: jpeglib.h:407
Definition: jpegint.h:113
int rec_outbuf_height
Definition: jpeglib.h:471
Definition: jpegint.h:137
struct jpeg_d_post_controller * post
Definition: jpeglib.h:627
J_COLOR_SPACE jpeg_color_space
Definition: jpeglib.h:302
void jpeg_set_quality(j_compress_ptr cinfo, int quality, boolean force_baseline)
Definition: jcparam.cpp:132
struct jpeg_input_controller * inputctl
Definition: jpeglib.h:628
int read_JPEG_file(const char *filename, vector< vector< uint8_t > > &image_buffer)
Definition: jpeg_rw.cpp:421
void jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit)
Definition: jdmarker.cpp:1300
static JBLOCKARRAY alloc_barray(j_common_ptr cinfo, int pool_id, JDIMENSION blocksperrow, JDIMENSION numrows)
Definition: jmemmgr.cpp:443
jpeg_component_info * comp_info
Definition: jpeglib.h:540
int i
Definition: rw_test.cpp:37
boolean jpeg_finish_output(j_decompress_ptr cinfo)
Definition: jdapistd.cpp:253
uint8_t marker
Definition: jpeglib.h:202
struct jpeg_d_main_controller * main
Definition: jpeglib.h:625
static void format_message(j_common_ptr cinfo, char *buffer)
Definition: jerror.cpp:158
boolean jpeg_input_complete(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:334
int MCU_height
Definition: jpeglib.h:170
boolean do_fancy_upsampling
Definition: jpeglib.h:445
int Ss
Definition: jpeglib.h:395
J_DITHER_MODE
Definition: jpeglib.h:237
void write_JPEG_file(const char *filename, int quality, J_COLOR_SPACE in_color_space, int image_width, int image_height, JSAMPLE *image_buffer)
boolean enable_2pass_quant
Definition: jpeglib.h:456
Definition: jpeglib.h:212
boolean(* jpeg_marker_parser_method)()
Definition: jpeglib.h:814
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:266
boolean quantize_colors
Definition: jpeglib.h:448
void jpeg_simple_progression(j_compress_ptr cinfo)
Definition: jcparam.cpp:537
void * dct_table
Definition: jpeglib.h:183
int min_DCT_scaled_size
Definition: jpeglib.h:583
size_t free_in_buffer
Definition: jpeglib.h:720
long pass_limit
Definition: jpeglib.h:710
int output_scan_number
Definition: jpeglib.h:506
const jpeg_scan_info * scan_info
Definition: jpeglib.h:319
struct jpeg_marker_reader * marker
Definition: jpeglib.h:629
JDIMENSION image_height
Definition: jpeglib.h:285
JBLOCKROW * JBLOCKARRAY
Definition: jpeglib.h:77
struct jpeg_d_coef_controller * coef
Definition: jpeglib.h:626
#define NUM_HUFF_TBLS
Definition: jpeglib.h:49
boolean sent_table
Definition: jpeglib.h:99
int data_precision
Definition: jpeglib.h:538
static JBLOCKARRAY access_virt_barray(j_common_ptr cinfo, jvirt_barray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
Definition: jmemmgr.cpp:841
double output_gamma
Definition: jpeglib.h:439
long max_memory_to_use
Definition: jpeglib.h:804
struct jpeg_color_converter * cconvert
Definition: jpeglib.h:405
int num_components
Definition: jpeglib.h:301
boolean enable_external_quant
Definition: jpeglib.h:455
const char *const * addon_message_table
Definition: jpeglib.h:698
int DCT_scaled_size
Definition: jpeglib.h:152
Definition: jpeglib.h:648
boolean saw_JFIF_marker
Definition: jpeglib.h:555
JDIMENSION image_width
Definition: jpeglib.h:425
Definition: jpeglib.h:258
JDIMENSION output_width
Definition: jpeglib.h:464
int MCU_blocks
Definition: jpeglib.h:171
int dc_tbl_no
Definition: jpeglib.h:134
Definition: jpegint.h:177
Definition: jpegint.h:232
JDIMENSION image_height
Definition: jpeglib.h:426
boolean component_needed
Definition: jpeglib.h:165
boolean jpeg_start_decompress(j_decompress_ptr cinfo)
Definition: jdapistd.cpp:38
struct jpeg_compress_struct * j_compress_ptr
Definition: jpeglib.h:267
int desired_number_of_colors
Definition: jpeglib.h:452
void jpeg_write_m_header(j_compress_ptr cinfo, int marker, unsigned int datalen)
Definition: jcapimin.cpp:214
int jpeg_read_header(j_decompress_ptr cinfo, boolean require_image)
Definition: jdapimin.cpp:241
short JCOEF
Definition: jmorecfg.h:99
JDIMENSION MCU_rows_in_scan
Definition: jpeglib.h:388
struct jpeg_entropy_encoder * entropy
Definition: jpeglib.h:408
Definition: jpeglib.h:224
static void self_destruct(j_common_ptr cinfo)
Definition: jmemmgr.cpp:1002
boolean jpeg_start_output(j_decompress_ptr cinfo, int scan_number)
Definition: jdapistd.cpp:228
int comps_in_scan
Definition: jpeglib.h:190
boolean write_JFIF_header
Definition: jpeglib.h:342
int max_h_samp_factor
Definition: jpeglib.h:369
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
size_t sizeofobject
Definition: jmemsys.h:47
static jvirt_sarray_ptr request_virt_sarray(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION samplesperrow, JDIMENSION numrows, JDIMENSION maxaccess)
Definition: jmemmgr.cpp:523
long pass_counter
Definition: jpeglib.h:709
J_COLOR_SPACE in_color_space
Definition: jpeglib.h:287
JDIMENSION width_in_blocks
Definition: jpeglib.h:144
void jpeg_destroy_compress(j_compress_ptr cinfo)
Definition: jcapimin.cpp:88
boolean two_pass_quantize
Definition: jpeglib.h:451
j_compress_ptr dstinfo
Definition: transupp.h:134
int ac_tbl_no
Definition: jpeglib.h:135
Definition: jpegint.h:102
int data_precision
Definition: jpeglib.h:299
jpeg_saved_marker_ptr marker_list
Definition: jpeglib.h:571
JDIMENSION next_scanline
Definition: jpeglib.h:359
double input_gamma
Definition: jpeglib.h:289
int Al
Definition: jpeglib.h:193
J_COLOR_SPACE out_color_space
Definition: jpeglib.h:435
int max_h_samp_factor
Definition: jpeglib.h:580
int msg_code
Definition: jpeglib.h:664
unsigned int data_length
Definition: jpeglib.h:204
int blocks_in_MCU
Definition: jpeglib.h:390
int MCU_width
Definition: jpeglib.h:169
int Ss
Definition: jpeglib.h:192
uint8_t JFIF_major_version
Definition: jpeglib.h:557
struct jpeg_error_mgr * jpeg_std_error(struct jpeg_error_mgr *err)
Definition: jerror.cpp:232
static void skip_input_data(j_decompress_ptr cinfo, long num_bytes)
Definition: jdatasrc.cpp:128
uint16_t Y_density
Definition: jpeglib.h:561
Definition: jpegint.h:158
int component_index
Definition: jpeglib.h:126
void jpeg_destroy(j_common_ptr cinfo)
Definition: jcomapi.cpp:69
JDIMENSION height_in_blocks
Definition: jpeglib.h:145
Definition: jmemmgr.cpp:166
int trace_level
Definition: jpeglib.h:673
void jpeg_abort_decompress(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:103
void jpeg_add_quant_table(j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline)
Definition: jcparam.cpp:23
Definition: jpegint.h:246
int datalen
Definition: mcastclient.c:41
int quant_tbl_no
Definition: jpeglib.h:129
Definition: jpeglib.h:706
uint16_t X_density
Definition: jpeglib.h:560
JQUANT_TBL * jpeg_alloc_quant_table(j_common_ptr cinfo)
Definition: jcomapi.cpp:86
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
JBLOCKARRAY * JBLOCKIMAGE
Definition: jpeglib.h:78
#define DCTSIZE2
Definition: jpeglib.h:47
Definition: jpeglib.h:214
Definition: jpeglib.h:213
static char buffer[255]
Definition: propagator_simple.cpp:60
JDIMENSION total_iMCU_rows
Definition: jpeglib.h:372
int max_v_samp_factor
Definition: jpeglib.h:370
void jpeg_write_m_byte(j_compress_ptr cinfo, int val)
Definition: jcapimin.cpp:226
JSAMPLE * sample_range_limit
Definition: jpeglib.h:594
Definition: jpegint.h:189
int component_id
Definition: jpeglib.h:125
int last_row_height
Definition: jpeglib.h:174
#define jpeg_common_fields
Definition: jpeglib.h:246
boolean raw_data_out
Definition: jpeglib.h:442
void jpeg_stdio_dest(j_compress_ptr cinfo, FILE *outfile)
Definition: jdatadst.cpp:130
JDIMENSION jpeg_read_scanlines(j_decompress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION max_lines)
Definition: jdapistd.cpp:152
static void init_source(j_decompress_ptr cinfo)
Definition: jdatasrc.cpp:44
unsigned int restart_interval
Definition: jpeglib.h:550
int output_components
Definition: jpeglib.h:467
struct jpeg_color_quantizer * cquantize
Definition: jpeglib.h:634
int input_scan_number
Definition: jpeglib.h:499
int first_addon_message
Definition: jpeglib.h:699
boolean arith_code
Definition: jpeglib.h:544
int out_color_components
Definition: jpeglib.h:466
Definition: jpegint.h:166
J_DCT_METHOD dct_method
Definition: jpeglib.h:444
#define C_MAX_BLOCKS_IN_MCU
Definition: jpeglib.h:60
struct jpeg_destination_mgr * dest
Definition: jpeglib.h:277
struct jpeg_marker_writer * marker
Definition: jpeglib.h:404
int num_scans
Definition: jpeglib.h:318
int script_space_size
Definition: jpeglib.h:410
void jpeg_abort_compress(j_compress_ptr cinfo)
Definition: jcapimin.cpp:100
#define JMETHOD(type, methodname, arglist)
Definition: jmorecfg.h:202
struct jpeg_downsampler * downsample
Definition: jpeglib.h:406
size_t bytes_in_buffer
Definition: jpeglib.h:732
Definition: jmemmgr.cpp:150
uint8_t density_unit
Definition: jpeglib.h:349
Definition: jpegint.h:209
#define FAR
Definition: jmorecfg.h:215
void jpeg_start_compress(j_compress_ptr cinfo, boolean write_all_tables)
Definition: jcapistd.cpp:38
struct jpeg_decomp_master * master
Definition: jpeglib.h:624
int JSAMPARRAY int int num_rows
Definition: jpegint.h:373
struct jpeg_c_main_controller * main
Definition: jpeglib.h:401
boolean enable_1pass_quant
Definition: jpeglib.h:454
boolean jpeg_resync_to_restart(j_decompress_ptr cinfo, int desired)
Definition: jdmarker.cpp:1192
JCOEF * JCOEFPTR
Definition: jpeglib.h:80
void jpeg_set_linear_quality(j_compress_ptr cinfo, int scale_factor, boolean force_baseline)
Definition: jcparam.cpp:64
Definition: jpeglib.h:730
Definition: jpeglib.h:238
Definition: jpeglib.h:718
boolean saw_Adobe_marker
Definition: jpeglib.h:562
J_DITHER_MODE dither_mode
Definition: jpeglib.h:450
int smoothing_factor
Definition: jpeglib.h:329
void jpeg_copy_critical_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo)
Definition: jctrans.cpp:63
unsigned int restart_interval
Definition: jpeglib.h:337
static JSAMPARRAY access_virt_sarray(j_common_ptr cinfo, jvirt_sarray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)
Definition: jmemmgr.cpp:756
int restart_in_rows
Definition: jpeglib.h:338
static void realize_virt_arrays(j_common_ptr cinfo)
Definition: jmemmgr.cpp:583
void jpeg_destroy_decompress(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:91
#define JPP(arglist)
Definition: jpeglib.h:823
boolean jpeg_finish_decompress(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:369
jvirt_barray_ptr * jpeg_read_coefficients(j_decompress_ptr cinfo)
Definition: jdtrans.cpp:45
string & err
Definition: json11.cpp:362
int Ss
Definition: jpeglib.h:613
JQUANT_TBL * quant_table
Definition: jpeglib.h:180
JSAMPARRAY * JSAMPIMAGE
Definition: jpeglib.h:73
int max_v_samp_factor
Definition: jpeglib.h:581
JDIMENSION MCUs_per_row
Definition: jpeglib.h:387
JCOEF JBLOCK[64]
Definition: jpeglib.h:75
static void * alloc_large(j_common_ptr cinfo, int pool_id, size_t sizeofobject)
Definition: jmemmgr.cpp:342
struct jpeg_color_deconverter * cconvert
Definition: jpeglib.h:633
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:665
boolean CCIR601_sampling
Definition: jpeglib.h:565
long max_alloc_chunk
Definition: jpeglib.h:807
Definition: jpeglib.h:273
boolean arith_code
Definition: jpeglib.h:326
JHUFF_TBL * jpeg_alloc_huff_table(j_common_ptr cinfo)
Definition: jcomapi.cpp:98
void jpeg_default_colorspace(j_compress_ptr cinfo)
Definition: jcparam.cpp:359
boolean jpeg_has_multiple_scans(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:349
void jpeg_set_colorspace(j_compress_ptr cinfo, J_COLOR_SPACE colorspace)
Definition: jcparam.cpp:391
JDIMENSION MCU_rows_in_scan
Definition: jpeglib.h:606
JDIMENSION jpeg_write_scanlines(j_compress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION num_lines)
Definition: jcapistd.cpp:77
JSAMPARRAY colormap
Definition: jpeglib.h:484
static void reset_error_mgr(j_common_ptr cinfo)
Definition: jerror.cpp:213
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
Definition: jpeglib.h:240
void jpeg_CreateCompress(j_compress_ptr cinfo, int version, size_t structsize)
Definition: jcapimin.cpp:30
struct jvirt_barray_control * jvirt_barray_ptr
Definition: jpeglib.h:758
boolean sent_table
Definition: jpeglib.h:115
boolean progressive_mode
Definition: jpeglib.h:368
struct jpeg_source_mgr * src
Definition: jpeglib.h:420
Definition: jpeglib.h:121
JDIMENSION output_scanline
Definition: jpeglib.h:494
jpeg_saved_marker_ptr next
Definition: jpeglib.h:201
int MCU_sample_width
Definition: jpeglib.h:172
int jpeg_quality_scaling(int quality)
Definition: jcparam.cpp:106
JOCTET * data
Definition: jpeglib.h:205
void jpeg_set_marker_processor(j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine)
Definition: jdmarker.cpp:1349
JDIMENSION jpeg_read_raw_data(j_decompress_ptr cinfo, JSAMPIMAGE data, JDIMENSION max_lines)
Definition: jdapistd.cpp:185
void jpeg_write_coefficients(j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays)
Definition: jctrans.cpp:38
static void output_message(j_common_ptr cinfo)
Definition: jerror.cpp:99
#define D_MAX_BLOCKS_IN_MCU
Definition: jpeglib.h:62
Definition: jpegint.h:254
static boolean empty_output_buffer(j_compress_ptr cinfo)
Definition: jdatadst.cpp:81
int jpeg_consume_input(j_decompress_ptr cinfo)
Definition: jdapimin.cpp:287
uint8_t Adobe_transform
Definition: jpeglib.h:563
uint16_t X_density
Definition: jpeglib.h:350
int total_passes
Definition: jpeglib.h:712
const char *const * jpeg_message_table
Definition: jpeglib.h:693
Definition: jpeglib.h:225
static boolean fill_input_buffer(j_decompress_ptr cinfo)
Definition: jdatasrc.cpp:90
JBLOCK * JBLOCKROW
Definition: jpeglib.h:76
boolean CCIR601_sampling
Definition: jpeglib.h:328
JDIMENSION input_iMCU_row
Definition: jpeglib.h:500
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
static jvirt_barray_ptr request_virt_barray(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION blocksperrow, JDIMENSION numrows, JDIMENSION maxaccess)
Definition: jmemmgr.cpp:553
J_DCT_METHOD dct_method
Definition: jpeglib.h:330
static JSAMPARRAY alloc_sarray(j_common_ptr cinfo, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows)
Definition: jmemmgr.cpp:395
JDIMENSION MCUs_per_row
Definition: jpeglib.h:605
boolean optimize_coding
Definition: jpeglib.h:327
Definition: jpeglib.h:215
Definition: jpeglib.h:416
void jpeg_CreateDecompress(j_decompress_ptr cinfo, int version, size_t structsize)
Definition: jdapimin.cpp:30
int h_samp_factor
Definition: jpeglib.h:127
uint8_t JFIF_minor_version
Definition: jpeglib.h:344
void jpeg_stdio_src(j_decompress_ptr cinfo, FILE *infile)
Definition: jdatasrc.cpp:182
static void term_source(j_decompress_ptr cinfo)
Definition: jdatasrc.cpp:169
int comps_in_scan
Definition: jpeglib.h:383
JDIMENSION output_iMCU_row
Definition: jpeglib.h:507
static void * alloc_small(j_common_ptr cinfo, int pool_id, size_t sizeofobject)
Definition: jmemmgr.cpp:257
boolean progressive_mode
Definition: jpeglib.h:543
Definition: jpeglib.h:239
Definition: jpegint.h:225
#define NUM_ARITH_TBLS
Definition: jpeglib.h:50
static void init_destination(j_compress_ptr cinfo)
Definition: jdatadst.cpp:43
unsigned int JDIMENSION
Definition: jmorecfg.h:171
int unread_marker
Definition: jpeglib.h:619
int blocks_in_MCU
Definition: jpeglib.h:608
uint8_t density_unit
Definition: jpeglib.h:559
jpeg_scan_info * script_space
Definition: jpeglib.h:409
#define const
Definition: zconf.h:217
unsigned int scale_num
Definition: jpeglib.h:437
char JOCTET
Definition: jmorecfg.h:115
uint8_t JFIF_major_version
Definition: jpeglib.h:343
uint16_t Y_density
Definition: jpeglib.h:351
boolean raw_data_in
Definition: jpeglib.h:325
Definition: jpeglib.h:105
const JOCTET * next_input_byte
Definition: jpeglib.h:731
struct jpeg_inverse_dct * idct
Definition: jpeglib.h:631
JOCTET * next_output_byte
Definition: jpeglib.h:719
static void error_exit(j_common_ptr cinfo)
Definition: jerror.cpp:71
J_COLOR_SPACE
Definition: jpeglib.h:211
boolean buffered_image
Definition: jpeglib.h:441
struct jpeg_entropy_decoder * entropy
Definition: jpeglib.h:630
void jpeg_set_defaults(j_compress_ptr cinfo)
Definition: jcparam.cpp:268
int last_col_width
Definition: jpeglib.h:173
Definition: jpeglib.h:761
JDIMENSION total_iMCU_rows
Definition: jpeglib.h:585
struct jpeg_marker_struct * jpeg_saved_marker_ptr
Definition: jpeglib.h:198
unsigned int original_length
Definition: jpeglib.h:203
struct jvirt_sarray_control * jvirt_sarray_ptr
Definition: jpeglib.h:757
Definition: jpeglib.h:216
#define MAX_COMPS_IN_SCAN
Definition: jpeglib.h:51
void jpeg_finish_compress(j_compress_ptr cinfo)
Definition: jcapimin.cpp:147
jpeg_component_info * comp_info
Definition: jpeglib.h:304
void jpeg_suppress_tables(j_compress_ptr cinfo, boolean suppress)
Definition: jcapimin.cpp:119
void jpeg_write_tables(j_compress_ptr cinfo)
Definition: jcapimin.cpp:254
struct jpeg_comp_master * master
Definition: jpeglib.h:400
J_COLOR_SPACE jpeg_color_space
Definition: jpeglib.h:428
Definition: jpeglib.h:223
JDIMENSION downsampled_height
Definition: jpeglib.h:160
int actual_number_of_colors
Definition: jpeglib.h:483
Definition: jpeglib.h:189
void jpeg_calc_output_dimensions(j_decompress_ptr cinfo)
Definition: jdmaster.cpp:84
int input_components
Definition: jpeglib.h:286
JDIMENSION image_width
Definition: jpeglib.h:284