Home
last modified time | relevance | path

Searched refs:colorMap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/jni/
DGifTranscoder.cpp361 ColorMapObject* colorMap = getColorMap(gifIn); in renderImage() local
362 if (colorMap == NULL) { in renderImage()
394 *renderPixel = getColorARGB(colorMap, transparentColorIndex, colorIndex); in renderImage()
424 ColorMapObject* colorMap = getColorMap(gifIn); in computeNewColorIndex() local
434 return findBestColor(colorMap, transparentColorIndex, avgColor); in computeNewColorIndex()
449 GifByteType GifTranscoder::findBestColor(ColorMapObject* colorMap, int transparentColorIndex, in findBestColor() argument
459 for (int i = 0; i < colorMap->ColorCount; i++) { in findBestColor()
464 ColorARGB indexedColor = gifColorToColorARGB(colorMap->Colors[i]); in findBestColor()
487 ColorARGB GifTranscoder::getColorARGB(ColorMapObject* colorMap, int transparentColorIndex, in getColorARGB() argument
492 return gifColorToColorARGB(colorMap->Colors[colorIndex]); in getColorARGB()
DGifTranscoder.h88 static GifByteType findBestColor(ColorMapObject* colorMap, int transparentColorIndex,
98 static ColorARGB getColorARGB(ColorMapObject* colorMap, int transparentColorIndex,