Searched refs:ColorCount (Results 1 – 7 of 7) sorted by relevance
/external/giflib/ |
D | gifalloc.c | 40 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 …]
|
D | gif_lib.h | 41 int ColorCount; member 239 extern ColorMapObject *GifMakeMapObject(int ColorCount,
|
D | egif_lib.c | 297 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()
|
D | dgif_lib.c | 272 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/ |
D | SkImageDecoder_libgif.cpp | 129 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;
|
D | SkMovie_gif.cpp | 247 if (cmap == nullptr || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in drawFrame()
|
/external/skia/src/codec/ |
D | SkGifCodec.cpp | 411 colorCount = colorMap->ColorCount;
|