Searched refs:MAX_COMPS_IN_SCAN (Results 1 – 15 of 15) sorted by relevance
220 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()221 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()340 if (cinfo->num_components > MAX_COMPS_IN_SCAN) in select_scan_parameters()342 MAX_COMPS_IN_SCAN); in select_scan_parameters()392 if (cinfo->comps_in_scan <= 0 || cinfo->comps_in_scan > MAX_COMPS_IN_SCAN) in per_scan_setup()394 MAX_COMPS_IN_SCAN); in per_scan_setup()
51 #define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ macro194 int component_index[MAX_COMPS_IN_SCAN]; /* their SOF/comp_info[] indexes */434 jpeg_component_info *cur_comp_info[MAX_COMPS_IN_SCAN];666 jpeg_component_info *cur_comp_info[MAX_COMPS_IN_SCAN];
183 if (cinfo->comps_in_scan <= 0 || cinfo->comps_in_scan > MAX_COMPS_IN_SCAN) in per_scan_setup()185 MAX_COMPS_IN_SCAN); in per_scan_setup()
445 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()484 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */52 #if MAX_COMPS_IN_SCAN == 4
39 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */50 #if MAX_COMPS_IN_SCAN == 4
41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */42 int dc_context[MAX_COMPS_IN_SCAN]; /* context index for DC conditioning */
321 if (length != (n * 2 + 6) || n < 1 || n > MAX_COMPS_IN_SCAN) in get_sos()328 for (i = 0; i < MAX_COMPS_IN_SCAN; i++) in get_sos()336 ci < cinfo->num_components && ci < MAX_COMPS_IN_SCAN; in get_sos()
211 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */41 int dc_context[MAX_COMPS_IN_SCAN]; /* context index for DC conditioning */
298 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
71 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */82 #if MAX_COMPS_IN_SCAN == 4
347 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
196 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in consume_data()
98 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */