Lines Matching refs:ncomps
490 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()
554 nscans = 6 * ncomps; /* 2 DC + 4 AC scans per component */ in jpeg_simple_progression()
556 nscans = 2 + 4 * ncomps; /* 2 DC scans; 4 AC scans per component */ in jpeg_simple_progression()
576 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
579 scanptr = fill_dc_scans(scanptr, ncomps, 0, 1); in jpeg_simple_progression()
590 scanptr = fill_dc_scans(scanptr, ncomps, 1, 0); in jpeg_simple_progression()
599 scanptr = fill_dc_scans(scanptr, ncomps, 0, 1); in jpeg_simple_progression()
600 scanptr = fill_scans(scanptr, ncomps, 1, 5, 0, 2); in jpeg_simple_progression()
601 scanptr = fill_scans(scanptr, ncomps, 6, 63, 0, 2); in jpeg_simple_progression()
603 scanptr = fill_scans(scanptr, ncomps, 1, 63, 2, 1); in jpeg_simple_progression()
605 scanptr = fill_dc_scans(scanptr, ncomps, 1, 0); in jpeg_simple_progression()
606 scanptr = fill_scans(scanptr, ncomps, 1, 63, 1, 0); in jpeg_simple_progression()