Searched refs:nColors (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmsnamed.c | 514 v ->nColors = 0; in cmsAllocNamedColorList() 543 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList() 553 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR)); in cmsDupNamedColorList() 554 NewNC ->nColors = v ->nColors; in cmsDupNamedColorList() 568 if (NamedColorList ->nColors + 1 > NamedColorList ->Allocated) { in cmsAppendNamedColor() 573 …NamedColorList ->List[NamedColorList ->nColors].DeviceColorant[i] = Colorant == NULL? 0 : Colorant… in cmsAppendNamedColor() 576 NamedColorList ->List[NamedColorList ->nColors].PCS[i] = PCS == NULL ? 0 : PCS[i]; in cmsAppendNamedColor() 580 strncpy(NamedColorList ->List[NamedColorList ->nColors].Name, Name, cmsMAX_PATH-1); in cmsAppendNamedColor() 581 NamedColorList ->List[NamedColorList ->nColors].Name[cmsMAX_PATH-1] = 0; in cmsAppendNamedColor() 585 NamedColorList ->List[NamedColorList ->nColors].Name[0] = 0; in cmsAppendNamedColor() [all …]
|
D | cmsps2.c | 999 int i, nColors; in WriteNamedColorCSA() local 1015 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCSA() 1018 for (i=0; i < nColors; i++) { in WriteNamedColorCSA() 1414 int i, nColors, nColorant; in WriteNamedColorCRD() local 1437 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCRD() 1439 for (i=0; i < nColors; i++) { in WriteNamedColorCRD()
|
D | cmsvirt.c | 934 int i, nColors; in CreateNamedColorDevicelink() local 952 nColors = cmsNamedColorCount(Original); in CreateNamedColorDevicelink() 965 for (i=0; i < nColors; i++) { in CreateNamedColorDevicelink()
|
D | cmstypes.c | 3008 int i, nColors; in Type_ColorantTable_Write() local 3010 nColors = cmsNamedColorCount(NamedColorList); in Type_ColorantTable_Write() 3012 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_ColorantTable_Write() 3014 for (i=0; i < nColors; i++) { in Type_ColorantTable_Write() 3133 int i, nColors; in Type_NamedColor_Write() local 3135 nColors = cmsNamedColorCount(NamedColorList); in Type_NamedColor_Write() 3138 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_NamedColor_Write() 3149 for (i=0; i < nColors; i++) { in Type_NamedColor_Write()
|
D | lcms2_internal.h | 681 cmsUInt32Number nColors; member
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_flate.cpp | 338 int nColors, in PNG_PredictLine() argument 340 int row_size = (nPixels * bpc * nColors + 7) / 8; in PNG_PredictLine() 341 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()
|