Searched refs:ColorARGB (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Messaging/jni/ |
D | GifTranscoder.h | 26 typedef uint32_t ColorARGB; typedef 62 ColorARGB* renderBuffer, 63 ColorARGB bgColor, 68 static void fillRect(ColorARGB* renderBuffer, 75 ColorARGB color); 80 ColorARGB* renderBuffer, 85 static ColorARGB computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4); 89 ColorARGB targetColor); 92 static int computeDistance(ColorARGB c1, ColorARGB c2); 98 static ColorARGB getColorARGB(ColorMapObject* colorMap, int transparentColorIndex, [all …]
|
D | GifTranscoder.cpp | 30 static const ColorARGB TRANSPARENT = 0x0; 147 std::unique_ptr<ColorARGB[]> renderBuffer(new ColorARGB[gifIn->SWidth * gifIn->SHeight]); in resizeBoxFilter() 160 ColorARGB bgColor = TRANSPARENT; in resizeBoxFilter() 359 ColorARGB* renderBuffer, in renderImage() 360 ColorARGB bgColor, in renderImage() 403 ColorARGB* renderPixel = getPixel(renderBuffer, gifIn->SWidth, renderX, renderY); in renderImage() 410 void GifTranscoder::fillRect(ColorARGB* renderBuffer, in fillRect() 417 ColorARGB color) { in fillRect() 423 ColorARGB* renderPixel = getPixel(renderBuffer, imageWidth, x + left, y + top); in fillRect() 431 ColorARGB* renderBuffer, in computeNewColorIndex() [all …]
|