Searched refs:colorTable (Results 1 – 6 of 6) sorted by relevance
143 SkColorTable* colorTable = SkNEW_ARGS(SkColorTable, (cmap->ColorCount)); in onGetBitmap() local144 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()
329 SkColorTable* colorTable = NULL; in onDecode() local347 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()
168 QVector< QRgb > colorTable( paletteSize ); in loadFromDIB() local170 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()
47 SkColorTable* colorTable() const { return fColorTable; } in colorTable() function
803 attrib.colorTable = 0; in DSp_SetVideoMode()
267 SkRefCnt_SafeAssign(fColorTable, fPixelRef->colorTable()); in updatePixelsFromRef()