/external/chromium_org/third_party/skia/src/core/ |
D | SkMallocPixelRef.cpp | 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() argument 25 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) { in is_valid() 28 if (kIndex8_SkColorType != info.fColorType && NULL != ctable) { in is_valid() 38 SkColorTable* ctable) { in NewDirect() argument 39 if (!is_valid(info, ctable)) { in NewDirect() 42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false)); in NewDirect() 47 SkColorTable* ctable) { in NewAllocate() argument 48 if (!is_valid(info, ctable)) { in NewAllocate() 79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true)); in NewAllocate() 85 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() argument [all …]
|
D | SkSpriteBlitter_RGB16.cpp | 145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo… 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()->lockCo… 160 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Blend_Pixel(dst, ctable[src], src_scale) 173 const uint16_t* SK_RESTRICT ctable) { in blitrow_d16_si8() argument 176 *dst++ = ctable[*src++]; in blitrow_d16_si8() 183 *dst++ = ctable[*src++]; in blitrow_d16_si8() 194 *dst++ = ctable[s4 & 0xFF]; in blitrow_d16_si8() 195 *dst++ = ctable[(s4 >> 8) & 0xFF]; in blitrow_d16_si8() 196 *dst++ = ctable[(s4 >> 16) & 0xFF]; in blitrow_d16_si8() [all …]
|
D | 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);
|
D | SkPixelRef.cpp | 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) { in setPreLocked() argument 156 fColorTable = ctable; in setPreLocked()
|
/external/skia/src/core/ |
D | SkMallocPixelRef.cpp | 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() argument 25 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) { in is_valid() 28 if (kIndex8_SkColorType != info.fColorType && NULL != ctable) { in is_valid() 38 SkColorTable* ctable) { in NewDirect() argument 39 if (!is_valid(info, ctable)) { in NewDirect() 42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false)); in NewDirect() 47 SkColorTable* ctable) { in NewAllocate() argument 48 if (!is_valid(info, ctable)) { in NewAllocate() 79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true)); in NewAllocate() 85 size_t rowBytes, SkColorTable* ctable, in SkMallocPixelRef() argument [all …]
|
D | SkSpriteBlitter_RGB16.cpp | 145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo… 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()->lockCo… 160 #define SkSPRITE_BLIT_PIXEL(dst, src) D16_S32A_Blend_Pixel(dst, ctable[src], src_scale) 173 const uint16_t* SK_RESTRICT ctable) { in blitrow_d16_si8() argument 176 *dst++ = ctable[*src++]; in blitrow_d16_si8() 183 *dst++ = ctable[*src++]; in blitrow_d16_si8() 194 *dst++ = ctable[s4 & 0xFF]; in blitrow_d16_si8() 195 *dst++ = ctable[(s4 >> 8) & 0xFF]; in blitrow_d16_si8() 196 *dst++ = ctable[(s4 >> 16) & 0xFF]; in blitrow_d16_si8() [all …]
|
D | 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);
|
D | SkPixelRef.cpp | 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) { in setPreLocked() argument 156 fColorTable = ctable; in setPreLocked()
|
/external/skia/include/core/ |
D | SkBitmap.h | 270 void setPixels(void* p, SkColorTable* ctable = NULL); 306 bool allocPixels(SkColorTable* ctable = NULL) { 307 return this->allocPixels(NULL, ctable); 329 bool allocPixels(Allocator* allocator, SkColorTable* ctable); 746 explicit SkAutoLockColors(SkColorTable* ctable) { in SkAutoLockColors() argument 747 fCTable = ctable; in SkAutoLockColors() 748 fColors = ctable ? ctable->lockColors() : NULL; in SkAutoLockColors() 764 const SkPMColor* lockColors(SkColorTable* ctable) { in lockColors() argument 768 fCTable = ctable; in lockColors() 769 fColors = ctable ? ctable->lockColors() : NULL; in lockColors()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkBitmap.h | 270 void setPixels(void* p, SkColorTable* ctable = NULL); 306 bool allocPixels(SkColorTable* ctable = NULL) { 307 return this->allocPixels(NULL, ctable); 329 bool allocPixels(Allocator* allocator, SkColorTable* ctable); 746 explicit SkAutoLockColors(SkColorTable* ctable) { in SkAutoLockColors() argument 747 fCTable = ctable; in SkAutoLockColors() 748 fColors = ctable ? ctable->lockColors() : NULL; in SkAutoLockColors() 764 const SkPMColor* lockColors(SkColorTable* ctable) { in lockColors() argument 768 fCTable = ctable; in lockColors() 769 fColors = ctable ? ctable->lockColors() : NULL; in lockColors()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | DiscardablePixelRef.cpp | 42 bool DiscardablePixelRefAllocator::allocPixelRef(SkBitmap* dst, SkColorTable* ctable) in allocPixelRef() argument 45 ASSERT(!ctable); in allocPixelRef() 92 void* DiscardablePixelRef::onLockPixels(SkColorTable** ctable) in onLockPixels() argument 97 *ctable = 0; in onLockPixels()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 358 int width, int deltaSrc, int, const SkPMColor ctable[]) { in Sample_Index_D8888() argument 363 SkPMColor c = ctable[*src]; in Sample_Index_D8888() 374 const SkPMColor ctable[]) { in Sample_Index_D8888_SkipZ() argument 379 SkPMColor c = ctable[*src]; in Sample_Index_D8888_SkipZ() 403 int width, int deltaSrc, int, const SkPMColor ctable[]) { in Sample_Index_D565() argument 407 dst[x] = SkPixel32ToPixel16(ctable[*src]); in Sample_Index_D565() 415 int deltaSrc, int y, const SkPMColor ctable[]) { in Sample_Index_D565_D() argument 421 SkPMColor c = ctable[*src]; in Sample_Index_D565_D() 439 int deltaSrc, int y, const SkPMColor ctable[]) { in Sample_Index_D4444() argument 444 SkPMColor c = ctable[*src]; in Sample_Index_D4444() [all …]
|
D | SkImageEncoder_argb.cpp | 23 const SkPMColor* SK_RESTRICT ctable); 62 const SkPMColor* SK_RESTRICT ctable) { in Index8_To_ARGB() argument 65 const uint32_t c = ctable[*src++]; in Index8_To_ARGB()
|
/external/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 358 int width, int deltaSrc, int, const SkPMColor ctable[]) { in Sample_Index_D8888() argument 363 SkPMColor c = ctable[*src]; in Sample_Index_D8888() 374 const SkPMColor ctable[]) { in Sample_Index_D8888_SkipZ() argument 379 SkPMColor c = ctable[*src]; in Sample_Index_D8888_SkipZ() 403 int width, int deltaSrc, int, const SkPMColor ctable[]) { in Sample_Index_D565() argument 407 dst[x] = SkPixel32ToPixel16(ctable[*src]); in Sample_Index_D565() 415 int deltaSrc, int y, const SkPMColor ctable[]) { in Sample_Index_D565_D() argument 421 SkPMColor c = ctable[*src]; in Sample_Index_D565_D() 439 int deltaSrc, int y, const SkPMColor ctable[]) { in Sample_Index_D4444() argument 444 SkPMColor c = ctable[*src]; in Sample_Index_D4444() [all …]
|
D | SkImageEncoder_argb.cpp | 23 const SkPMColor* SK_RESTRICT ctable); 62 const SkPMColor* SK_RESTRICT ctable) { in Index8_To_ARGB() argument 65 const uint32_t c = ctable[*src++]; in Index8_To_ARGB()
|
/external/skia/gm/ |
D | tinybitmap.cpp | 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); in make_bitmap() local 22 bm.allocPixels(ctable); in make_bitmap() 23 ctable->unref(); in make_bitmap()
|
D | bitmapfilters.cpp | 21 SkColorTable* ctable = new SkColorTable(colorsPM, 4); in make_bm() local 24 bm->allocPixels(ctable); in make_bm() 25 ctable->unref(); in make_bm()
|
/external/opencv/cvaux/src/ |
D | cvbgfg_acmmm2003.cpp | 138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]); in cvCreateFGDStatModel() 139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) ); in cvCreateFGDStatModel() 140 memset( p_model->pixel_stat[0].ctable, 0, buf_size ); in cvCreateFGDStatModel() 149 p_model->pixel_stat[k].ctable = p_model->pixel_stat[0].ctable + k*params.N2c; in cvCreateFGDStatModel() 195 cvFree( &model->pixel_stat[0].ctable ); in icvReleaseFGDStatModel() 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; in icvUpdateFGDStatModel() local 491 CvBGPixelCStatTable* ctable = stat->ctable; in icvUpdateFGDStatModel() local [all …]
|
/external/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 54 static _Locale_mask_t ctable[256]; variable 63 if (isalpha(c)) ctable[(unsigned char)c] |= _Locale_ALPHA; in _Locale_init() 64 if (iscntrl(c)) ctable[(unsigned char)c] |= _Locale_CNTRL; in _Locale_init() 65 if (isdigit(c)) ctable[(unsigned char)c] |= _Locale_DIGIT; in _Locale_init() 66 if (isprint(c)) ctable[(unsigned char)c] |= _Locale_PRINT; in _Locale_init() 67 if (ispunct(c)) ctable[(unsigned char)c] |= _Locale_PUNCT; in _Locale_init() 68 if (isspace(c)) ctable[(unsigned char)c] |= _Locale_SPACE; in _Locale_init() 69 if (isxdigit(c)) ctable[(unsigned char)c] |= _Locale_XDIGIT; in _Locale_init() 70 if (isupper(c)) ctable[(unsigned char)c] |= _Locale_UPPER; in _Locale_init() 71 if (islower(c)) ctable[(unsigned char)c] |= _Locale_LOWER; in _Locale_init() [all …]
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) { in onLockPixels() argument 27 if (ctable) { in onLockPixels() 28 *ctable = NULL; in onLockPixels()
|
D | SkGr.cpp | 34 SkColorTable* ctable = bitmap.getColorTable(); in build_compressed_data() local 38 const uint32_t* colorTableSrc = reinterpret_cast<const uint32_t*>(ctable->lockColors()); in build_compressed_data() 41 ctable->count(), 1); in build_compressed_data() 42 ctable->unlockColors(); in build_compressed_data()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) { in onLockPixels() argument 27 if (ctable) { in onLockPixels() 28 *ctable = NULL; in onLockPixels()
|
D | SkGr.cpp | 34 SkColorTable* ctable = bitmap.getColorTable(); in build_compressed_data() local 38 const uint32_t* colorTableSrc = reinterpret_cast<const uint32_t*>(ctable->lockColors()); in build_compressed_data() 41 ctable->count(), 1); in build_compressed_data() 42 ctable->unlockColors(); in build_compressed_data()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 71 SkColorTable* ctable = new SkColorTable(storage, 216, aType); in convert_to_index666() local 73 dst->allocPixels(ctable); in convert_to_index666() 74 ctable->unref(); in convert_to_index666()
|
/external/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 186 unsigned short ctable[256]; member 353 GetStringTypeW(CT_CTYPE1, wbuffer, 256, ltype->ctable); in _Locale_ctype_create() 354 MapCtypeMasks(ltype->ctable, ltype->ctable + 256); in _Locale_ctype_create() 358 unsigned short ctable[256]; in _Locale_ctype_create() local 360 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ctable); in _Locale_ctype_create() 376 ltype->ctable[TargetBuffer[i]] = MapCtypeMask(ctable[i]); in _Locale_ctype_create() 381 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ltype->ctable); in _Locale_ctype_create() 382 MapCtypeMasks(ltype->ctable, ltype->ctable + 256); in _Locale_ctype_create() 1031 _STLP_STATIC_ASSERT(sizeof(_Locale_mask_t) == sizeof(ltype->ctable[0])) in _Locale_ctype_table() 1032 return (const _Locale_mask_t*)ltype->ctable; in _Locale_ctype_table()
|