Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkConfig8888.cpp129 static void copy_g8_to_32(void* dst, size_t dstRB, const void* src, size_t srcRB, int w, int h) { in copy_g8_to_32() argument
138 src8 += srcRB; in copy_g8_to_32()
142 static void copy_32_to_g8(void* dst, size_t dstRB, const void* src, size_t srcRB, in copy_32_to_g8() argument
165 src32 = (const uint32_t*)((const char*)src32 + srcRB); in copy_32_to_g8()
171 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in CopyPixels() argument
185 srcPixels = (const char*)srcPixels + srcRB; in CopyPixels()
203 srcPI.fRowBytes = srcRB; in CopyPixels()
225 SkRectMemcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height); in CopyPixels()
235 copy_g8_to_32(dstPixels, dstRB, srcPixels, srcRB, width, height); in CopyPixels()
239 copy_32_to_g8(dstPixels, dstRB, srcPixels, srcRB, srcInfo); in CopyPixels()
[all …]
DSkMipMap.cpp87 template <typename F> void downsample_2_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_2() argument
89 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_2()
105 template <typename F> void downsample_3_2(void* dst, const void* src, size_t srcRB, int count) { in downsample_3_2() argument
108 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_3_2()
128 template <typename F> void downsample_2_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_2_3() argument
130 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_2_3()
131 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_2_3()
150 template <typename F> void downsample_3_3(void* dst, const void* src, size_t srcRB, int count) { in downsample_3_3() argument
152 auto p1 = (const typename F::Type*)((const char*)p0 + srcRB); in downsample_3_3()
153 auto p2 = (const typename F::Type*)((const char*)p1 + srcRB); in downsample_3_3()
[all …]
DSkSpriteBlitter_ARGB32.cpp40 size_t srcRB = fSource.rowBytes(); in blitRect() local
47 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
125 size_t srcRB = fSource.rowBytes(); in blitRect() local
144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
171 size_t srcRB = fSource.rowBytes(); in blitRect() local
189 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
217 size_t srcRB = fSource.rowBytes(); in blitRect() local
222 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
245 size_t srcRB = fSource.rowBytes(); in blitRect() local
250 src = (const SkPMColor16* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkConfig8888.h37 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument
39 SkASSERT(bytesPerRow <= srcRB); in SkRectMemcpy()
44 src = (const char*)src + srcRB; in SkRectMemcpy()
DSkSpriteBlitterTemplate.h21 size_t srcRB = fSource.rowBytes(); in blitRect() local
46 src = (const SkSPRITE_SRC_TYPE* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkSpriteBlitter_RGB16.cpp57 size_t srcRB = fSource.rowBytes(); in blitRect() local
62 src = (const uint16_t*)((const char*)src + srcRB); in blitRect()
279 size_t srcRB = fSource.rowBytes(); in blitRect() local
287 src = (const SkPMColor* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkScalerContext.cpp340 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument
351 SkASSERT(srcRB >= (size_t)width); in packA8ToA1()
352 const size_t srcPad = srcRB - width; in packA8ToA1()
451 const SkPMColor* srcRow, size_t srcRB) { in extract_alpha() argument
466 srcRow = (const SkPMColor*)((const char*)srcRow + srcRB); in extract_alpha()
561 int srcRB = dstM.fRowBytes; in getImage() local
576 src += srcRB; in getImage()
DSkBlitter_A8.cpp422 const size_t srcRB = mask.fRowBytes; in blitMask() local
428 src += srcRB; in blitMask()
DSkAAClip.cpp2123 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8() local
2151 src += srcRB; in upscaleBW2A8()
2186 const size_t srcRB = mask->fRowBytes; in blitMask() local
2213 src = (const void*)((const char*)src + srcRB); in blitMask()
/external/skia/src/gpu/text/
DGrFontScaler.cpp136 int srcRB = glyph.rowBytes(); in getPackedGlyphImage() local
146 expand_bits(bytes, bits, width, height, dstRB, srcRB); in getPackedGlyphImage()
151 expand_bits(rgb565, bits, width, height, dstRB, srcRB); in getPackedGlyphImage()
157 } else if (srcRB == dstRB) { in getPackedGlyphImage()
163 src = (const char*)src + srcRB; in getPackedGlyphImage()
/external/skia/src/images/
DSkImageDecoder_wbmp.cpp134 size_t srcRB = SkAlign8(width) >> 3; in onDecode() local
135 size_t srcSize = height * srcRB; in onDecode()
145 src += srcRB; in onDecode()
/external/skia/src/ports/
DSkFontHost_win.cpp510 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local
511 size_t size = fHeight * srcRB; in draw()
525 *srcRBPtr = srcRB; in draw()
527 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw()
1129 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument
1136 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw()
1143 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument
1154 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw()
1181 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw()
1195 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument
[all …]
DSkFontHost_FreeType_common.cpp267 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1() argument
277 const int srcPad = srcRB - width; in packA8ToA1()
/external/skia/src/effects/
DSkBlurMask.cpp420 const uint8_t src[], int srcRB, in merge_src_with_blur() argument
424 srcRB -= sw; in merge_src_with_blur()
434 src += srcRB; in merge_src_with_blur()