Home
last modified time | relevance | path

Searched refs:SColorMap (Results 1 – 4 of 4) sorted by relevance

/external/giflib/
Ddgif_lib.c259 GifFile->SColorMap = MakeMapObject(1 << BitsPerPixel, NULL); in DGifGetScreenDesc()
260 if (GifFile->SColorMap == NULL) { in DGifGetScreenDesc()
266 for (i = 0; i < GifFile->SColorMap->ColorCount; i++) { in DGifGetScreenDesc()
268 FreeMapObject(GifFile->SColorMap); in DGifGetScreenDesc()
269 GifFile->SColorMap = NULL; in DGifGetScreenDesc()
273 GifFile->SColorMap->Colors[i].Red = Buf[0]; in DGifGetScreenDesc()
274 GifFile->SColorMap->Colors[i].Green = Buf[1]; in DGifGetScreenDesc()
275 GifFile->SColorMap->Colors[i].Blue = Buf[2]; in DGifGetScreenDesc()
278 GifFile->SColorMap = NULL; in DGifGetScreenDesc()
593 if (GifFile->SColorMap) {
[all …]
Dgif_lib.h88 ColorMapObject *SColorMap; /* NULL if not exists. */ member
/external/skia/src/images/
DSkMovie_gif.cpp385 if (gif->SColorMap != NULL) { in onGetBitmap()
386 const GifColorType& col = gif->SColorMap->Colors[fGIF->SBackGroundColor]; in onGetBitmap()
398 if (!trans && gif->SColorMap != NULL) { in onGetBitmap()
416 drawFrame(bm, cur, gif->SColorMap); in onGetBitmap()
DSkImageDecoder_libgif.cpp110 cmap = gif->SColorMap; in find_colormap()