Home
last modified time | relevance | path

Searched refs:fColorTable (Results 1 – 18 of 18) sorted by relevance

/external/skia/include/core/
DSkPixelRef.h52 SkColorTable* colorTable() const { return fRec.fColorTable; } in colorTable()
61 LockRec() : fPixels(NULL), fColorTable(NULL) {} in LockRec()
64 SkColorTable* fColorTable; member
70 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes; in isZero()
DSkBitmap.h483 (this->colorType() != kIndex_8_SkColorType || fColorTable); in readyToDraw()
491 SkColorTable* getColorTable() const { return fColorTable; } in getColorTable()
763 mutable SkColorTable* fColorTable; // only meaningful for kIndex8 variable
846 SkASSERT(fColorTable); in getIndex8Color()
847 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color()
/external/skia/src/core/
DSkPixelRef.cpp108 fRec.fColorTable = ctable; in setPreLocked()
127 validate_pixels_ctable(fInfo, fRec.fColorTable); in lockPixelsInsideMutex()
157 validate_pixels_ctable(fInfo, fRec.fColorTable); in lockPixels()
203 result->fCTable = fRec.fColorTable; in requestLock()
332 result->fCTable = fRec.fColorTable; in onRequestLock()
DSkBitmap.cpp38 , fColorTable (nullptr) in SkBitmap()
48 , fColorTable (nullptr) in SkBitmap()
63 , fColorTable (other.fColorTable) in SkBitmap()
72 other.fColorTable = nullptr; in SkBitmap()
87 SkASSERT(!fColorTable); in operator =()
103 SkASSERT(!fColorTable); in operator =()
109 fColorTable = other.fColorTable; in operator =()
117 other.fColorTable = nullptr; in operator =()
209 fColorTable = fPixelRef->colorTable(); in updatePixelsFromRef()
213 fColorTable = nullptr; in updatePixelsFromRef()
[all …]
DSkLinearBitmapPipeline_sample.h145 fColorTable = (Sk4f*)SkAlign16((intptr_t)fColorTableStorage.get()); in PixelConverter()
147 fColorTable[i] = pmcolor_to_rgba<gammaType>((*skColorTable)[i]); in PixelConverter()
153 fColorTable = (Sk4f*)SkAlign16((intptr_t)fColorTableStorage.get());
155 fColorTable[i] = strategy.fColorTable[i];
160 return fColorTable[index]; in toSk4f()
167 Sk4f* fColorTable; variable
DSkMallocPixelRef.cpp203 rec->fColorTable = fCTable; in onNewLockPixels()
DSkResourceCache.cpp153 rec->fColorTable = fCTable; in onNewLockPixels()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp23 , fColorTable(nullptr) in SkBmpStandardCodec()
137 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
181 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler()
218 copy_color_table(dstInfo, fColorTable.get(), inputColorPtr, inputColorCount); in onPrepareToDecode()
357 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue()
DSkBmpRLECodec.cpp22 , fColorTable(nullptr) in SkBmpRLECodec()
109 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
188 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
193 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
271 copy_color_table(dstInfo, fColorTable.get(), inputColorPtr, inputColorCount); in onPrepareToDecode()
DSkWbmpCodec.cpp113 , fColorTable(nullptr) in SkWbmpCodec()
209 fColorTable.reset(new SkColorTable(inputColorTable, 2)); in onStartScanlineDecode()
213 fSwizzler.reset(this->initializeSwizzler(dstInfo, get_color_ptr(fColorTable.get()), options)); in onStartScanlineDecode()
DSkCodecImageGenerator.h41 sk_sp<SkColorTable> fColorTable; variable
DSkWbmpCodec.h53 sk_sp<SkColorTable> fColorTable; variable
DSkBmpStandardCodec.h89 sk_sp<SkColorTable> fColorTable; variable
DSkSwizzler.h124 const SkPMColor* fColorTable; // Unowned pointer variable
DSkBmpRLECodec.h97 sk_sp<SkColorTable> fColorTable; variable
DSkPngCodec.h85 sk_sp<SkColorTable> fColorTable; // May be unpremul. variable
DSkPngCodec.cpp323 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
1033 copy_color_table(dstInfo, fColorTable.get(), ctable, ctableCount); in initializeXforms()
1079 const SkPMColor* colors = get_color_ptr(fColorTable.get()); in initializeSwizzler()
1164 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue()
DSkSwizzler.cpp1230 , fColorTable(ctable) in SkSwizzler()
1268 fSampleX * fSrcBPP, fSrcOffsetUnits, fColorTable); in swizzle()