/external/skqp/src/core/ |
D | SkConvertPixels.cpp | 57 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { in swizzle_and_multiply() argument 87 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_and_multiply() 124 size_t srcRB, SkTransferFunctionBehavior behavior) { in apply_color_xform() argument 159 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in apply_color_xform() 165 const void* src, size_t srcRB, SkColorTable* ctable) { in convert_to_alpha8() argument 183 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 194 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8() 205 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8() 217 const SkImageInfo& srcInfo, const void* srcRow, size_t srcRB, in convert_with_pipeline() argument 220 SkJumper_MemoryCtx src = { (void*)srcRow, (int)(srcRB / srcInfo.bytesPerPixel()) }, in convert_with_pipeline() [all …]
|
D | SkMipMap.cpp | 128 template <typename F> void downsample_1_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_2() argument 131 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_2() 145 template <typename F> void downsample_1_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_3() argument 148 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_3() 149 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_1_3() 165 template <typename F> void downsample_2_1(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_1() argument 180 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument 183 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2() 199 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument 202 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3() [all …]
|
D | SkConvertPixels.h | 20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 23 SkASSERT(bytesPerRow <= srcRB); in SkRectMemcpy() 24 if (bytesPerRow == dstRB && bytesPerRow == srcRB) { in SkRectMemcpy() 32 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
|
D | SkSpriteBlitter_ARGB32.cpp | 42 size_t srcRB = fSource.rowBytes(); in blitRect() local 49 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 74 size_t srcRB = fSource.rowBytes(); in blitRect() local 81 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB565.cpp | 46 size_t srcRB = fSource.rowBytes(); in blitRect() local 56 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 134 size_t srcRB = fSource.rowBytes(); in blitRect() local 144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkBlitter_A8.cpp | 79 const size_t srcRB = mask.fRowBytes; in blitMask() local 85 src += srcRB; in blitMask()
|
D | SkScalerContext.cpp | 311 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 322 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 323 const size_t srcPad = srcRB - width; in packA8ToA1() 421 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument 436 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha() 515 int srcRB = dstM.fRowBytes; in getImage() local 530 src += srcRB; in getImage()
|
D | SkBlitter_Sprite.cpp | 85 const size_t srcRB = fSource.rowBytes(); in blitRect() local 91 src += srcRB; in blitRect()
|
/external/skia/src/core/ |
D | SkConvertPixels.cpp | 57 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { in swizzle_and_multiply() argument 87 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_and_multiply() 124 size_t srcRB, SkTransferFunctionBehavior behavior) { in apply_color_xform() argument 159 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in apply_color_xform() 165 const void* src, size_t srcRB, SkColorTable* ctable) { in convert_to_alpha8() argument 183 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8() 194 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8() 205 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8() 217 const SkImageInfo& srcInfo, const void* srcRow, size_t srcRB, in convert_with_pipeline() argument 220 SkJumper_MemoryCtx src = { (void*)srcRow, (int)(srcRB / srcInfo.bytesPerPixel()) }, in convert_with_pipeline() [all …]
|
D | SkMipMap.cpp | 129 template <typename F> void downsample_1_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_2() argument 132 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_2() 146 template <typename F> void downsample_1_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_3() argument 149 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_3() 150 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_1_3() 166 template <typename F> void downsample_2_1(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_1() argument 181 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument 184 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2() 200 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument 203 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3() [all …]
|
D | SkConvertPixels.h | 20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument 23 SkASSERT(bytesPerRow <= srcRB); in SkRectMemcpy() 24 if (bytesPerRow == dstRB && bytesPerRow == srcRB) { in SkRectMemcpy() 32 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
|
D | SkSpriteBlitter_ARGB32.cpp | 42 size_t srcRB = fSource.rowBytes(); in blitRect() local 49 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 74 size_t srcRB = fSource.rowBytes(); in blitRect() local 81 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkSpriteBlitter_RGB565.cpp | 46 size_t srcRB = fSource.rowBytes(); in blitRect() local 56 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect() 134 size_t srcRB = fSource.rowBytes(); in blitRect() local 144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
|
D | SkBlitter_A8.cpp | 79 const size_t srcRB = mask.fRowBytes; in blitMask() local 85 src += srcRB; in blitMask()
|
D | SkScalerContext.cpp | 305 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 316 SkASSERT(srcRB >= (size_t)width); in packA8ToA1() 317 const size_t srcPad = srcRB - width; in packA8ToA1() 415 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument 430 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha() 509 int srcRB = dstM.fRowBytes; in getImage() local 524 src += srcRB; in getImage()
|
D | SkBlitter_Sprite.cpp | 85 const size_t srcRB = fSource.rowBytes(); in blitRect() local 91 src += srcRB; in blitRect()
|
/external/skia/src/gpu/text/ |
D | GrGlyphCache.cpp | 147 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local 157 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 162 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 168 } else if (srcRB == dstRB) { in get_packed_glyph_image() 174 src = (const char*)src + srcRB; in get_packed_glyph_image()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 514 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 515 size_t size = fHeight * srcRB; in draw() 529 *srcRBPtr = srcRB; in draw() 531 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1116 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument 1123 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1130 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument 1141 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw() 1168 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1182 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument [all …]
|
D | SkFontHost_FreeType_common.cpp | 295 void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument 305 const int srcPad = srcRB - width; in packA8ToA1()
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 514 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local 515 size_t size = fHeight * srcRB; in draw() 529 *srcRBPtr = srcRB; in draw() 531 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw() 1116 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument 1123 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1130 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument 1141 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw() 1168 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1182 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument [all …]
|
/external/skqp/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 300 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local 310 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 315 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image() 321 } else if (srcRB == dstRB) { in get_packed_glyph_image() 327 src = (const char*)src + srcRB; in get_packed_glyph_image()
|
/external/skia/src/effects/ |
D | SkShaderMaskFilter.cpp | 64 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument 69 src = (const char*)src + srcRB; in rect_memcpy()
|
D | SkBlurMask.cpp | 36 const uint8_t src[], int srcRB, in merge_src_with_blur() argument 40 srcRB -= sw; in merge_src_with_blur() 50 src += srcRB; in merge_src_with_blur()
|
/external/skqp/src/effects/ |
D | SkShaderMaskFilter.cpp | 64 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument 69 src = (const char*)src + srcRB; in rect_memcpy()
|
D | SkBlurMask.cpp | 35 const uint8_t src[], int srcRB, in merge_src_with_blur() argument 39 srcRB -= sw; in merge_src_with_blur() 49 src += srcRB; in merge_src_with_blur()
|