Searched defs:colorTable (Results 1 - 12 of 12) sorted by relevance

/external/skia/bench/
H A DCodecBench.cpp54 SkPMColor colorTable[256]; local
67 &options, colorTable, &colorCount);
/external/skia/include/core/
H A DSkPixelRef.h50 /** Return the current colorTable (if any) if pixels are locked, or null.
52 SkColorTable* colorTable() const { return fRec.fColorTable; } function in class:SkPixelRef
/external/skia/src/codec/
H A DSkIcoCodec.cpp250 const Options& opts, SkPMColor* colorTable,
266 result = embeddedCodec->getPixels(dstInfo, dst, dstRowBytes, &opts, colorTable, colorCount);
287 const SkCodec::Options& options, SkPMColor colorTable[], int* colorCount) {
297 result = embeddedCodec->startScanlineDecode(dstInfo, &options, colorTable, colorCount);
323 SkPMColor* colorTable, int* colorCount) {
333 pixels, rowBytes, &options, colorTable, colorCount)) {
352 colorTable, colorCount) == kSuccess) {
248 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts, SkPMColor* colorTable, int* colorCount, int* rowsDecoded) argument
286 onStartScanlineDecode(const SkImageInfo& dstInfo, const SkCodec::Options& options, SkPMColor colorTable[], int* colorCount) argument
321 onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, const SkCodec::Options& options, SkPMColor* colorTable, int* colorCount) argument
H A DSkBmpRLECodec.cpp69 SkPMColor colorTable[256]; local
98 colorTable[i] = packARGB(0xFF, red, green, blue);
105 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
109 fColorTable.reset(new SkColorTable(colorTable, maxColors));
258 // Just set a known colorType for the colorTable. No need to actually transform
259 // the colors in the colorTable since we do not allow decoding RLE to kIndex8.
H A DSkBmpStandardCodec.cpp72 SkPMColor colorTable[256]; local
117 colorTable[i] = packARGB(alpha, red, green, blue);
124 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
132 SkAssertResult(this->colorXform()->apply(dstFormat, colorTable, srcFormat, colorTable,
137 fColorTable.reset(new SkColorTable(colorTable, maxColors));
H A DSkCodecPriv.h115 static inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) { argument
116 return nullptr != colorTable ? colorTable->readColors() : nullptr;
154 static inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable, argument
159 SkASSERT(nullptr != colorTable);
160 memcpy(inputColorPtr, colorTable->readColors(), *inputColorCount * sizeof(SkPMColor));
H A DSkPngCodec.cpp258 SkPMColor colorTable[256]; local
276 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue);
291 SkOpts::RGB_to_RGB1(colorTable + numColorsWithAlpha, palette,
294 SkOpts::RGB_to_BGR1(colorTable + numColorsWithAlpha, palette,
306 SkAssertResult(this->colorXform()->apply(dstFormat, colorTable, srcFormat, colorTable,
314 SkPMColor lastColor = numColors > 0 ? colorTable[numColors - 1] : SK_ColorBLACK;
315 sk_memset32(colorTable + numColors, lastColor, maxColors - numColors);
323 fColorTable.reset(new SkColorTable(colorTable, maxColors));
/external/skia/src/images/
H A DSkPNGImageEncoder.cpp340 SkColorTable* colorTable = pixmap.ctable(); local
341 SkASSERT(colorTable);
342 int numTrans = pack_palette(colorTable, paletteColors, trans, pixmap.info(),
344 png_set_PLTE(png_ptr, info_ptr, paletteColors, colorTable->count());
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp681 std::ostringstream colorTable; local
685 colorTable << " const vec4 colors[" << numColors << "] = vec4[" << numColors << "](";
687 const std::string padding(colorTable.str().length(), ' ');
690 colorTable << (i != 0 ? ",\n" + padding : "") << toGlsl(s_colors[i]);
692 colorTable << ");\n";
731 src << colorTable.str()
798 src << colorTable.str()
/external/skia/dm/
H A DDMSrcSink.cpp327 SkColorTable* colorTable = bitmap.getColorTable(); local
328 SkPMColor* colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
329 SkOpts::RGBA_to_rgbA(colorPtr, colorPtr, colorTable->count());
395 sk_sp<SkColorTable> colorTable(new SkColorTable(colorPtr, colorCount));
397 bitmap.installPixels(info, pixels, rowBytes, colorTable.get(), nullptr, nullptr);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 291 milliseconds