Searched refs:MAX_COMPS_IN_SCAN (Results 1 – 16 of 16) 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()
57 #define MAX_COMPS_IN_SCAN 4 /* JPEG limit on # of components in one scan */ macro200 int component_index[MAX_COMPS_IN_SCAN]; /* their SOF/comp_info[] indexes */440 jpeg_component_info *cur_comp_info[MAX_COMPS_IN_SCAN];672 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 */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()
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 */
211 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
299 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
347 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in compress_output()
41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */
40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */
103 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */
108 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */
198 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; in consume_data()
29 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */