Searched refs:colorTable (Results 1 - 16 of 16) sorted by relevance

/external/skia/tests/
H A DCodecPriv.h21 SkAutoTUnref<SkColorTable> colorTable(nullptr);
27 colorTable.reset(new SkColorTable(colors, maxColors));
28 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
32 bm->allocPixels(codec->getInfo(), nullptr, colorTable.get());
H A DGifTest.cpp208 SkAutoTUnref<SkColorTable> colorTable(nullptr);
214 colorTable.reset(new SkColorTable(colors, maxColors));
215 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
225 bm.allocPixels(codec->getInfo(), nullptr, colorTable.get());
/external/skia/src/codec/
H A DSkCodecPriv.h152 inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) { argument
153 return nullptr != colorTable ? colorTable->readColors() : nullptr;
179 inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable, argument
184 SkASSERT(nullptr != colorTable);
185 memcpy(inputColorPtr, colorTable->readColors(), *inputColorCount * sizeof(SkPMColor));
H A DSkBmpStandardCodec.cpp74 SkPMColor colorTable[256]; local
116 colorTable[i] = packARGB(alpha, red, green, blue);
123 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
127 fColorTable.reset(new SkColorTable(colorTable, maxColors));
H A DSkIcoCodec.cpp245 const Options& opts, SkPMColor* colorTable,
261 result = embeddedCodec->getPixels(dstInfo, dst, dstRowBytes, &opts, colorTable,
284 const SkCodec::Options& options, SkPMColor colorTable[], int* colorCount) {
294 result = embeddedCodec->startScanlineDecode(dstInfo, &options, colorTable, colorCount);
243 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts, SkPMColor* colorTable, int* colorCount, int* rowsDecoded) argument
283 onStartScanlineDecode(const SkImageInfo& dstInfo, const SkCodec::Options& options, SkPMColor colorTable[], int* colorCount) argument
H A DSkBmpRLECodec.cpp73 SkPMColor colorTable[256]; local
101 colorTable[i] = SkPackARGB32NoCheck(0xFF, red, green, blue);
108 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
112 fColorTable.reset(new SkColorTable(colorTable, maxColors));
/external/skia/bench/
H A DCodecBench.cpp52 SkPMColor colorTable[256]; local
65 &options, colorTable, &colorCount);
/external/skia/src/android/
H A DSkBitmapRegionCodec.cpp59 SkAutoTUnref<SkColorTable> colorTable(nullptr);
73 colorTable.reset(new SkColorTable(colors, maxColors));
74 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
103 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) {
/external/skia/fuzz/
H A Dfuzz.cpp139 SkAutoTUnref<SkColorTable> colorTable(nullptr);
145 colorTable.reset(new SkColorTable(colors, maxColors));
146 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
155 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) {
306 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes, colorTable.get(),
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp325 SkColorTable* colorTable = nullptr; local
328 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable);
331 SkAutoUnref aur(colorTable);
334 kIndex_8_SkColorType == colorType ? colorTable : nullptr)) {
379 if (colorTable != nullptr) {
397 const SkPMColor* colors = colorTable ? colorTable->readColors() : nullptr;
/external/skia/dm/
H A DDMSrcSink.cpp294 SkColorTable* colorTable = bitmap.getColorTable(); local
295 SkPMColor* colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
296 SkOpts::RGBA_to_rgbA(colorPtr, colorPtr, colorTable->count());
397 SkAutoTUnref<SkColorTable> colorTable(nullptr);
403 colorTable.reset(new SkColorTable(colors, maxColors));
404 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
416 if (!bitmap.tryAllocPixels(decodeInfo, factory, colorTable.get())) {
592 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes, colorTable.get(),
685 SkAutoTUnref<SkColorTable> colorTable(nullptr);
691 colorTable
[all...]
/external/skia/include/core/
H A DSkPixelRef.h51 /** Return the current colorTable (if any) if pixels are locked, or null.
53 SkColorTable* colorTable() const { return fRec.fColorTable; } function in class:SkPixelRef
/external/skia/src/core/
H A DSkBitmap.cpp176 fColorTable = fPixelRef->colorTable();
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/media/
H A DMochiKit.packed.js4419 this.colorTable=_47b(this.colorTable);
4435 var c=this.colorTable[_497];
4574 MochiKit.LoggingPane.LoggingPane.prototype={"logFont":"8pt Verdana,sans-serif","colorTable":{"ERROR":"red","FATAL":"darkred","WARNING":"blue","INFO":"black","DEBUG":"green"}};
/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 137 milliseconds