/external/chromium_org/third_party/skia/src/core/ |
SkMallocPixelRef.cpp | 18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { 30 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) { 33 if (kIndex8_SkColorType != info.fColorType && ctable) { 43 SkColorTable* ctable) { 44 if (!is_valid(info, ctable)) { 48 (info, addr, rowBytes, ctable, NULL, NULL)); 54 SkColorTable* ctable) { 55 if (!is_valid(info, ctable)) { 87 (info, addr, rowBytes, ctable, 93 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...] |
SkImageGenerator.cpp | 20 SkPMColor ctable[], int* ctableCount) { 32 if (NULL == ctable || NULL == ctableCount) { 40 ctable = NULL; 43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
|
SkConfig8888.cpp | 142 SkColorTable* ctable) { 202 if (NULL == ctable) { 205 table = ctable->lockColors(); 227 ctable->unlockColors(); 243 if (!bm.installPixels(srcInfo, const_cast<void*>(srcPixels), srcRB, ctable, NULL, NULL)) {
|
/external/skia/src/core/ |
SkMallocPixelRef.cpp | 18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { 31 if (kIndex8_SkColorType == info.fColorType && NULL == ctable) { 34 if (kIndex8_SkColorType != info.fColorType && NULL != ctable) { 44 SkColorTable* ctable) { 45 if (!is_valid(info, ctable)) { 49 (info, addr, rowBytes, ctable, NULL, NULL)); 55 SkColorTable* ctable) { 56 if (!is_valid(info, ctable)) { 88 (info, addr, rowBytes, ctable, 94 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...] |
SkImageGenerator.cpp | 20 SkPMColor ctable[], int* ctableCount) { 32 if (NULL == ctable || NULL == ctableCount) { 40 ctable = NULL; 43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
|
/external/chromium_org/third_party/skia/gm/ |
tinybitmap.cpp | 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); local 23 NULL, ctable); 24 ctable->unref();
|
/external/skia/gm/ |
tinybitmap.cpp | 18 SkColorTable* ctable = new SkColorTable(c, SK_ARRAY_COUNT(c)); local 23 NULL, ctable); 24 ctable->unref();
|
/external/skia/include/core/ |
SkImageGenerator.h | 101 * SkPMColor values in ctable. On success the generator must copy N colors into that storage, 111 SkPMColor ctable[], int* ctableCount); 124 SkPMColor ctable[], int* ctableCount);
|
SkBitmap.h | 360 @param ctable ColorTable (or null) that matches the specified pixels 362 void setPixels(void* p, SkColorTable* ctable = NULL); 393 @param ctable ColorTable (or null) to use with the pixels that will 398 bool allocPixels(SkColorTable* ctable = NULL) { 399 return this->allocPixels(NULL, ctable); 413 @param ctable ColorTable (or null) to use with the pixels that will 420 bool allocPixels(Allocator* allocator, SkColorTable* ctable); [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleTinyBitmap.cpp | 22 SkColorTable* ctable = new SkColorTable(c, N); local 27 NULL, ctable); 28 ctable->unref(); 60 SkAutoLockPixels alp(*bm); // needed for ctable
|
/external/skia/samplecode/ |
SampleTinyBitmap.cpp | 22 SkColorTable* ctable = new SkColorTable(c, N); local 27 NULL, ctable); 28 ctable->unref(); 60 SkAutoLockPixels alp(*bm); // needed for ctable
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 234 SkColorTable* ctable) { 235 if (!this->tryAllocPixels(info, factory, ctable)) { 312 @param ctable ColorTable (or null) that matches the specified pixels 314 void setPixels(void* p, SkColorTable* ctable = NULL); 345 @param ctable ColorTable (or null) to use with the pixels that will 350 bool SK_WARN_UNUSED_RESULT tryAllocPixels(SkColorTable* ctable = NULL) { 351 return this->tryAllocPixels(NULL, ctable); 354 SK_ALLOCPIXELS_RETURN_TYPE allocPixels(SkColorTable* ctable = NULL) { 355 return this->allocPixels(NULL, ctable); 369 @param ctable ColorTable (or null) to use with the pixels that wil [all...] |
SkImageGenerator.h | 95 * SkPMColor values in ctable. On success the generator must copy N colors into that storage, 105 SkPMColor ctable[], int* ctableCount); 132 SkPMColor ctable[], int* ctableCount);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
DecodingImageGenerator.h | 55 virtual bool onGetPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount) OVERRIDE;
|
/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++];
|
SkDecodingImageGenerator.cpp | 47 SkPMColor ctable[], int* ctableCount) SK_OVERRIDE; 195 SkColorTable* ctable = bitmap.getColorTable(); local 196 if (NULL == ctable) { 199 const int count = ctable->count(); 200 memcpy(ctableEntries, ctable->lockColors(), count * sizeof(SkPMColor)); 201 ctable->unlockColors();
|
SkScaledBitmapSampler.cpp | 366 int width, int deltaSrc, int, const SkPMColor ctable[]) { 371 SkPMColor c = ctable[*src]; 382 const SkPMColor ctable[]) { 387 SkPMColor c = ctable[*src]; 412 int width, int deltaSrc, int, const SkPMColor ctable[]) { 416 dst[x] = SkPixel32ToPixel16(ctable[*src]); 424 int deltaSrc, int y, const SkPMColor ctable[]) { 430 SkPMColor c = ctable[*src]; 449 int deltaSrc, int y, const SkPMColor ctable[]) { 454 SkPMColor c = ctable[*src] [all...] |
/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++];
|
SkDecodingImageGenerator.cpp | 47 SkPMColor ctable[], int* ctableCount) SK_OVERRIDE; 200 SkColorTable* ctable = bitmap.getColorTable(); local 201 if (NULL == ctable) { 204 const int count = ctable->count(); 205 memcpy(ctableEntries, ctable->lockColors(), count * sizeof(SkPMColor)); 206 ctable->unlockColors();
|
SkScaledBitmapSampler.cpp | 366 int width, int deltaSrc, int, const SkPMColor ctable[]) { 371 SkPMColor c = ctable[*src]; 382 const SkPMColor ctable[]) { 387 SkPMColor c = ctable[*src]; 412 int width, int deltaSrc, int, const SkPMColor ctable[]) { 416 dst[x] = SkPixel32ToPixel16(ctable[*src]); 424 int deltaSrc, int y, const SkPMColor ctable[]) { 430 SkPMColor c = ctable[*src]; 449 int deltaSrc, int y, const SkPMColor ctable[]) { 454 SkPMColor c = ctable[*src] [all...] |
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 225 SkColorTable* ctable) { 228 const SkPMColor* colors = ctable->lockColors(); 232 ctable->unlockColors(); 236 SkColorTable* ctable) { 239 const SkPMColor* colors = ctable->lockColors(); 245 ctable->unlockColors(); 249 SkColorTable* ctable) { 252 const SkPMColor* colors = ctable->lockColors(); 258 ctable->unlockColors(); 582 SkColorTable* ctable = NULL local 642 SkColorTable* ctable = bitmap->getColorTable(); local 740 SkColorTable* ctable = bitmap->getColorTable(); local [all...] |