Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djcparam.c421 fill_scans (jpeg_scan_info * scanptr, int ncomps, in fill_scans() argument
427 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
440 fill_dc_scans (jpeg_scan_info * scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
445 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
447 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
448 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
456 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
470 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
479 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
484 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Drdswitch.c188 int scanno, ncomps, termchar; in read_scan_script() local
208 ncomps = 1; in read_scan_script()
210 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script()
218 scanptr->component_index[ncomps] = (int) val; in read_scan_script()
219 ncomps++; in read_scan_script()
221 scanptr->comps_in_scan = ncomps; in read_scan_script()
Djcmaster.c171 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
205 ncomps = scanptr->comps_in_scan; in validate_script()
206 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()
207 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()
208 for (ci = 0; ci < ncomps; ci++) { in validate_script()
242 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
245 for (ci = 0; ci < ncomps; ci++) { in validate_script()
268 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcparam.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 …]
Dfpdfapi_jcmaster.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/opencv3/3rdparty/libjpeg/
Djcparam.c517 fill_scans (jpeg_scan_info * scanptr, int ncomps, in fill_scans() argument
523 for (ci = 0; ci < ncomps; ci++) { in fill_scans()
536 fill_dc_scans (jpeg_scan_info * scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument
541 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans()
543 scanptr->comps_in_scan = ncomps; in fill_dc_scans()
544 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans()
552 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans()
566 int ncomps = cinfo->num_components; in jpeg_simple_progression() local
575 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
580 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression()
[all …]
Djcmaster.c364 int scanno, ncomps, ci, coefi, thisi; in validate_script() local
398 ncomps = scanptr->comps_in_scan; in validate_script()
399 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script()
400 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script()
401 for (ci = 0; ci < ncomps; ci++) { in validate_script()
435 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script()
438 for (ci = 0; ci < ncomps; ci++) { in validate_script()
461 for (ci = 0; ci < ncomps; ci++) { in validate_script()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp1452 void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) { in SetValue() argument
1453 if (ncomps > MAX_PATTERN_COLORCOMPS) { in SetValue()
1469 pvalue->m_nComps = ncomps; in SetValue()
1471 if (ncomps) { in SetValue()
1472 FXSYS_memcpy(pvalue->m_Comps, comps, ncomps * sizeof(FX_FLOAT)); in SetValue()
Dfpdf_page_parser_old.cpp256 int ncomps = pDecoder->CountComps(); in _DecodeAllScanlines() local
260 int pitch = (width * ncomps * bpc + 7) / 8; in _DecodeAllScanlines()
/external/opencv3/modules/features2d/src/
Dmser.cpp1064 int i, ncomps = (int)msers.size(); in detect() local
1067 for( i = 0; i < ncomps; i++ ) in detect()
/external/opencv3/modules/stitching/src/
Dseam_finders.cpp949 int ncomps = 0; in updateLabelsUsingSeam() local
954 floodFill(mask, Point(x, y), ++ncomps); in updateLabelsUsingSeam()
1015 for (int i = 1; i <= ncomps; ++i) in updateLabelsUsingSeam()
1043 std::vector<int> isAdjComp(ncomps + 1, 0); in updateLabelsUsingSeam()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h622 void SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comp, int ncomps);