/external/skia/src/core/ |
SkConfig8888.h | 19 const uint32_t* srcPixels, 53 const uint32_t* srcPixels = reinterpret_cast<uint32_t*>(srcBmp.getPixels()); 55 SkConvertConfig8888Pixels(dstPixels, dstRowBytes, dstConfig8888, srcPixels, srcRowBytes, SkCanvas::kNative_Premul_Config8888, w, h); 63 const uint32_t* srcPixels, 73 SkConvertConfig8888Pixels(dstPixels, dstRowBytes, SkCanvas::kNative_Premul_Config8888, srcPixels, srcRowBytes, srcConfig8888, w, h);
|
SkConfig8888.cpp | 153 const uint32_t* srcPixels, 158 intptr_t srcPix = reinterpret_cast<intptr_t>(srcPixels); 161 srcPixels = reinterpret_cast<const uint32_t*>(srcPix); 164 dstPixels[x] = convert_pixel<DST_CFG, SRC_CFG>(srcPixels[x]); 175 const uint32_t* srcPixels, 181 convert_config8888<SkCanvas::kNative_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 184 convert_config8888<SkCanvas::kNative_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 187 convert_config8888<SkCanvas::kBGRA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 190 convert_config8888<SkCanvas::kBGRA_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 193 convert_config8888<SkCanvas::kRGBA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height) [all...] |
SkBitmapShaderTemplate.h | 70 const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPixels(); 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 106 uint32_t c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 145 srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)((const char*)srcPixels + y_index * srcRB); 151 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 157 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 178 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 214 const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPixels() [all...] |
ARGB32_Clamp_Bilinear_BitmapShader.h | 20 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table); 22 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table) 29 p00 = p01 = ((const SkPMColor*)((const char*)srcPixels 47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, 54 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX); 78 const SkPMColor* srcPixels = (const SkPMColor*)srcBitmap.getPixels(); 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 107 SkPMColor c = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 138 srcPixels = (const SkPMColor*)((const char*)srcPixels + (fy >> 16) * srcRB) [all...] |
SkBitmapShader16BilerpTemplate.h | 36 const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPixels(); 56 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + y * srcRB)) + x; 105 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + 145 const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPixels(); 163 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + 213 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels +
|
SkDevice.cpp | 315 uint32_t* srcPixels = bitmap.getAddr32(spriteRect.fLeft - x, 318 srcPixels,
|
/external/skia/legacy/src/core/ |
SkConfig8888.h | 19 const uint32_t* srcPixels, 50 const uint32_t* srcPixels, 70 const uint32_t* srcPixels = reinterpret_cast<uint32_t*>(srcBmp.getPixels()); 72 SkConvertConfig8888Pixels(dstPixels, dstRowBytes, dstConfig8888, srcPixels, srcRowBytes, SkCanvas::kNative_Premul_Config8888, w, h); 76 const uint32_t* srcPixels, 86 SkConvertConfig8888Pixels(dstPixels, dstRowBytes, SkCanvas::kNative_Premul_Config8888, srcPixels, srcRowBytes, srcConfig8888, w, h);
|
SkConfig8888.cpp | 152 const uint32_t* srcPixels, 157 intptr_t srcPix = reinterpret_cast<intptr_t>(srcPixels); 160 srcPixels = reinterpret_cast<const uint32_t*>(srcPix); 163 dstPixels[x] = convert_pixel<DST_CFG, SRC_CFG>(srcPixels[x]); 174 const uint32_t* srcPixels, 180 convert_config8888<SkCanvas::kNative_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 183 convert_config8888<SkCanvas::kNative_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 186 convert_config8888<SkCanvas::kBGRA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 189 convert_config8888<SkCanvas::kBGRA_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height); 192 convert_config8888<SkCanvas::kRGBA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, width, height) [all...] |
SkBitmapShaderTemplate.h | 70 const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPixels(); 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 106 uint32_t c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 145 srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)((const char*)srcPixels + y_index * srcRB); 151 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 157 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 178 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); 214 const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPixels() [all...] |
ARGB32_Clamp_Bilinear_BitmapShader.h | 20 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table); 22 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table) 29 p00 = p01 = ((const SkPMColor*)((const char*)srcPixels 47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, 54 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX); 78 const SkPMColor* srcPixels = (const SkPMColor*)srcBitmap.getPixels(); 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 107 SkPMColor c = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 138 srcPixels = (const SkPMColor*)((const char*)srcPixels + (fy >> 16) * srcRB) [all...] |
SkBitmapShader16BilerpTemplate.h | 36 const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPixels(); 56 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + y * srcRB)) + x; 105 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + 145 const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPixels(); 163 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + 213 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels +
|
SkDevice.cpp | 256 uint32_t* srcPixels = bitmap.getAddr32(spriteRect.fLeft - x, 259 srcPixels,
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
GLUtils.cpp | 629 char* srcPixels = (char*) sourceBitmap.getPixels(); 631 if (!dstPixels || !srcPixels || !subset.lockPixelsAreWritable()) { 632 ALOGD("no pixels :( %p, %p (writable=%d)", srcPixels, dstPixels, 644 memcpy(dstPixels + dstOffset, srcPixels + srcOffset, destRowSize);
|