Home
last modified time | relevance | path

Searched refs:colorTable (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/images/
DSkMovie_gif.cpp143 SkColorTable* colorTable = SkNEW_ARGS(SkColorTable, (cmap->ColorCount)); in onGetBitmap() local
144 SkAutoUnref aur(colorTable); in onGetBitmap()
147 if (!bm->allocPixels(colorTable)) { in onGetBitmap()
163 SkPMColor* colorPtr = colorTable->lockColors(); in onGetBitmap()
168 colorTable->setFlags(colorTable->getFlags() | SkColorTable::kColorsAreOpaque_Flag); in onGetBitmap()
176 colorTable->unlockColors(true); in onGetBitmap()
DSkImageDecoder_libpng.cpp329 SkColorTable* colorTable = NULL; in onDecode() local
347 colorTable = SkNEW_ARGS(SkColorTable, (colorCount)); in onDecode()
349 SkPMColor* colorPtr = colorTable->lockColors(); in onDecode()
355 colorTable->setFlags(colorTable->getFlags() | SkColorTable::kColorsAreOpaque_Flag); in onDecode()
381 colorTable->unlockColors(true); in onDecode()
384 SkAutoUnref aur(colorTable); in onDecode()
388 colorTable : NULL)) { in onDecode()
430 if (colorTable != NULL) { in onDecode()
443 SkAutoLockColors ctLock(colorTable); in onDecode()
/external/webkit/WebKit/qt/Plugins/
DICOHandler.cpp168 QVector< QRgb > colorTable( paletteSize ); in loadFromDIB() local
170 colorTable.fill( QRgb( 0 ) ); in loadFromDIB()
176 colorTable[ i ] = qRgb( rgb[ 2 ], rgb[ 1 ], rgb[ 0 ] ); in loadFromDIB()
191 *p++ = colorTable[ in loadFromDIB()
196 if ( x & 1 ) *p++ = colorTable[ pixel[ x / 2 ] & 0x0f ]; in loadFromDIB()
197 else *p++ = colorTable[ pixel[ x / 2 ] >> 4 ]; in loadFromDIB()
201 *p++ = colorTable[ pixel[ x ] ]; in loadFromDIB()
/external/skia/include/core/
DSkPixelRef.h47 SkColorTable* colorTable() const { return fColorTable; } in colorTable() function
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/
DSDL_dspvideo.c803 attrib.colorTable = 0; in DSp_SetVideoMode()
/external/skia/src/core/
DSkBitmap.cpp267 SkRefCnt_SafeAssign(fColorTable, fPixelRef->colorTable()); in updatePixelsFromRef()