Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsnamed.c544 v ->nColors = 0; in cmsAllocNamedColorList()
577 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList()
591 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR)); in cmsDupNamedColorList()
592 NewNC ->nColors = v ->nColors; in cmsDupNamedColorList()
606 if (NamedColorList ->nColors + 1 > NamedColorList ->Allocated) { in cmsAppendNamedColor()
611 …NamedColorList ->List[NamedColorList ->nColors].DeviceColorant[i] = Colorant == NULL ? (cmsUInt16N… in cmsAppendNamedColor()
614 …NamedColorList ->List[NamedColorList ->nColors].PCS[i] = PCS == NULL ? (cmsUInt16Number) 0 : PCS[i… in cmsAppendNamedColor()
618 strncpy(NamedColorList ->List[NamedColorList ->nColors].Name, Name, cmsMAX_PATH-1); in cmsAppendNamedColor()
619 NamedColorList ->List[NamedColorList ->nColors].Name[cmsMAX_PATH-1] = 0; in cmsAppendNamedColor()
623 NamedColorList ->List[NamedColorList ->nColors].Name[0] = 0; in cmsAppendNamedColor()
[all …]
Dcmsps2.c998 cmsUInt32Number i, nColors; in WriteNamedColorCSA() local
1014 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCSA()
1017 for (i=0; i < nColors; i++) { in WriteNamedColorCSA()
1414 cmsUInt32Number i, nColors, nColorant; in WriteNamedColorCRD() local
1437 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCRD()
1439 for (i=0; i < nColors; i++) { in WriteNamedColorCRD()
Dcmsvirt.c949 cmsUInt32Number i, nColors; in CreateNamedColorDevicelink() local
967 nColors = cmsNamedColorCount(Original); in CreateNamedColorDevicelink()
980 for (i=0; i < nColors; i++) { in CreateNamedColorDevicelink()
Dcmstypes.c3039 cmsUInt32Number i, nColors; in Type_ColorantTable_Write() local
3041 nColors = cmsNamedColorCount(NamedColorList); in Type_ColorantTable_Write()
3043 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_ColorantTable_Write()
3045 for (i=0; i < nColors; i++) { in Type_ColorantTable_Write()
3169 cmsUInt32Number i, nColors; in Type_NamedColor_Write() local
3171 nColors = cmsNamedColorCount(NamedColorList); in Type_NamedColor_Write()
3174 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_NamedColor_Write()
3185 for (i=0; i < nColors; i++) { in Type_NamedColor_Write()
Dlcms2_internal.h746 cmsUInt32Number nColors; member
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp296 int nColors, in PNG_PredictLine() argument
298 const uint32_t row_size = CalculatePitch8(bpc, nColors, nPixels).ValueOrDie(); in PNG_PredictLine()
299 const uint32_t BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()