Home
last modified time | relevance | path

Searched refs:colorTable (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/codec/
DSkBmpStandardCodec.cpp68 SkPMColor colorTable[256]; in createColorTable() local
107 colorTable[i] = packARGB(alpha, red, green, blue); in createColorTable()
114 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0); in createColorTable()
118 this->applyColorXform(colorTable, colorTable, maxColors); in createColorTable()
122 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
DSkCodecPriv.h107 static inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) { in get_color_ptr() argument
108 return nullptr != colorTable ? colorTable->readColors() : nullptr; in get_color_ptr()
DSkPngCodec.cpp268 SkPMColor colorTable[256]; in createColorTable() local
284 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue); in createColorTable()
299 SkOpts::RGB_to_RGB1(colorTable + numColorsWithAlpha, (const uint8_t*)palette, in createColorTable()
302 SkOpts::RGB_to_BGR1(colorTable + numColorsWithAlpha, (const uint8_t*)palette, in createColorTable()
308 this->applyColorXform(colorTable, colorTable, numColors); in createColorTable()
315 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK; in createColorTable()
316 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors); in createColorTable()
319 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
DSkBmpRLECodec.cpp71 SkPMColor colorTable[256]; in createColorTable() local
94 colorTable[i] = packARGB(0xFF, red, green, blue); in createColorTable()
101 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0); in createColorTable()
105 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
/external/skqp/src/codec/
DSkBmpStandardCodec.cpp68 SkPMColor colorTable[256]; in createColorTable() local
107 colorTable[i] = packARGB(alpha, red, green, blue); in createColorTable()
114 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0); in createColorTable()
118 this->applyColorXform(colorTable, colorTable, maxColors); in createColorTable()
122 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
DSkCodecPriv.h107 static inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) { in get_color_ptr() argument
108 return nullptr != colorTable ? colorTable->readColors() : nullptr; in get_color_ptr()
DSkPngCodec.cpp269 SkPMColor colorTable[256]; in createColorTable() local
285 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue); in createColorTable()
300 SkOpts::RGB_to_RGB1(colorTable + numColorsWithAlpha, (const uint8_t*)palette, in createColorTable()
303 SkOpts::RGB_to_BGR1(colorTable + numColorsWithAlpha, (const uint8_t*)palette, in createColorTable()
309 this->applyColorXform(colorTable, colorTable, numColors); in createColorTable()
316 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK; in createColorTable()
317 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors); in createColorTable()
320 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
DSkBmpRLECodec.cpp68 SkPMColor colorTable[256]; in createColorTable() local
91 colorTable[i] = packARGB(0xFF, red, green, blue); in createColorTable()
98 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0); in createColorTable()
102 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
/external/pdfium/core/fxcrt/css/
Dcfx_cssdata.cpp268 const CFX_CSSData::Color colorTable[] = { variable
341 for (auto* iter = std::begin(colorTable); iter != std::end(colorTable); in GetColorByName()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp903 std::ostringstream colorTable; in initPrograms() local
907 colorTable << " const vec4 colors[" << numColors << "] = vec4[" << numColors << "]("; in initPrograms()
909 const std::string padding(colorTable.str().length(), ' '); in initPrograms()
912 colorTable << (i != 0 ? ",\n" + padding : "") << toGlsl(s_colors[i]); in initPrograms()
914 colorTable << ");\n"; in initPrograms()
961 src << colorTable.str() in initPrograms()
1038 src << colorTable.str() in initPrograms()
1107 src << colorTable.str() in initPrograms()
/external/python/cpython2/Mac/scripts/
Derrors.txt1662 -154 cProtectErr colorTable entry protection violation
1663 -153 cRangeErr range error on colorTable request