Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsnamed.c539 v ->nColors = 0; in cmsAllocNamedColorList()
572 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList()
586 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR)); in cmsDupNamedColorList()
587 NewNC ->nColors = v ->nColors; in cmsDupNamedColorList()
601 if (NamedColorList ->nColors + 1 > NamedColorList ->Allocated) { in cmsAppendNamedColor()
606 …NamedColorList ->List[NamedColorList ->nColors].DeviceColorant[i] = Colorant == NULL? 0 : Colorant… in cmsAppendNamedColor()
609 NamedColorList ->List[NamedColorList ->nColors].PCS[i] = PCS == NULL ? 0 : PCS[i]; in cmsAppendNamedColor()
613 strncpy(NamedColorList ->List[NamedColorList ->nColors].Name, Name, cmsMAX_PATH-1); in cmsAppendNamedColor()
614 NamedColorList ->List[NamedColorList ->nColors].Name[cmsMAX_PATH-1] = 0; in cmsAppendNamedColor()
618 NamedColorList ->List[NamedColorList ->nColors].Name[0] = 0; in cmsAppendNamedColor()
[all …]
Dcmsps2.c999 int i, nColors; in WriteNamedColorCSA() local
1015 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCSA()
1018 for (i=0; i < nColors; i++) { in WriteNamedColorCSA()
1415 int i, nColors, nColorant; in WriteNamedColorCRD() local
1438 nColors = cmsNamedColorCount(NamedColorList); in WriteNamedColorCRD()
1440 for (i=0; i < nColors; i++) { in WriteNamedColorCRD()
Dcmsvirt.c941 int i, nColors; in CreateNamedColorDevicelink() local
959 nColors = cmsNamedColorCount(Original); in CreateNamedColorDevicelink()
972 for (i=0; i < nColors; i++) { in CreateNamedColorDevicelink()
Dcmstypes.c3028 int i, nColors; in Type_ColorantTable_Write() local
3030 nColors = cmsNamedColorCount(NamedColorList); in Type_ColorantTable_Write()
3032 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_ColorantTable_Write()
3034 for (i=0; i < nColors; i++) { in Type_ColorantTable_Write()
3156 int i, nColors; in Type_NamedColor_Write() local
3158 nColors = cmsNamedColorCount(NamedColorList); in Type_NamedColor_Write()
3161 if (!_cmsWriteUInt32Number(io, nColors)) return FALSE; in Type_NamedColor_Write()
3172 for (i=0; i < nColors; i++) { in Type_NamedColor_Write()
Dlcms2_internal.h694 cmsUInt32Number nColors; member
/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp294 int nColors, in PNG_PredictLine() argument
296 int row_size = (nPixels * bpc * nColors + 7) / 8; in PNG_PredictLine()
297 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()