Home
last modified time | relevance | path

Searched refs:srcRB (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/core/
DSkConvertPixels.cpp18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in rect_memcpy() argument
30 srcPixels, srcRB, dstInfo.minRowBytes(), dstInfo.height()); in rect_memcpy()
35 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument
65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul()
71 const SkImageInfo& srcInfo, const void* src, size_t srcRB, in convert_to_alpha8() argument
94 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8()
121 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8()
135 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8()
148 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8()
161 src64 = SkTAddOffset<const uint64_t>(src64, srcRB); in convert_to_alpha8()
[all …]
DSkMipmap.cpp198 template <typename F> void downsample_1_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_2() argument
201 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_2()
215 template <typename F> void downsample_1_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_1_3() argument
218 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_1_3()
219 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_1_3()
235 template <typename F> void downsample_2_1(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_1() argument
250 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument
253 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2()
269 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument
272 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3()
[all …]
DSkConvertPixels.h20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument
23 SkASSERT(trimRowBytes <= srcRB); in SkRectMemcpy()
24 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy()
32 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
DSkSpriteBlitter_ARGB32.cpp41 size_t srcRB = fSource.rowBytes(); in blitRect() local
48 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
73 size_t srcRB = fSource.rowBytes(); in blitRect() local
80 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkSpriteBlitter_RGB565.cpp45 size_t srcRB = fSource.rowBytes(); in blitRect() local
55 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()
DSkMaskBlurFilter.cpp770 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument
788 src += srcRB; in blur_column()
809 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument
822 src, srcRB, srcH, in blur_y_rect()
832 src, srcRB, srcH, in blur_y_rect()
839 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument
845 src, srcRB, srcW, srcH, in direct_blur_y()
851 src, srcRB, srcW, srcH, in direct_blur_y()
857 src, srcRB, srcW, srcH, in direct_blur_y()
863 src, srcRB, srcW, srcH, in direct_blur_y()
[all …]
DSkBlitter_A8.cpp82 const size_t srcRB = mask.fRowBytes; in blitMask() local
88 src += srcRB; in blitMask()
DSkBlitter_Sprite.cpp89 const size_t srcRB = fSource.rowBytes(); in blitRect() local
95 src += srcRB; in blitRect()
DSkScalerContext.cpp422 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument
433 SkASSERT(srcRB >= (size_t)width); in packA8ToA1()
434 const size_t srcPad = srcRB - width; in packA8ToA1()
665 int srcRB = srcMask.fRowBytes; in getImage() local
682 src += srcRB; in getImage()
DSkBlurMask.cpp39 AlphaIter src, int srcRB, in merge_src_with_blur() argument
53 src >>= srcRB; in merge_src_with_blur()
DSkAAClip.cpp1870 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8() local
1898 src += srcRB; in upscaleBW2A8()
1933 const size_t srcRB = mask->fRowBytes; in blitMask() local
1960 src = (const void*)((const char*)src + srcRB); in blitMask()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp68 int srcRB = glyph.rowBytes(); in get_packed_glyph_image() local
71 if (srcRB != dstRB) { in get_packed_glyph_image()
75 src = (const char*) src + srcRB; in get_packed_glyph_image()
87 expand_bits(bytes, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
92 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in get_packed_glyph_image()
/third_party/skia/gm/
Dlazytiling.cpp125 size_t srcRB = contentBM.rowBytes(); in create_bitmap() local
131 memcpy(dst, src, srcRB); in create_bitmap()
132 src = src + srcRB; in create_bitmap()
137 SkRectMemcpy(dst, dstRB, src, srcRB, in create_bitmap()
/third_party/skia/src/ports/
DSkFontHost_win.cpp532 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local
533 size_t size = fHeight * srcRB; in draw()
547 *srcRBPtr = srcRB; in draw()
549 return (const char*)fBits + (fHeight - glyph.height()) * srcRB; in draw()
577 static void RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB,
581 static void RGBToLcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph,
1058 void SkScalerContext_GDI::RGBToA8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in RGBToA8() argument
1071 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8()
1078 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16() argument
1088 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16()
[all …]
DSkFontHost_FreeType_common.cpp312 void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument
322 const int srcPad = srcRB - width; in packA8ToA1()
/third_party/skia/src/effects/
DSkShaderMaskFilter.cpp58 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in rect_memcpy() argument
63 src = (const char*)src + srcRB; in rect_memcpy()