Searched refs:ncomps (Results 1 – 8 of 8) sorted by relevance
/external/libjpeg-turbo/ |
D | jcparam.c | 422 fill_scans (jpeg_scan_info *scanptr, int ncomps, in fill_scans() argument 428 for (ci = 0; ci < ncomps; ci++) { in fill_scans() 441 fill_dc_scans (jpeg_scan_info *scanptr, int ncomps, int Ah, int Al) in fill_dc_scans() argument 446 if (ncomps <= MAX_COMPS_IN_SCAN) { in fill_dc_scans() 448 scanptr->comps_in_scan = ncomps; in fill_dc_scans() 449 for (ci = 0; ci < ncomps; ci++) in fill_dc_scans() 457 scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al); in fill_dc_scans() 471 int ncomps = cinfo->num_components; in jpeg_simple_progression() local 480 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression() 485 if (ncomps > MAX_COMPS_IN_SCAN) in jpeg_simple_progression() [all …]
|
D | rdswitch.c | 190 int scanno, ncomps, termchar; in read_scan_script() local 210 ncomps = 1; in read_scan_script() 212 if (ncomps >= MAX_COMPS_IN_SCAN) { in read_scan_script() 220 scanptr->component_index[ncomps] = (int) val; in read_scan_script() 221 ncomps++; in read_scan_script() 223 scanptr->comps_in_scan = ncomps; in read_scan_script()
|
D | jcmaster.c | 183 int scanno, ncomps, ci, coefi, thisi; in validate_script() local 217 ncomps = scanptr->comps_in_scan; in validate_script() 218 if (ncomps <= 0 || ncomps > MAX_COMPS_IN_SCAN) in validate_script() 219 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, ncomps, MAX_COMPS_IN_SCAN); in validate_script() 220 for (ci = 0; ci < ncomps; ci++) { in validate_script() 254 if (ncomps != 1) /* AC scans must be for only one component */ in validate_script() 257 for (ci = 0; ci < ncomps; ci++) { in validate_script() 280 for (ci = 0; ci < ncomps; ci++) { in validate_script()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jcparam.c | 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() [all …]
|
D | fpdfapi_jcmaster.c | 136 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/pdfium/core/fpdfapi/page/ |
D | cpdf_color.cpp | 77 void CPDF_Color::SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comps, int ncomps) { in SetValue() argument 78 if (ncomps > MAX_PATTERN_COLORCOMPS) in SetValue() 94 pvalue->m_nComps = ncomps; in SetValue() 96 if (ncomps) in SetValue() 97 FXSYS_memcpy(pvalue->m_Comps, comps, ncomps * sizeof(FX_FLOAT)); in SetValue()
|
D | cpdf_color.h | 27 void SetValue(CPDF_Pattern* pPattern, FX_FLOAT* comp, int ncomps);
|
D | cpdf_streamparser.cpp | 41 int ncomps = pDecoder->CountComps(); in DecodeAllScanlines() local 45 int pitch = (width * ncomps * bpc + 7) / 8; in DecodeAllScanlines()
|