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

1 2

  /external/skia/gm/
tinybitmap.cpp 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); local
23 nullptr, ctable);
24 ctable->unref();
bitmapfilters.cpp 20 SkColorTable* ctable = new SkColorTable(colorsPM, 4); local
24 nullptr, ctable);
25 ctable->unref();
  /external/skia/samplecode/
SampleTinyBitmap.cpp 22 SkColorTable* ctable = new SkColorTable(c, N); local
27 nullptr, ctable);
28 ctable->unref();
60 SkAutoLockPixels alp(*bm); // needed for ctable
SampleFilter.cpp 30 SkColorTable* ctable = new SkColorTable(colors, 4); local
33 nullptr, ctable);
34 ctable->unref();
SampleBlur.cpp 24 SkColorTable* ctable = new SkColorTable(c, 256); local
28 nullptr, ctable);
29 ctable->unref();
SampleDitherBitmap.cpp 61 SkColorTable* ctable = new SkColorTable(c, 256); local
65 nullptr, ctable);
66 ctable->unref();
103 SkAutoLockPixels alp(*bm); // needed for ctable
  /external/skia/bench/
RepeatTileBench.cpp 66 SkColorTable* ctable = new SkColorTable(storage, 216); local
69 nullptr, ctable); local
70 ctable->unref();
BitmapBench.cpp 47 SkColorTable* ctable = new SkColorTable(storage, 216); local
49 nullptr, ctable); local
50 ctable->unref();
  /external/skia/src/image/
SkImage_Raster.cpp 114 SkColorTable* ctable)
120 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data);
199 SkColorTable* ctable) {
201 if (!SkImage_Raster::ValidArgs(info, rowBytes, ctable != nullptr, &size) || !pixels) {
207 return new SkImage_Raster(info, data, rowBytes, ctable);
222 SkColorTable* ctable = nullptr; local
223 return new SkImage_Raster(info, data, rowBytes, ctable);
233 SkColorTable* ctable = nullptr; local
235 return new SkImage_Raster(info, data, rowBytes, ctable);
  /external/libnl/lib/route/sch/
htb.c 269 uint32_t mtu, rtable[RTNL_TC_RTABLE_SIZE], ctable[RTNL_TC_RTABLE_SIZE]; local
340 rtnl_tc_build_rate_table(ctable, mpu, overhead,
343 nla_put(msg, TCA_HTB_CTAB, sizeof(ctable), &ctable);
  /external/skia/include/core/
SkPixmap.h 30 SkColorTable* ctable = NULL)
31 : fPixels(addr), fCTable(ctable), fRowBytes(rowBytes), fInfo(info)
34 SkASSERT(ctable);
36 SkASSERT(NULL == ctable);
42 SkColorTable* ctable = NULL);
64 SkColorTable* ctable() const { return fCTable; } function in class:SkPixmap
225 void reset(const SkImageInfo& info, const void* addr, size_t rb, SkColorTable* ctable = NULL) {
227 this->INHERITED::reset(info, addr, rb, ctable);
  /external/skia/src/core/
SkBitmapDevice.cpp 154 SkColorTable* ctable = nullptr; local
155 pmap->reset(fBitmap.info(), fBitmap.getPixels(), fBitmap.rowBytes(), ctable);
SkBitmap.cpp 254 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
265 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable);
278 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) {
284 return allocator->allocPixelRef(this, ctable);
319 SkColorTable* ctable) {
320 if (kIndex_8_SkColorType == requestedInfo.colorType() && nullptr == ctable) {
335 SkPixelRef* pr = factory->create(correctedInfo, correctedInfo.minRowBytes(), ctable);
388 pixmap.rowBytes(), pixmap.ctable(),
439 SkColorTable* ctable) {
446 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable);
643 const SkColorTable* ctable = pmap.ctable(); local
882 SkAutoTUnref<SkColorTable> ctable; local
1181 SkAutoTUnref<SkColorTable> ctable; local
    [all...]
  /external/skia/src/gpu/
SkGr.cpp 118 * Ganesh wants a full 256 palette entry, even though Skia's ctable is only as big
130 SkColorTable* ctable = bitmap.getColorTable(); local
133 const int count = ctable->count();
144 srcPI.fPixels = ctable->readColors();
  /external/skia/tests/
BitmapCopyTest.cpp 197 SkColorTable* ctable = nullptr; local
199 ctable = init_ctable();
203 nullptr, ctable); local
205 nullptr, ctable); local
206 SkSafeUnref(ctable);
  /frameworks/base/libs/hwui/utils/
NinePatchImpl.cpp 47 SkColorTable* ctable = bitmap.getColorTable(); local
49 (*ctable)[*bitmap.getAddr8(x, y)]);
  /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/src/images/
SkImageDecoder_libpng.cpp 179 // call only if color_type is PALETTE. Returns true if the ctable has alpha
766 static inline int pack_palette(SkColorTable* ctable,
769 const SkPMColor* SK_RESTRICT colors = ctable ? ctable->readColors() : nullptr;
770 const int ctCount = ctable->count();
775 ctable. PNG allows num_trans < num_palette, but all of the trans
777 reorder the indices and ctable so that all non-opaque colors came
779 I'm leaving the indices and ctable order as is, and just looking
780 at the tail of the ctable for opaqueness.
896 SkColorTable* ctable = bitmap->getColorTable(); local
    [all...]
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 39 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
43 reconfigure(info, rowBytes, ctable);
53 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) {
55 ctable = nullptr;
58 if (mColorTable != ctable) {
60 mColorTable = ctable;
131 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
136 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
143 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
148 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
979 SkColorTable* ctable = NULL; local
1101 SkColorTable* ctable = bitmap.getColorTable(); local
1226 SkColorTable* ctable = bitmap.getColorTable(); local
    [all...]
  /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...]
  /frameworks/base/core/jni/android/opengl/
util.cpp 757 SkColorTable* ctable = bitmap.getColorTable(); local
758 memcpy(data, ctable->readColors(), ctable->count() * sizeof(SkPMColor));
    [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/repository/xalan/xalan/2.6.0/
xalan-2.6.0.jar 

Completed in 807 milliseconds

1 2