Searched refs:maxColors (Results 1 – 9 of 9) sorted by relevance
/external/skia/tests/ |
D | CodecPriv.h | 24 int maxColors = 256; in decode_memory() local 27 colorTable.reset(new SkColorTable(colors, maxColors)); in decode_memory() 29 colorCountPtr = &maxColors; in decode_memory()
|
D | GifTest.cpp | 211 int maxColors = 256; in DEF_TEST() local 214 colorTable.reset(new SkColorTable(colors, maxColors)); in DEF_TEST() 216 colorCountPtr = &maxColors; in DEF_TEST()
|
/external/skia/src/codec/ |
D | SkBmpStandardCodec.cpp | 77 uint32_t maxColors = 1 << this->bitsPerPixel(); in createColorTable() local 82 *numColors = maxColors; in createColorTable() 86 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors); in createColorTable() 122 for (; i < maxColors; i++) { in createColorTable() 127 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
|
D | SkBmpRLECodec.cpp | 79 uint32_t maxColors = 1 << this->bitsPerPixel(); in createColorTable() local 84 *numColors = maxColors; in createColorTable() 88 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors); in createColorTable() 110 for (; i < maxColors; i++) { in createColorTable() 115 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
|
D | SkGifCodec.cpp | 393 const uint32_t maxColors = 256; local 399 *inputColorCount = maxColors; 440 for (uint32_t i = colorCount; i < maxColors; i++) { 444 sk_memset32(colorPtr, 0xFF000000, maxColors); 447 fColorTable.reset(new SkColorTable(colorPtr, maxColors));
|
D | SkPngCodec.cpp | 145 const int maxColors = 1 << fBitDepth; in decodePalette() local 146 if (numColors < maxColors) { in decodePalette() 148 sk_memset32(colorPtr + numColors, lastColor, maxColors - numColors); in decodePalette() 153 *ctableCount = maxColors; in decodePalette() 156 fColorTable.reset(new SkColorTable(colorPtr, maxColors)); in decodePalette()
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 62 int maxColors = 256; in decodeRegion() local 73 colorTable.reset(new SkColorTable(colors, maxColors)); in decodeRegion() 75 colorCountPtr = &maxColors; in decodeRegion()
|
/external/skia/fuzz/ |
D | fuzz.cpp | 142 int maxColors = 256; in fuzz_img() local 145 colorTable.reset(new SkColorTable(colors, maxColors)); in fuzz_img() 147 colorCountPtr = &maxColors; in fuzz_img()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 400 int maxColors = 256; in draw() local 403 colorTable.reset(new SkColorTable(colors, maxColors)); in draw() 405 colorCountPtr = &maxColors; in draw() 688 int maxColors = 256; in draw() local 691 colorTable.reset(new SkColorTable(colors, maxColors)); in draw() 693 colorCountPtr = &maxColors; in draw()
|