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

1 2 3

  /external/chromium_org/third_party/skia/src/core/
SkMallocPixelRef.cpp 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) {
25 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) {
28 if (kIndex8_SkColorType != info.fColorType && NULL != ctable) {
38 SkColorTable* ctable) {
39 if (!is_valid(info, ctable)) {
42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false));
47 SkColorTable* ctable) {
48 if (!is_valid(info, ctable)) {
79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true));
85 size_t rowBytes, SkColorTable* ctable,
    [all...]
SkProcSpriteBlitter.cpp 14 typedef void (*Proc)(void* dst, const void* src, int count, const SkPMColor ctable[]);
26 const SkPMColor* ctable = NULL;
29 ctable = fSource.getColorTable()->lockColors();
33 proc(dst, src, width, ctable);
SkSpriteBlitter_RGB16.cpp 145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockColors()
146 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Opaque_Pixel(dst, ctable[src])
159 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockColors(); unsigned src_scale = SkAlpha255To256(fSrcAlpha);
160 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Blend_Pixel(dst, ctable[src], src_scale)
173 const uint16_t* SK_RESTRICT ctable) {
176 *dst++ = ctable[*src++];
183 *dst++ = ctable[*src++];
194 *dst++ = ctable[s4 & 0xFF];
195 *dst++ = ctable[(s4 >> 8) & 0xFF];
196 *dst++ = ctable[(s4 >> 16) & 0xFF]
    [all...]
  /external/skia/src/core/
SkMallocPixelRef.cpp 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) {
25 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) {
28 if (kIndex8_SkColorType != info.fColorType && NULL != ctable) {
38 SkColorTable* ctable) {
39 if (!is_valid(info, ctable)) {
42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false));
47 SkColorTable* ctable) {
48 if (!is_valid(info, ctable)) {
79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true));
85 size_t rowBytes, SkColorTable* ctable,
    [all...]
SkProcSpriteBlitter.cpp 14 typedef void (*Proc)(void* dst, const void* src, int count, const SkPMColor ctable[]);
26 const SkPMColor* ctable = NULL;
29 ctable = fSource.getColorTable()->lockColors();
33 proc(dst, src, width, ctable);
SkSpriteBlitter_RGB16.cpp 145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockColors()
146 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Opaque_Pixel(dst, ctable[src])
159 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockColors(); unsigned src_scale = SkAlpha255To256(fSrcAlpha);
160 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Blend_Pixel(dst, ctable[src], src_scale)
173 const uint16_t* SK_RESTRICT ctable) {
176 *dst++ = ctable[*src++];
183 *dst++ = ctable[*src++];
194 *dst++ = ctable[s4 & 0xFF];
195 *dst++ = ctable[(s4 >> 8) & 0xFF];
196 *dst++ = ctable[(s4 >> 16) & 0xFF]
    [all...]
  /external/skia/gm/
tinybitmap.cpp 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); local
22 bm.allocPixels(ctable);
23 ctable->unref();
bitmapfilters.cpp 21 SkColorTable* ctable = new SkColorTable(colorsPM, 4); local
24 bm->allocPixels(ctable);
25 ctable->unref();
  /frameworks/base/media/tests/omxjpegdecoder/
