Home
last modified time | relevance | path

Searched refs:ColorCount (Results 1 – 7 of 7) sorted by relevance

/external/giflib/
Dgifalloc.c40 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap) in GifMakeMapObject() argument
46 if (ColorCount != (1 << GifBitSize(ColorCount))) { in GifMakeMapObject()
55 Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType)); in GifMakeMapObject()
61 Object->ColorCount = ColorCount; in GifMakeMapObject()
62 Object->BitsPerPixel = GifBitSize(ColorCount); in GifMakeMapObject()
67 (char *)ColorMap, ColorCount * sizeof(GifColorType)); in GifMakeMapObject()
91 int i, j, Len = Object->ColorCount; in DumpColorMap()
128 ColorUnion = GifMakeMapObject(MAX(ColorIn1->ColorCount, in GifUnionColorMap()
129 ColorIn2->ColorCount) * 2, NULL); in GifUnionColorMap()
137 for (i = 0; i < ColorIn1->ColorCount; i++) in GifUnionColorMap()
[all …]
Dgif_lib.h41 int ColorCount; member
239 extern ColorMapObject *GifMakeMapObject(int ColorCount,
Degif_lib.c297 GifFile->SColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutScreenDesc()
331 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutScreenDesc()
386 GifFile->Image.ColorMap = GifMakeMapObject(ColorMap->ColorCount, in EGifPutImageDesc()
411 for (i = 0; i < ColorMap->ColorCount; i++) { in EGifPutImageDesc()
Ddgif_lib.c272 for (i = 0; i < GifFile->SColorMap->ColorCount; i++) { in DGifGetScreenDesc()
379 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) { in DGifGetImageDesc()
414 GifFile->Image.ColorMap->ColorCount, in DGifGetImageDesc()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp129 if (cmap && ((unsigned)cmap->ColorCount > 256 || in find_colormap()
130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { in find_colormap()
341 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel)));
342 colorCount = cmap->ColorCount;
DSkMovie_gif.cpp247 if (cmap == nullptr || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in drawFrame()
/external/skia/src/codec/
DSkGifCodec.cpp411 colorCount = colorMap->ColorCount;