Home
last modified time | relevance | path

Searched refs:ncomps (Results 1 – 6 of 6) sorted by relevance

/external/qemu/distrib/jpeg-6b/
Djcparam.c496 fill_scans (jpeg_scan_info * scanptr, int ncomps, in fill_scans() argument
502 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
515 fill_dc_scans (jpeg_scan_info * scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
520 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
522 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
523 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
531 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
545 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
554 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
559 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c176 int scanno, ncomps, termchar; in read_scan_script() local
196 ncomps = 1; in read_scan_script()
198 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
206 scanptr->component_index[ncomps] = (int) val; in read_scan_script()
207 ncomps++; in read_scan_script()
209 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c136 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
170 ncomps = scanptr->comps_in_scan; in validate_script()
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()
173 for (ci = 0; ci < ncomps; ci++) { in validate_script()
207 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
210 for (ci = 0; ci < ncomps; ci++) { in validate_script()
233 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/external/jpeg/
Djcparam.c490 fill_scans (jpeg_scan_info * scanptr, int ncomps, in fill_scans() argument
496 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
509 fill_dc_scans (jpeg_scan_info * scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
514 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
516 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
517 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
525 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
539 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
548 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
553 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c176 int scanno, ncomps, termchar; in read_scan_script() local
196 ncomps = 1; in read_scan_script()
198 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
206 scanptr->component_index[ncomps] = (int) val; in read_scan_script()
207 ncomps++; in read_scan_script()
209 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c136 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
170 ncomps = scanptr->comps_in_scan; in validate_script()
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()
173 for (ci = 0; ci < ncomps; ci++) { in validate_script()
207 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
210 for (ci = 0; ci < ncomps; ci++) { in validate_script()
233 for (ci = 0; ci < ncomps; ci++) { in validate_script()