SkOmxPixelRef.cpp 24 SkOmxPixelRef::SkOmxPixelRef(SkColorTable* ctable, MediaBuffer* buffer,
29 mCTable = ctable;
SkOmxPixelRef.h 29 SkOmxPixelRef(SkColorTable* ctable, MediaBuffer* buffer,
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
DiscardablePixelRef.cpp 42 bool DiscardablePixelRefAllocator::allocPixelRef(SkBitmap* dst, SkColorTable* ctable)
45 ASSERT(!ctable);
92 void* DiscardablePixelRef::onLockPixels(SkColorTable** ctable)
97 *ctable = 0;
  /external/chromium_org/third_party/skia/include/core/
SkBitmap.h 268 @param ctable ColorTable (or null) that matches the specified pixels
270 void setPixels(void* p, SkColorTable* ctable = NULL);
301 @param ctable ColorTable (or null) to use with the pixels that will
306 bool allocPixels(SkColorTable* ctable = NULL) {
307 return this->allocPixels(NULL, ctable);
322 @param ctable ColorTable (or null) to use with the pixels that will
329 bool allocPixels(Allocator* allocator, SkColorTable* ctable);
746 explicit SkAutoLockColors(SkColorTable* ctable) {
747 fCTable = ctable;
748 fColors = ctable ? ctable->lockColors() : NULL
    [all...]
  /external/skia/include/core/
SkBitmap.h 268 @param ctable ColorTable (or null) that matches the specified pixels
270 void setPixels(void* p, SkColorTable* ctable = NULL);
301 @param ctable ColorTable (or null) to use with the pixels that will
306 bool allocPixels(SkColorTable* ctable = NULL) {
307 return this->allocPixels(NULL, ctable);
322 @param ctable ColorTable (or null) to use with the pixels that will
329 bool allocPixels(Allocator* allocator, SkColorTable* ctable);
746 explicit SkAutoLockColors(SkColorTable* ctable) {
747 fCTable = ctable;
748 fColors = ctable ? ctable->lockColors() : NULL
    [all...]
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 223 SkColorTable* ctable) {
226 const SkPMColor* colors = ctable->lockColors();
230 ctable->unlockColors();
234 SkColorTable* ctable) {
237 const SkPMColor* colors = ctable->lockColors();
243 ctable->unlockColors();
247 SkColorTable* ctable) {
250 const SkPMColor* colors = ctable->lockColors();
256 ctable->unlockColors();
495 SkColorTable* ctable = NULL; local
553 SkColorTable* ctable = bitmap->getColorTable(); local
647 SkColorTable* ctable = bitmap->getColorTable(); local
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
SkGrPixelRef.cpp 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) {
27 if (ctable) {
28 *ctable = NULL;
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();
  /external/chromium_org/third_party/skia/src/images/
SkImageEncoder_argb.cpp 23 const SkPMColor* SK_RESTRICT ctable);
62 const SkPMColor* SK_RESTRICT ctable) {
65 const uint32_t c = ctable[*src++];
SkScaledBitmapSampler.cpp 358 int width, int deltaSrc, int, const SkPMColor ctable[]) {
363 SkPMColor c = ctable[*src];
374 const SkPMColor ctable[]) {
379 SkPMColor c = ctable[*src];
403 int width, int deltaSrc, int, const SkPMColor ctable[]) {
407 dst[x] = SkPixel32ToPixel16(ctable[*src]);
415 int deltaSrc, int y, const SkPMColor ctable[]) {
421 SkPMColor c = ctable[*src];
439 int deltaSrc, int y, const SkPMColor ctable[]) {
444 SkPMColor c = ctable[*src]
    [all...]
  /external/skia/bench/
RepeatTileBench.cpp 71 SkColorTable* ctable = new SkColorTable(storage, 216, aType); local
73 dst->allocPixels(ctable);
74 ctable->unref();
  /external/skia/src/gpu/
SkGrPixelRef.cpp 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) {
27 if (ctable) {
28 *ctable = NULL;
  /external/skia/src/images/
SkImageEncoder_argb.cpp 23 const SkPMColor* SK_RESTRICT ctable);
62 const SkPMColor* SK_RESTRICT ctable) {
65 const uint32_t c = ctable[*src++];
SkScaledBitmapSampler.cpp 358 int width, int deltaSrc, int, const SkPMColor ctable[]) {
363 SkPMColor c = ctable[*src];
374 const SkPMColor ctable[]) {
379 SkPMColor c = ctable[*src];
403 int width, int deltaSrc, int, const SkPMColor ctable[]) {
407 dst[x] = SkPixel32ToPixel16(ctable[*src]);
415 int deltaSrc, int y, const SkPMColor ctable[]) {
421 SkPMColor c = ctable[*src];
439 int deltaSrc, int y, const SkPMColor ctable[]) {
444 SkPMColor c = ctable[*src]
    [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...]
  /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/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...]

Completed in 447 milliseconds

1 2 3