HomeSort by relevance Sort by last modified time
    Searched refs:ctable (Results 26 - 50 of 57) sorted by null

12 3

  /external/skia/src/gpu/
SkGr.cpp 22 Ganesh wants a full 256 palette entry, even though Skia's ctable is only as big
34 SkColorTable* ctable = bitmap.getColorTable(); local
38 const uint32_t* colorTableSrc = reinterpret_cast<const uint32_t*>(ctable->lockColors());
41 ctable->count(), 1);
42 ctable->unlockColors();
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 81 SkColorTable* ctable);
96 jbyteArray storageObj, SkColorTable* ctable);
104 size_t rowBytes, SkColorTable* ctable);
165 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable);
Graphics.cpp 437 size_t rowBytes, jbyteArray storageObj, SkColorTable* ctable) :
438 SkMallocPixelRef(info, storage, rowBytes, ctable, (storageObj == NULL)),
456 size_t rowBytes, SkColorTable* ctable) :
457 SkMallocPixelRef(info, wrappedPixelRef.getAddr(), rowBytes, ctable, false),
556 SkColorTable* ctable) {
578 bitmap->rowBytes(), arrayObj, ctable);
600 bool JavaPixelAllocator::allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) {
603 fStorageObj = GraphicsJNI::allocateJavaPixelRef(env, bitmap, ctable);
BitmapFactory.cpp 164 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) {
176 return SkBitmap::HeapAllocator::allocPixelRef(bitmap, ctable);
194 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) {
207 // Create a new pixelref with the new ctable that wraps the previous pixelref
209 bitmapInfo, bitmap->rowBytes(), ctable);
NinePatchImpl.cpp 53 SkColorTable* ctable = bitmap.getColorTable(); local
55 (*ctable)[*bitmap.getAddr8(x, y)]);
  /external/chromium_org/third_party/skia/include/core/
SkPixelRef.h 299 void setPreLocked(void* pixels, SkColorTable* ctable);
  /external/skia/include/core/
SkPixelRef.h 299 void setPreLocked(void* pixels, SkColorTable* ctable);
  /external/chromium_org/third_party/skia/src/core/
SkPixelRef.cpp 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) {
156 fColorTable = ctable;
SkBitmap.cpp 111 1. no pixelref, in which case we just copy/ref the pixels/ctable
112 2. unlocked pixelref, pixels/ctable should be null
117 SkSafeRef(fColorTable); // ref the user's ctable if present
118 } else { // we have a pixelref, so pixels/ctable reflect it
450 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
462 SkPixelRef* pr = SkMallocPixelRef::NewDirect(info, p, fRowBytes, ctable);
475 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
481 return allocator->allocPixelRef(this, ctable);
533 SkColorTable* ctable) {
541 ctable);
1081 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? local
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder.cpp 136 SkColorTable* ctable) const {
137 return bitmap->allocPixels(fAllocator, ctable);
SkImageDecoder_libpng.cpp 203 // call only if color_type is PALETTE. Returns true if the ctable has alpha
1176 SkColorTable* ctable = bitmap.getColorTable(); local
    [all...]
SkImageDecoder_libwebp.cpp 443 const SkPMColor* SK_RESTRICT ctable);
482 const SkPMColor* SK_RESTRICT ctable) {
485 const uint32_t c = ctable[*src++];
SkImageDecoder_libgif.cpp 319 SkAutoTUnref<SkColorTable> ctable(SkNEW_ARGS(SkColorTable,
322 if (!this->allocPixelRef(bm, ctable)) {
SkImageDecoder_libjpeg.cpp     [all...]
  /external/skia/src/core/
SkPixelRef.cpp 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) {
156 fColorTable = ctable;
SkBitmap.cpp 111 1. no pixelref, in which case we just copy/ref the pixels/ctable
112 2. unlocked pixelref, pixels/ctable should be null
117 SkSafeRef(fColorTable); // ref the user's ctable if present
118 } else { // we have a pixelref, so pixels/ctable reflect it
450 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
462 SkPixelRef* pr = SkMallocPixelRef::NewDirect(info, p, fRowBytes, ctable);
475 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
481 return allocator->allocPixelRef(this, ctable);
533 SkColorTable* ctable) {
541 ctable);
1081 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? local
    [all...]
  /external/skia/src/images/
SkImageDecoder.cpp 136 SkColorTable* ctable) const {
137 return bitmap->allocPixels(fAllocator, ctable);
SkImageDecoder_libpng.cpp 203 // call only if color_type is PALETTE. Returns true if the ctable has alpha
1175 SkColorTable* ctable = bitmap.getColorTable(); local
    [all...]
SkImageDecoder_libwebp.cpp 443 const SkPMColor* SK_RESTRICT ctable);
482 const SkPMColor* SK_RESTRICT ctable) {
485 const uint32_t c = ctable[*src++];
SkImageDecoder_libgif.cpp 319 SkAutoTUnref<SkColorTable> ctable(SkNEW_ARGS(SkColorTable,
322 if (!this->allocPixelRef(bm, ctable)) {
  /external/stlport/src/c_locale_win32/
c_locale_win32.c 186 unsigned short ctable[256]; member in struct:_Locale_ctype
353 GetStringTypeW(CT_CTYPE1, wbuffer, 256, ltype->ctable);
354 MapCtypeMasks(ltype->ctable, ltype->ctable + 256);
358 unsigned short ctable[256]; local
360 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ctable);
376 ltype->ctable[TargetBuffer[i]] = MapCtypeMask(ctable[i]);
381 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ltype->ctable);
382 MapCtypeMasks(ltype->ctable, ltype->ctable + 256)
    [all...]
c_wlocale_win32.c 115 static int __isleadbyte(int i, unsigned char *ctable) {
117 return (ctable[c / CHAR_BIT] & (0x01 << c % CHAR_BIT));
  /ndk/sources/cxx-stl/stlport/src/c_locale_win32/
c_locale_win32.c 186 unsigned short ctable[256]; member in struct:_Locale_ctype
353 GetStringTypeW(CT_CTYPE1, wbuffer, 256, ltype->ctable);
354 MapCtypeMasks(ltype->ctable, ltype->ctable + 256);
358 unsigned short ctable[256]; local
360 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ctable);
376 ltype->ctable[TargetBuffer[i]] = MapCtypeMask(ctable[i]);
381 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ltype->ctable);
382 MapCtypeMasks(ltype->ctable, ltype->ctable + 256)
    [all...]
c_wlocale_win32.c 115 static int __isleadbyte(int i, unsigned char *ctable) {
117 return (ctable[c / CHAR_BIT] & (0x01 << c % CHAR_BIT));
  /external/skia/bench/
BitmapBench.cpp 50 SkColorTable* ctable = new SkColorTable(storage, 216, local
53 dst->allocPixels(ctable);
54 ctable->unref();

Completed in 728 milliseconds

12 3