Home
last modified time | relevance | path

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

/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/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.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/webrtc/webrtc/modules/video_processing/test/
DcreateTable.m131 fprintf(fid,'// Umod=colorTable[U][V]\n');
132 fprintf(fid,'// Vmod=colorTable[V][U]\n');
134 fprintf(fid,'static unsigned char colorTable[%i][%i] = {\n', size(U,1), size(U,2));
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp765 std::ostringstream colorTable; in initPrograms() local
769 colorTable << " const vec4 colors[" << numColors << "] = vec4[" << numColors << "]("; in initPrograms()
771 const std::string padding(colorTable.str().length(), ' '); in initPrograms()
774 colorTable << (i != 0 ? ",\n" + padding : "") << toGlsl(s_colors[i]); in initPrograms()
776 colorTable << ");\n"; in initPrograms()
815 src << colorTable.str() in initPrograms()
882 src << colorTable.str() in initPrograms()
941 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