Home
last modified time | relevance | path

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

/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()
348 result->fCTable = fRec.fColorTable; in onRequestLock()
DSkBitmap.cpp63 fColorTable = nullptr; in operator =()
86 SkTSwap(fColorTable, other.fColorTable); in swap()
176 fColorTable = fPixelRef->colorTable(); in updatePixelsFromRef()
180 fColorTable = nullptr; in updatePixelsFromRef()
415 fColorTable = nullptr; in freePixels()
1264 SkASSERT(nullptr == fColorTable); in validate()
1344 pmap->reset(fInfo, fPixels, fRowBytes, fColorTable); in peekPixels()
DSkMallocPixelRef.cpp200 rec->fColorTable = fCTable; in onNewLockPixels()
DSkResourceCache.cpp144 rec->fColorTable = fCTable; in onNewLockPixels()
/external/skia/include/core/
DSkPixelRef.h53 SkColorTable* colorTable() const { return fRec.fColorTable; } in colorTable()
62 LockRec() : fPixels(NULL), fColorTable(NULL) {} in LockRec()
65 SkColorTable* fColorTable; member
71 return NULL == fPixels && NULL == fColorTable && 0 == fRowBytes; in isZero()
DSkBitmap.h468 (this->colorType() != kIndex_8_SkColorType || fColorTable); in readyToDraw()
480 SkColorTable* getColorTable() const { return fColorTable; } in getColorTable()
750 mutable SkColorTable* fColorTable; // only meaningful for kIndex8 variable
830 SkASSERT(fColorTable); in getIndex8Color()
831 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp23 , fColorTable(nullptr) in SkBmpStandardCodec()
127 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
186 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler()
203 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount); in prepareToDecode()
323 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue()
DSkBmpRLECodec.cpp23 , fColorTable(nullptr) in SkBmpRLECodec()
115 fColorTable.reset(new SkColorTable(colorTable, maxColors)); in createColorTable()
213 dstRow[dstX] = fColorTable->operator[](index); in setPixel()
218 dstRow[dstX] = SkPixel32ToPixel16(fColorTable->operator[](index)); in setPixel()
284 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount); in prepareToDecode()
DSkWbmpCodec.cpp111 , fColorTable(nullptr) in SkWbmpCodec()
208 fColorTable.reset(new SkColorTable(inputColorTable, 2)); in onStartScanlineDecode()
212 fSwizzler.reset(this->initializeSwizzler(dstInfo, get_color_ptr(fColorTable.get()), options)); in onStartScanlineDecode()
DSkGifCodec.cpp257 , fColorTable(NULL) in SkGifCodec()
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());
DSkPngCodec.cpp156 fColorTable.reset(new SkColorTable(colorPtr, maxColors)); in decodePalette()
415 copy_color_table(requestedInfo, fColorTable, ctable, ctableCount); in initializeSwizzler()
418 const SkPMColor* colors = get_color_ptr(fColorTable.get()); in initializeSwizzler()
533 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue()
DSkWbmpCodec.h52 SkAutoTUnref<SkColorTable> fColorTable; variable
DSkPngCodec.h57 SkAutoTUnref<SkColorTable> fColorTable; // May be unpremul. variable
DSkBmpStandardCodec.h87 SkAutoTUnref<SkColorTable> fColorTable; // owned variable
DSkBmpRLECodec.h97 SkAutoTUnref<SkColorTable> fColorTable; // owned variable
DSkGifCodec.h201 SkAutoTUnref<SkColorTable> fColorTable; variable
DSkSwizzler.h179 const SkPMColor* fColorTable; // Unowned pointer variable
DSkSwizzler.cpp917 , fColorTable(ctable) in SkSwizzler()
955 fSampleX * fSrcBPP, fSrcOffsetUnits, fColorTable); in swizzle()
/external/skia/src/lazy/
DSkDiscardablePixelRef.cpp46 rec->fColorTable = fCTable.get(); in onNewLockPixels()
94 rec->fColorTable = fCTable.get(); in onNewLockPixels()
/external/skia/src/gpu/
DSkGrPixelRef.cpp38 rec->fColorTable = nullptr; in onNewLockPixels()