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

/external/skia/src/codec/
H A DSkCodecPriv.h38 static inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable, argument
43 SkASSERT(NULL != colorTable);
44 sk_memcpy32(inputColorPtr, colorTable->readColors(), *inputColorCount);
H A DSkCodec_libgif.cpp341 SkPMColor* colorTable; local
346 colorTable = inputColorPtr;
348 colorTable = alternateColorPtr;
366 colorTable[i] = SkPackARGB32(0xFF,
389 colorTable[transIndex] = SK_ColorTRANSPARENT;
403 ((kN32_SkColorType == dstColorType && colorTable[fillIndex] == 0) ||
411 colorTable[i] = colorTable[fillIndex];
427 SkSwizzler::Fill(dst, dstInfo, dstRowBytes, height, fillIndex, colorTable);
439 SkSwizzler::kIndex, colorTable, subsetDstInf
[all...]
H A DSkSwizzler.h142 * @param colorTable
144 * index, and colorTable is ignored. Each 8-bit pixel will be set to (uint8_t)
148 * whether colorTable is NULL:
150 * A NULL colorTable means colorOrIndex is treated as an SkPMColor (premul or
154 * A non-NULL colorTable means colorOrIndex is treated as a uint8_t index into
155 * the colorTable. i.e. each 4-byte pixel will be set to
156 * colorTable[(uint8_t) colorOrIndex].
164 uint32_t numRows, uint32_t colorOrIndex, const SkPMColor* colorTable);
H A DSkSwizzler.cpp459 uint32_t numRows, uint32_t colorOrIndex, const SkPMColor* colorTable) {
471 if (NULL != colorTable) {
473 color = colorTable[colorOrIndex];
458 Fill(void* dstStartRow, const SkImageInfo& dstInfo, size_t dstRowBytes, uint32_t numRows, uint32_t colorOrIndex, const SkPMColor* colorTable) argument
H A DSkCodec_libbmp.cpp630 SkPMColor colorTable[256]; local
687 colorTable[i] = packARGB(alpha, red, green, blue);
694 colorTable[i] = SkPackARGB32NoCheck(0xFF, 0, 0, 0);
698 fColorTable.reset(SkNEW_ARGS(SkColorTable, (colorTable, maxColors)));
/external/skia/tests/
H A DSwizzlerTest.cpp22 SkPMColor* colorTable) {
40 colorTable);
73 SkPMColor colorTable[kFillIndex + 1]; local
74 colorTable[kFillIndex] = kFillColor;
115 kFillIndex, colorTable);
15 check_fill(skiatest::Reporter* r, const SkImageInfo& imageInfo, uint32_t startRow, uint32_t endRow, size_t rowBytes, uint32_t offset, uint32_t colorOrIndex, SkPMColor* colorTable) argument
/external/skia/bench/
H A DCodecBench.cpp67 SkPMColor colorTable[256]; local
76 NULL, colorTable, &colorCount);
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp353 SkColorTable* colorTable = NULL; local
356 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable);
359 SkAutoUnref aur(colorTable);
362 kIndex_8_SkColorType == colorType ? colorTable : NULL)) {
407 if (colorTable != NULL) {
425 const SkPMColor* colors = colorTable ? colorTable->readColors() : NULL;
810 SkColorTable* colorTable = NULL; local
813 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable);
816 SkAutoUnref aur(colorTable);
[all...]
/external/skia/include/core/
H A DSkPixelRef.h67 /** Return the current colorTable (if any) if pixels are locked, or null.
69 SkColorTable* colorTable() const { return fRec.fColorTable; } function in class:SkPixelRef
/external/skia/dm/
H A DDMSrcSink.cpp107 SkAutoTUnref<SkColorTable> colorTable(NULL);
113 colorTable.reset(SkNEW_ARGS(SkColorTable, (colors, maxColors)));
114 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
124 if (!bitmap.tryAllocPixels(decodeInfo, NULL, colorTable.get())) {
/external/skia/src/core/
H A DSkBitmap.cpp167 fColorTable = fPixelRef->colorTable();
/external/skia/experimental/PdfViewer/src/
H A DSkPdfRenderer.cpp525 SkAutoTUnref<SkColorTable> colorTable(new SkColorTable(colors, cnt));
526 bitmap->installPixels(info, (void*)uncompressedStream, info.minRowBytes(), colorTable,
/external/chromium-trace/trace-viewer/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 493 milliseconds