Searched refs:MAX_COMPS_IN_SCAN (Results 1 – 13 of 13) sorted by relevance
171 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()172 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()292 if (cinfo->num_components > MAX_COMPS_IN_SCAN) in select_scan_parameters()294 MAX_COMPS_IN_SCAN); in select_scan_parameters()344 if (cinfo->comps_in_scan <= 0 || cinfo->comps_in_scan > MAX_COMPS_IN_SCAN) in per_scan_setup()346 MAX_COMPS_IN_SCAN); in per_scan_setup()
46 #define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ macro186 int component_index[MAX_COMPS_IN_SCAN]; /* their SOF/comp_info[] indexes */383 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];605 jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
159 if (cinfo->comps_in_scan <= 0 || cinfo->comps_in_scan > MAX_COMPS_IN_SCAN) in per_scan_setup()161 MAX_COMPS_IN_SCAN); in per_scan_setup()
514 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()553 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
34 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */45 #if MAX_COMPS_IN_SCAN == 4
198 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
33 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */44 #if MAX_COMPS_IN_SCAN == 4
32 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */43 #if MAX_COMPS_IN_SCAN == 4
286 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
347 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
261 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in consume_data()458 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in consume_data_build_huffman_index_progressive()
40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */
318 if (length != (n * 2 + 6) || n < 1 || n > MAX_COMPS_IN_SCAN) in get_sos()