HomeSort by relevance Sort by last modified time
    Searched defs:ctable (Results 1 - 24 of 24) sorted by null

  /external/skia/gm/
tinybitmap.cpp 19 SkColorTable* ctable = new SkColorTable(1); local
20 SkPMColor* c = ctable->lockColors();
22 ctable->unlockColors(true);
25 bm.allocPixels(ctable);
26 ctable->unref();
bitmapfilters.cpp 21 SkColorTable* ctable = new SkColorTable(colorsPM, 4); local
24 bm->allocPixels(ctable);
25 ctable->unref();
  /external/skia/src/gpu/
SkGr.cpp 21 Ganesh wants a full 256 palette entry, even though Skia's ctable is only as big
33 SkColorTable* ctable = bitmap.getColorTable(); local
36 memcpy(dst, ctable->lockColors(), ctable->count() * sizeof(SkPMColor));
37 ctable->unlockColors(false);
  /external/skia/bench/
RepeatTileBench.cpp 56 SkColorTable* ctable = new SkColorTable(216); local
57 SkPMColor* colors = ctable->lockColors();
69 ctable->unlockColors(true);
71 dst->allocPixels(ctable);
72 ctable->unref();
BitmapBench.cpp 60 SkColorTable* ctable = new SkColorTable(216); local
61 SkPMColor* colors = ctable->lockColors();
73 ctable->unlockColors(true);
75 dst->allocPixels(ctable);
76 ctable->unref();
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageAndroid.cpp 142 SkColorTable* ctable = bm.getColorTable(); local
143 if (!ctable) {
146 color = (*ctable)[*bm.getAddr8(0, 0)];
  /external/skia/legacy/src/images/
SkImageDecoder_libgif.cpp 225 SkColorTable* ctable = SkNEW_ARGS(SkColorTable, (colorCount)); local
226 SkPMColor* colorPtr = ctable->lockColors();
235 ctable->setFlags(ctable->getFlags() | SkColorTable::kColorsAreOpaque_Flag);
238 ctable->unlockColors(true);
240 SkAutoUnref aurts(ctable);
241 if (!this->allocPixelRef(bm, ctable)) {
SkImageDecoder_libpng.cpp 164 // call only if color_type is PALETTE. Returns true if the ctable has alpha
1079 SkColorTable* ctable = bitmap.getColorTable(); local
    [all...]
  /external/skia/src/images/
SkImageDecoder_libgif.cpp 236 SkColorTable* ctable = SkNEW_ARGS(SkColorTable, (colorCount)); local
237 SkPMColor* colorPtr = ctable->lockColors();
246 ctable->setFlags(ctable->getFlags() | SkColorTable::kColorsAreOpaque_Flag);
249 ctable->unlockColors(true);
251 SkAutoUnref aurts(ctable);
252 if (!this->allocPixelRef(bm, ctable)) {
SkImageDecoder_libpng.cpp 165 // call only if color_type is PALETTE. Returns true if the ctable has alpha
880 static inline int pack_palette(SkColorTable* ctable,
883 SkAutoLockColors alc(ctable);
885 const int ctCount = ctable->count();
890 ctable. PNG allows num_trans < num_palette, but all of the trans
892 reorder the indices and ctable so that all non-opaque colors came
894 I'm leaving the indices and ctable order as is, and just looking
895 at the tail of the ctable for opaqueness.
992 SkColorTable* ctable = bitmap.getColorTable(); local
    [all...]
  /external/skia/tests/
BitmapCopyTest.cpp 42 SkColorTable* ctable = bitmap.getColorTable(); local
43 unsigned ctableFlags = ctable ? ctable->getFlags() : 0;
47 if (ctable) {
48 ctable->setFlags(ctableFlags & ~SkColorTable::kColorsAreOpaque_Flag);
58 if (ctable) {
59 ctable->setFlags(ctableFlags | SkColorTable::kColorsAreOpaque_Flag);
67 if (ctable) {
68 ctable->setFlags(ctableFlags);
  /frameworks/base/core/jni/android/graphics/
NinePatchImpl.cpp 53 SkColorTable* ctable = bitmap.getColorTable(); local
55 (*ctable)[*bitmap.getAddr8(x, y)]);
Bitmap.cpp 168 SkColorTable* ctable) {
171 const SkPMColor* colors = ctable->lockColors();
175 ctable->unlockColors(false);
179 SkColorTable* ctable) {
182 const SkPMColor* colors = ctable->lockColors();
188 ctable->unlockColors(false);
395 SkColorTable* ctable = NULL; local
401 ctable = new SkColorTable(src, count);
405 jbyteArray buffer = GraphicsJNI::allocateJavaPixelRef(env, bitmap, ctable);
407 SkSafeUnref(ctable);
451 SkColorTable* ctable = bitmap->getColorTable(); local
544 SkColorTable* ctable = bitmap->getColorTable(); local
    [all...]
  /external/opencv/cvaux/src/
cvbgfg_acmmm2003.cpp 138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]);
139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) );
140 memset( p_model->pixel_stat[0].ctable, 0, buf_size );
149 p_model->pixel_stat[k].ctable = p_model->pixel_stat[0].ctable + k*params.N2c;
195 cvFree( &model->pixel_stat[0].ctable );
316 #define V_C(k,l) ctable[k].v[l]
317 #define PV_C(k) ctable[k].Pv
318 #define PVB_C(k) ctable[k].Pvb
366 CvBGPixelCStatTable* ctable = stat->ctable local
491 CvBGPixelCStatTable* ctable = stat->ctable; local
    [all...]
  /external/skia/legacy/src/core/
SkBitmap.cpp 109 1. no pixelref, in which case we just copy/ref the pixels/ctable
110 2. unlocked pixelref, pixels/ctable should be null
115 SkSafeRef(fColorTable); // ref the user's ctable if present
116 } else { // we have a pixelref, so pixels/ctable reflect it
354 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
357 SkRefCnt_SafeAssign(fColorTable, ctable);
362 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
368 return allocator->allocPixelRef(this, ctable);
430 SkColorTable* ctable) {
441 dst->setPixelRef(new SkMallocPixelRef(addr, size.get32(), ctable))->unref()
908 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? local
1484 SkColorTable* ctable = NULL; local
    [all...]
  /external/skia/src/core/
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
364 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
373 this->setPixelRef(new SkMallocPixelRef(p, size.get32(), ctable, false))->unref();
379 bool SkBitmap::allocPixels(Allocator* allocator, SkColorTable* ctable) {
385 return allocator->allocPixelRef(this, ctable);
437 SkColorTable* ctable) {
448 dst->setPixelRef(new SkMallocPixelRef(addr, size.get32(), ctable))->unref()
1069 SkColorTable* ctable = (dstConfig == kIndex8_Config) ? local
    [all...]
  /external/stlport/src/c_locale_dummy/
c_locale_dummy.c 54 static _Locale_mask_t ctable[256]; variable
63 if (isalpha(c)) ctable[(unsigned char)c] |= _Locale_ALPHA;
64 if (iscntrl(c)) ctable[(unsigned char)c] |= _Locale_CNTRL;
65 if (isdigit(c)) ctable[(unsigned char)c] |= _Locale_DIGIT;
66 if (isprint(c)) ctable[(unsigned char)c] |= _Locale_PRINT;
67 if (ispunct(c)) ctable[(unsigned char)c] |= _Locale_PUNCT;
68 if (isspace(c)) ctable[(unsigned char)c] |= _Locale_SPACE;
69 if (isxdigit(c)) ctable[(unsigned char)c] |= _Locale_XDIGIT;
70 if (isupper(c)) ctable[(unsigned char)c] |= _Locale_UPPER;
71 if (islower(c)) ctable[(unsigned char)c] |= _Locale_LOWER
    [all...]
  /frameworks/base/core/jni/android/opengl/
util.cpp 681 SkColorTable* ctable = bitmap.getColorTable(); local
682 memcpy(data, ctable->lockColors(), ctable->count() * sizeof(SkPMColor));
684 ctable->unlockColors(false);
  /ndk/sources/cxx-stl/stlport/src/c_locale_dummy/
c_locale_dummy.c 54 static _Locale_mask_t ctable[256]; variable
63 if (isalpha(c)) ctable[(unsigned char)c] |= _Locale_ALPHA;
64 if (iscntrl(c)) ctable[(unsigned char)c] |= _Locale_CNTRL;
65 if (isdigit(c)) ctable[(unsigned char)c] |= _Locale_DIGIT;
66 if (isprint(c)) ctable[(unsigned char)c] |= _Locale_PRINT;
67 if (ispunct(c)) ctable[(unsigned char)c] |= _Locale_PUNCT;
68 if (isspace(c)) ctable[(unsigned char)c] |= _Locale_SPACE;
69 if (isxdigit(c)) ctable[(unsigned char)c] |= _Locale_XDIGIT;
70 if (isupper(c)) ctable[(unsigned char)c] |= _Locale_UPPER;
71 if (islower(c)) ctable[(unsigned char)c] |= _Locale_LOWER
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemNumber.java 793 CountersTable ctable = transformer.getCountersTable(); local
815 list[0] = ctable.countNode(xctxt, this, sourceNode);
832 list[lastIndex - i] = ctable.countNode(xctxt, this, target);
    [all...]
  /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...]
  /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...]
  /external/opencv/cvaux/include/
cvaux.h 1292 CvBGPixelCStatTable* ctable; member in struct:CvBGPixelStat
    [all...]
  /prebuilts/tools/common/m2/internal/xalan/xalan/2.6.0/
xalan-2.6.0.jar 

Completed in 769 milliseconds