/external/skia/include/core/ |
H A D | SkPixelRef.h | 53 SkColorTable* colorTable() const { return fRec.fColorTable; } 62 LockRec() : fPixels(NULL), fColorTable(NULL) {} 65 SkColorTable* fColorTable; member in struct:SkPixelRef::LockRec 71 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes;
|
H A D | SkBitmap.h | 468 (this->colorType() != kIndex_8_SkColorType || fColorTable); 480 SkColorTable* getColorTable() const { return fColorTable; } 750 mutable SkColorTable* fColorTable; // only meaningful for kIndex8 member in class:SkBitmap 830 SkASSERT(fColorTable); 831 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)];
|
/external/skia/src/codec/ |
H A D | SkWbmpCodec.h | 52 SkAutoTUnref<SkColorTable> fColorTable; member in class:final
|
H A D | SkBmpStandardCodec.cpp | 23 , fColorTable(nullptr) 127 fColorTable.reset(new SkColorTable(colorTable, maxColors)); 186 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); 203 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount); 323 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get());
|
H A D | SkBmpRLECodec.h | 97 SkAutoTUnref<SkColorTable> fColorTable; // owned member in class:SkBmpRLECodec
|
H A D | SkBmpStandardCodec.h | 87 SkAutoTUnref<SkColorTable> fColorTable; // owned member in class:SkBmpStandardCodec
|
H A D | SkPngCodec.h | 57 SkAutoTUnref<SkColorTable> fColorTable; // May be unpremul. member in class:SkPngCodec
|
H A D | SkGifCodec.h | 201 SkAutoTUnref<SkColorTable> fColorTable; member in class:SkGifCodec
|
H A D | SkWbmpCodec.cpp | 111 , fColorTable(nullptr) 208 fColorTable.reset(new SkColorTable(inputColorTable, 2)); 212 fSwizzler.reset(this->initializeSwizzler(dstInfo, get_color_ptr(fColorTable.get()), options));
|
H A D | SkBmpRLECodec.cpp | 23 , fColorTable(nullptr) 115 fColorTable.reset(new SkColorTable(colorTable, maxColors)); 213 dstRow[dstX] = fColorTable->operator[](index); 218 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); 284 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount);
|
H A D | SkGifCodec.cpp | 257 , fColorTable(NULL) 447 fColorTable.reset(new SkColorTable(colorPtr, maxColors)); 448 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount); 467 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); 518 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get());
|
H A D | SkSwizzler.h | 179 const SkPMColor* fColorTable; // Unowned pointer member in class:SkSwizzler
|
H A D | SkPngCodec.cpp | 156 fColorTable.reset(new SkColorTable(colorPtr, maxColors)); 415 copy_color_table(requestedInfo, fColorTable, ctable, ctableCount); 418 const SkPMColor* colors = get_color_ptr(fColorTable.get()); 533 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get());
|
H A D | SkSwizzler.cpp | 917 , fColorTable(ctable) 955 fSampleX * fSrcBPP, fSrcOffsetUnits, fColorTable); local
|
/external/skia/src/core/ |
H A D | SkPixelRef.cpp | 108 fRec.fColorTable = ctable; 127 validate_pixels_ctable(fInfo, fRec.fColorTable); 157 validate_pixels_ctable(fInfo, fRec.fColorTable); 203 result->fCTable = fRec.fColorTable; 348 result->fCTable = fRec.fColorTable;
|
H A D | SkBitmap.cpp | 63 fColorTable = nullptr; 86 SkTSwap(fColorTable, other.fColorTable); 176 fColorTable = fPixelRef->colorTable(); 180 fColorTable = nullptr; 415 fColorTable = nullptr; 1264 SkASSERT(nullptr == fColorTable); 1344 pmap->reset(fInfo, fPixels, fRowBytes, fColorTable);
|
H A D | SkMallocPixelRef.cpp | 200 rec->fColorTable = fCTable;
|
H A D | SkResourceCache.cpp | 144 rec->fColorTable = fCTable;
|
/external/skia/src/lazy/ |
H A D | SkDiscardablePixelRef.cpp | 46 rec->fColorTable = fCTable.get(); 94 rec->fColorTable = fCTable.get();
|
/external/skia/src/gpu/ |
H A D | SkGrPixelRef.cpp | 38 rec->fColorTable = nullptr;
|