• Home
  • Raw
  • Download

Lines Matching refs:ncomps

496 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()
560 nscans = 6 * ncomps; /* 2 DC + 4 AC scans per component */ in jpeg_simple_progression()
562 nscans = 2 + 4 * ncomps; /* 2 DC scans; 4 AC scans per component */ in jpeg_simple_progression()
582 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
585 scanptr = fill_dc_scans(scanptr, ncomps, 0, 1); in jpeg_simple_progression()
596 scanptr = fill_dc_scans(scanptr, ncomps, 1, 0); in jpeg_simple_progression()
605 scanptr = fill_dc_scans(scanptr, ncomps, 0, 1); in jpeg_simple_progression()
606 scanptr = fill_scans(scanptr, ncomps, 1, 5, 0, 2); in jpeg_simple_progression()
607 scanptr = fill_scans(scanptr, ncomps, 6, 63, 0, 2); in jpeg_simple_progression()
609 scanptr = fill_scans(scanptr, ncomps, 1, 63, 2, 1); in jpeg_simple_progression()
611 scanptr = fill_dc_scans(scanptr, ncomps, 1, 0); in jpeg_simple_progression()
612 scanptr = fill_scans(scanptr, ncomps, 1, 63, 1, 0); in jpeg_simple_progression()