/external/skia/src/core/ |
D | SkColorTable.cpp | 16 void SkColorTable::init(const SkPMColor colors[], int count) { in init() 25 SkColorTable::SkColorTable(const SkPMColor colors[], int count) { in SkColorTable() function in SkColorTable 35 SkColorTable::SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc) in SkColorTable() function in SkColorTable 43 SkColorTable::~SkColorTable() { in ~SkColorTable() 50 const uint16_t* SkColorTable::read16BitCache() const { in read16BitCache() 63 SkColorTable::SkColorTable(SkReadBuffer& buffer) { 85 void SkColorTable::writeToBuffer(SkWriteBuffer& buffer) const { in writeToBuffer() 89 SkColorTable* SkColorTable::Create(SkReadBuffer& buffer) { in Create() 96 return new SkColorTable(nullptr, 0); in Create() 110 return new SkColorTable(colors.detach(), count, kAllocatedWithMalloc); in Create()
|
D | SkMallocPixelRef.cpp | 18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() 43 SkColorTable* ctable) { in NewDirect() 54 SkColorTable* ctable) { in NewUsing() 92 SkColorTable* ctable) { in NewAllocate() 99 SkColorTable* ctable) { in NewZeroed() 105 SkColorTable* ctable, in NewWithProc() 121 SkColorTable* ctable, in NewWithData() 145 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() 167 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() 215 SkColorTable* ctable) { in create() [all …]
|
D | SkConfig8888.h | 13 class SkColorTable; variable 22 SkColorTable* srcCTable = nullptr);
|
D | SkBitmap.cpp | 254 void SkBitmap::setPixels(void* p, SkColorTable* ctable) { in setPixels() 278 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) { in tryAllocPixels() 319 SkColorTable* ctable) { in tryAllocPixels() 356 SkColorTable* ct, void (*releaseProc)(void* addr, void* context), in installPixels() 439 SkColorTable* ctable) { in allocPixelRef() 643 const SkColorTable* ctable = pmap.ctable(); in compute_is_opaque() 882 SkAutoTUnref<SkColorTable> ctable; in copyTo() 999 const SkColorTable* ct = pmap.ctable(); in get_bitmap_alpha() 1118 const SkColorTable* ct = pmap.ctable(); in write_raw_pixels() 1181 SkAutoTUnref<SkColorTable> ctable; in ReadRawPixels() [all …]
|
D | SkResourceCache.cpp | 84 SkColorTable*); 98 SkColorTable* fCTable; 106 SkColorTable* ctable) in SkOneShotDiscardablePixelRef() 165 bool allocPixelRef(SkBitmap*, SkColorTable*) override; 171 bool SkResourceCacheDiscardableAllocator::allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { in allocPixelRef()
|
/external/skia/include/core/ |
D | SkMallocPixelRef.h | 30 size_t rowBytes, SkColorTable*); 43 size_t rowBytes, SkColorTable*); 49 size_t rowBytes, SkColorTable*); 67 size_t rowBytes, SkColorTable*, 83 SkColorTable* ctable, 90 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 95 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override; 100 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable*, 113 SkColorTable*); 116 SkColorTable* fCTable; [all …]
|
D | SkColorTable.h | 25 class SK_API SkColorTable : public SkRefCnt { 29 SkColorTable(const SkPMColor colors[], int count); 30 virtual ~SkColorTable(); 55 static SkColorTable* Create(SkReadBuffer&); 62 SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc);
|
D | SkBitmap.h | 243 … bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo&, SkPixelRefFactory*, SkColorTable*); 245 void allocPixels(const SkImageInfo& info, SkPixelRefFactory* factory, SkColorTable* ctable) { in allocPixels() 297 bool installPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkColorTable*, 334 void setPixels(void* p, SkColorTable* ctable = NULL); 370 bool SK_WARN_UNUSED_RESULT tryAllocPixels(SkColorTable* ctable = NULL) { 374 void allocPixels(SkColorTable* ctable = NULL) { 396 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable); 398 void allocPixels(Allocator* allocator, SkColorTable* ctable) { in allocPixels() 480 SkColorTable* getColorTable() const { return fColorTable; } in getColorTable() 708 virtual bool allocPixelRef(SkBitmap*, SkColorTable*) = 0; [all …]
|
D | SkPixelRef.h | 22 class SkColorTable; variable 53 SkColorTable* colorTable() const { return fRec.fColorTable; } in colorTable() 65 SkColorTable* fColorTable; 194 SkColorTable* fCTable; // should be NULL unless colortype is kIndex8 337 void setPreLocked(void*, size_t rowBytes, SkColorTable*); 406 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
|
D | SkPixmap.h | 15 class SkColorTable; variable 30 SkColorTable* ctable = NULL) 42 SkColorTable* ctable = NULL); 64 SkColorTable* ctable() const { return fCTable; } in ctable() 183 SkColorTable* fCTable; 225 void reset(const SkImageInfo& info, const void* addr, size_t rb, SkColorTable* ctable = NULL) {
|
D | SkImage.h | 20 class SkColorTable; variable 50 SkColorTable* ctable = NULL);
|
/external/skia/src/image/ |
D | SkImage_Raster.cpp | 66 SkImage_Raster(const SkImageInfo&, SkData*, size_t rb, SkColorTable*); 114 SkColorTable* ctable) in SkImage_Raster() 199 SkColorTable* ctable) { in NewRasterCopy() 222 SkColorTable* ctable = nullptr; in NewRasterData() 233 SkColorTable* ctable = nullptr; in NewFromRaster()
|
/external/skia/tests/ |
D | CodecPriv.h | 21 SkAutoTUnref<SkColorTable> colorTable(nullptr); in decode_memory() 27 colorTable.reset(new SkColorTable(colors, maxColors)); in decode_memory()
|
/external/skia/gm/ |
D | tinybitmap.cpp | 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); in make_bitmap()
|
D | bitmapfilters.cpp | 20 SkColorTable* ctable = new SkColorTable(colorsPM, 4); in make_bm()
|
/external/skia/samplecode/ |
D | SampleTinyBitmap.cpp | 22 SkColorTable* ctable = new SkColorTable(c, N); in make_bitmap()
|
D | SampleFilter.cpp | 30 SkColorTable* ctable = new SkColorTable(colors, 4); in make_bm()
|
D | SampleBlur.cpp | 24 SkColorTable* ctable = new SkColorTable(c, 256); in make_bitmap()
|
D | SampleDitherBitmap.cpp | 61 SkColorTable* ctable = new SkColorTable(c, 256); in make_bitmap()
|
/external/skia/src/ports/ |
D | SkImageDecoder_empty.cpp | 17 class SkColorTable; 75 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { in allocPixelRef()
|
/external/skia/src/codec/ |
D | SkCodecPriv.h | 152 inline const SkPMColor* get_color_ptr(SkColorTable* colorTable) { in get_color_ptr() 179 inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* colorTable, in copy_color_table()
|
/external/skia/src/images/ |
D | SkImageDecoder_wbmp.cpp | 122 SkColorTable* ct = new SkColorTable(colors, 2); in onDecode()
|
D | SkImageDecoder_libpng.cpp | 89 SkColorTable **colorTablep); 325 SkColorTable* colorTable = nullptr; in onDecode() 637 SkColorTable **colorTablep) { in decodePalette() 698 *colorTablep = new SkColorTable(colorStorage, colorCount); in decodePalette() 766 static inline int pack_palette(SkColorTable* ctable, in pack_palette() 896 SkColorTable* ctable = bitmap->getColorTable(); in onEncode() 956 SkColorTable* ct = bitmap.getColorTable(); in doEncode()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 66 SkColorTable* ctable = new SkColorTable(storage, 216); in convert_to_index666()
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 59 SkAutoTUnref<SkColorTable> colorTable(nullptr); in decodeRegion() 73 colorTable.reset(new SkColorTable(colors, maxColors)); in decodeRegion()
|