HomeSort by relevance Sort by last modified time
    Searched refs:colorTable (Results 1 - 25 of 29) sorted by null

1 2

  /external/skia/tests/
CodecPriv.h 21 sk_sp<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());
GifTest.cpp 242 sk_sp<SkColorTable> colorTable(nullptr);
248 colorTable.reset(new SkColorTable(colors, maxColors));
249 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
259 bm.allocPixels(codec->getInfo(), nullptr, colorTable.get());
297 sk_sp<SkColorTable> colorTable(nullptr);
301 colorTable.reset(new SkColorTable(colors, maxColors));
302 options.fColorPtr = const_cast<SkPMColor*>(colorTable->readColors());
309 bm.allocPixels(colorTable.get());
CodecTest.cpp 703 sk_sp<SkColorTable> colorTable(new SkColorTable(colorStorage, 256));
704 bm.allocPixels(info, nullptr, colorTable.get());
    [all...]
  /external/skia/bench/
CodecBench.cpp 54 SkPMColor colorTable[256];
67 &options, colorTable, &colorCount);
  /external/skia/src/android/
SkBitmapRegionCodec.cpp 61 sk_sp<SkColorTable> colorTable(nullptr);
65 colorTable.reset(new SkColorTable(colors, maxColors));
93 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) {
129 colorTable->dangerous_overwriteColors(colors, maxColors);
  /external/skia/src/codec/
SkCodecPriv.h 115 static inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) {
116 return nullptr != colorTable ? colorTable->readColors() : nullptr;
154 static inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable,
159 SkASSERT(nullptr != colorTable);
160 memcpy(inputColorPtr, colorTable->readColors(), *inputColorCount * sizeof(SkPMColor));
SkIcoCodec.cpp 250 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) {
SkBmpStandardCodec.cpp 72 SkPMColor colorTable[256];
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));
SkBmpRLECodec.cpp 69 SkPMColor colorTable[256];
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.
SkPngCodec.cpp 258 SkPMColor colorTable[256];
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));
    [all...]
  /external/skia/src/images/
SkPNGImageEncoder.cpp 336 // set our colortable/trans arrays if needed
340 SkColorTable* colorTable = pixmap.ctable();
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/skia/include/core/
SkPixelRef.h 50 /** Return the current colorTable (if any) if pixels are locked, or null.
52 SkColorTable* colorTable() const { return fRec.fColorTable; }
338 * the memory for the pixels. If the ImageInfo requires a ColorTable,
339 * the pixelref will ref() the colortable.
  /external/skia/gm/
encode-srgb.cpp 70 sk_sp<SkColorTable> colorTable(new SkColorTable(pmColors, SK_ARRAY_COUNT(pmColors)));
73 bitmap->allocPixels(info, nullptr, colorTable.get());
  /external/skia/fuzz/
fuzz.cpp 215 sk_sp<SkColorTable> colorTable(nullptr);
221 colorTable.reset(new SkColorTable(colors, maxColors));
222 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
231 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) {
370 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes, colorTable.get(),
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryLayeredRenderingTests.cpp 681 std::ostringstream colorTable;
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()
    [all...]
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 406 sk_sp<SkColorTable> colorTable(nullptr);
412 colorTable.reset(new SkColorTable(colors, maxColors));
419 colorPtr = const_cast<SkPMColor*>(colorTable->readColors());
445 !decodingBitmap.tryAllocPixels(decodeAllocator, colorTable.get())) {
  /external/skia/dm/
DMSrcSink.cpp 327 SkColorTable* colorTable = bitmap.getColorTable();
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);
    [all...]
  /frameworks/base/libs/hwui/hwui/
Bitmap.cpp 310 info, pixelRef.rowBytes(), pixelRef.colorTable()));
  /external/skia/src/core/
SkBitmap.cpp 209 fColorTable = fPixelRef->colorTable();
781 // allocate colortable if srcConfig == kIndex8_Config
    [all...]
  /prebuilts/tools/common/m2/repository/itext/itext/2.0.8/
itext-2.0.8.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/swt/3.5.0/
swt-3.5.0.jar 
  /prebuilts/tools/darwin-x86/swt/
swt.jar 
  /prebuilts/tools/darwin-x86_64/swt/
swt.jar 
  /prebuilts/tools/linux-x86/swt/
swt.jar 
  /prebuilts/tools/linux-x86_64/swt/
swt.jar 

Completed in 652 milliseconds

1 2