/external/skia/src/core/ |
D | SkConfig8888.cpp | 152 const uint32_t* srcPixels, in convert_config8888() argument 157 intptr_t srcPix = reinterpret_cast<intptr_t>(srcPixels); in convert_config8888() 160 srcPixels = reinterpret_cast<const uint32_t*>(srcPix); in convert_config8888() 163 dstPixels[x] = convert_pixel<DST_CFG, SRC_CFG>(srcPixels[x]); in convert_config8888() 174 const uint32_t* srcPixels, in convert_config8888() argument 180 …8<SkCanvas::kNative_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, wi… in convert_config8888() 183 …SkCanvas::kNative_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, wi… in convert_config8888() 186 …888<SkCanvas::kBGRA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, wi… in convert_config8888() 189 …8<SkCanvas::kBGRA_Unpremul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, wi… in convert_config8888() 192 …888<SkCanvas::kRGBA_Premul_Config8888, SRC_CFG>(dstPixels, dstRowBytes, srcPixels, srcRowBytes, wi… in convert_config8888() [all …]
|
D | 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) in sample_bilerp() argument 29 p00 = p01 = ((const SkPMColor*)((const char*)srcPixels in sample_bilerp() 47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, in sample_bilerpx() argument 54 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX); in sample_bilerpx() 78 const SkPMColor* srcPixels = (const SkPMColor*)srcBitmap.getPixels(); in shadeSpan() local 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() 107 … SkPMColor c = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() 138 srcPixels = (const SkPMColor*)((const char*)srcPixels + (fy >> 16) * srcRB); in shadeSpan() 143 *dstC++ = sample_bilerpx(fx, srcMaxX, srcPixels, srcRB, proc_table); in shadeSpan() [all …]
|
D | SkBitmapShaderTemplate.h | 70 …const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPi… in shadeSpan() local 95 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 106 uint32_t c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 145 … srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)((const char*)srcPixels + y_index * srcRB); in shadeSpan() 151 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); in shadeSpan() 157 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_X(srcPixels, x); in shadeSpan() 171 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 178 SkPMColor c = NOFILTER_BITMAP_SHADER_SAMPLE_XY(srcPixels, x, y, srcRB); in shadeSpan() 214 …const NOFILTER_BITMAP_SHADER_TYPE* srcPixels = (const NOFILTER_BITMAP_SHADER_TYPE*)srcBitmap.getPi… in shadeSpan16() local 231 *dstC++ = NOFILTER_BITMAP_SHADER_SAMPLE_XY16(srcPixels, x, y, srcRB); in shadeSpan16() [all …]
|
D | SkConfig8888.h | 19 const uint32_t* srcPixels, 50 const uint32_t* srcPixels, 70 const uint32_t* srcPixels = reinterpret_cast<uint32_t*>(srcBmp.getPixels()); in SkCopyBitmapToConfig8888() local 72 …SkConvertConfig8888Pixels(dstPixels, dstRowBytes, dstConfig8888, srcPixels, srcRowBytes, SkCanvas:… in SkCopyBitmapToConfig8888() 76 const uint32_t* srcPixels, in SkCopyConfig8888ToBitmap() argument 86 …8888Pixels(dstPixels, dstRowBytes, SkCanvas::kNative_Premul_Config8888, srcPixels, srcRowBytes, sr… in SkCopyConfig8888ToBitmap()
|
D | SkBitmapShader16BilerpTemplate.h | 36 …const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPi… in shadeSpan() local 56 … p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + y * srcRB)) + x; in shadeSpan() 105 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + in shadeSpan() 145 …const BILERP_BITMAP16_SHADER_TYPE* srcPixels = (const BILERP_BITMAP16_SHADER_TYPE*)srcBitmap.getPi… in shadeSpan16() local 163 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + in shadeSpan16() 213 p00 = p01 = ((const BILERP_BITMAP16_SHADER_TYPE*)((const char*)srcPixels + in shadeSpan16()
|
D | SkDevice.cpp | 256 uint32_t* srcPixels = bitmap.getAddr32(spriteRect.fLeft - x, in writePixels() local 259 srcPixels, in writePixels()
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
D | GLUtils.cpp | 627 char* srcPixels = (char*) sourceBitmap.getPixels(); in deepCopyBitmapSubset() local 629 if (!dstPixels || !srcPixels || !subset.lockPixelsAreWritable()) { in deepCopyBitmapSubset() 630 ALOGD("no pixels :( %p, %p (writable=%d)", srcPixels, dstPixels, in deepCopyBitmapSubset() 642 memcpy(dstPixels + dstOffset, srcPixels + srcOffset, destRowSize); in deepCopyBitmapSubset()
|