/external/skia/gm/ |
H A D | tinybitmap.cpp | 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); local 22 bm.allocPixels(ctable); 23 ctable->unref();
|
H A D | bitmapfilters.cpp | 21 SkColorTable* ctable = new SkColorTable(colorsPM, 4); local 24 bm->allocPixels(ctable); 25 ctable->unref();
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | DiscardablePixelRef.cpp | 42 bool DiscardablePixelRefAllocator::allocPixelRef(SkBitmap* dst, SkColorTable* ctable) argument 45 ASSERT(!ctable); 92 void* DiscardablePixelRef::onLockPixels(SkColorTable** ctable) argument 97 *ctable = 0;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMallocPixelRef.cpp | 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { argument 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, 35 NewDirect(const SkImageInfo& info, void* addr, size_t rowBytes, SkColorTable* ctable) argument 45 NewAllocate(const SkImageInfo& info, size_t requestedRowBytes, SkColorTable* ctable) argument 84 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, bool ownsPixels) argument 112 onLockPixels(SkColorTable** ctable) argument [all...] |
H A D | SkPixelRef.cpp | 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) { argument 156 fColorTable = ctable;
|
H A D | 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[(s 171 blitrow_d16_si8(uint16_t* SK_RESTRICT dst, const uint8_t* SK_RESTRICT src, int count, const uint16_t* SK_RESTRICT ctable) argument [all...] |
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageEncoder_argb.cpp | 23 const SkPMColor* SK_RESTRICT ctable); 62 const SkPMColor* SK_RESTRICT ctable) { 65 const uint32_t c = ctable[*src++]; 61 Index8_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor* SK_RESTRICT ctable) argument
|
H A D | 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[*sr 356 Sample_Index_D8888(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 371 Sample_Index_D8888_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 401 Sample_Index_D565(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 413 Sample_Index_D565_D(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 437 Sample_Index_D4444(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 452 Sample_Index_D4444_D(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 469 Sample_Index_D4444_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 486 Sample_Index_D4444_D_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 615 begin(SkBitmap* dst, SrcConfig sc, const SkImageDecoder& decoder, const SkPMColor ctable[]) argument [all...] |
H A D | SkImageDecoder_libwebp.cpp | 443 const SkPMColor* SK_RESTRICT ctable); 482 const SkPMColor* SK_RESTRICT ctable) { 485 const uint32_t c = ctable[*src++]; 481 Index8_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor* SK_RESTRICT ctable) argument
|
/external/skia/src/core/ |
H A D | SkMallocPixelRef.cpp | 12 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { argument 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, 35 NewDirect(const SkImageInfo& info, void* addr, size_t rowBytes, SkColorTable* ctable) argument 45 NewAllocate(const SkImageInfo& info, size_t requestedRowBytes, SkColorTable* ctable) argument 84 SkMallocPixelRef(const SkImageInfo& info, void* storage, size_t rowBytes, SkColorTable* ctable, bool ownsPixels) argument 112 onLockPixels(SkColorTable** ctable) argument [all...] |
H A D | SkPixelRef.cpp | 151 void SkPixelRef::setPreLocked(void* pixels, SkColorTable* ctable) { argument 156 fColorTable = ctable;
|
H A D | 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[(s 171 blitrow_d16_si8(uint16_t* SK_RESTRICT dst, const uint8_t* SK_RESTRICT src, int count, const uint16_t* SK_RESTRICT ctable) argument [all...] |
/external/skia/src/images/ |
H A D | SkImageEncoder_argb.cpp | 23 const SkPMColor* SK_RESTRICT ctable); 62 const SkPMColor* SK_RESTRICT ctable) { 65 const uint32_t c = ctable[*src++]; 61 Index8_To_ARGB(const uint8_t* in, uint8_t* argb, int width, const SkPMColor* SK_RESTRICT ctable) argument
|
H A D | 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[*sr 356 Sample_Index_D8888(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 371 Sample_Index_D8888_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 401 Sample_Index_D565(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int, const SkPMColor ctable[]) argument 413 Sample_Index_D565_D(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 437 Sample_Index_D4444(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 452 Sample_Index_D4444_D(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 469 Sample_Index_D4444_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 486 Sample_Index_D4444_D_SkipZ(void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int width, int deltaSrc, int y, const SkPMColor ctable[]) argument 615 begin(SkBitmap* dst, SrcConfig sc, const SkImageDecoder& decoder, const SkPMColor ctable[]) argument [all...] |
H A D | SkImageDecoder_libwebp.cpp | 443 const SkPMColor* SK_RESTRICT ctable); 482 const SkPMColor* SK_RESTRICT ctable) { 485 const uint32_t c = ctable[*src++]; 481 Index8_To_RGB(const uint8_t* in, uint8_t* rgb, int width, const SkPMColor* SK_RESTRICT ctable) argument
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGrPixelRef.cpp | 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) { argument 27 if (ctable) { 28 *ctable = NULL;
|
H A D | 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/skia/bench/ |
H A D | RepeatTileBench.cpp | 71 SkColorTable* ctable = new SkColorTable(storage, 216, aType); local 73 dst->allocPixels(ctable); 74 ctable->unref();
|
H A D | BitmapBench.cpp | 50 SkColorTable* ctable = new SkColorTable(storage, 216, local 53 dst->allocPixels(ctable); 54 ctable->unref();
|
/external/skia/src/gpu/ |
H A D | SkGrPixelRef.cpp | 26 void* SkROLockPixelsPixelRef::onLockPixels(SkColorTable** ctable) { argument 27 if (ctable) { 28 *ctable = NULL;
|
H A D | 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/opencv/cvaux/src/ |
H A D | 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 local 491 CvBGPixelCStatTable* ctable = stat->ctable; local [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | 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) { argument 747 fCTable = ctable; 748 fColors = ctable 764 lockColors(SkColorTable* ctable) argument [all...] |
/external/skia/include/core/ |
H A D | 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) { argument 747 fCTable = ctable; 748 fColors = ctable 764 lockColors(SkColorTable* ctable) argument [all...] |
/external/stlport/src/c_locale_win32/ |
H A D | c_wlocale_win32.c | 115 static int __isleadbyte(int i, unsigned char *ctable) {
argument 117 return (ctable[c / CHAR_BIT] & (0x01 << c % CHAR_BIT));
|