Home
last modified time | relevance | path

Searched refs:dstRB (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/src/opts/
DSkBlitMask_opts.h45 static void D32_A8_Opaque_Color_neon(void* SK_RESTRICT dst, size_t dstRB, in D32_A8_Opaque_Color_neon() argument
54 dstRB -= (width << 2); in D32_A8_Opaque_Color_neon()
102 device = (uint32_t*)((char*)device + dstRB); in D32_A8_Opaque_Color_neon()
108 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_general() argument
111 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_general()
115 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_opaque() argument
118 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_opaque()
122 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_black() argument
129 dstRB -= (width << 2); in blit_mask_d32_a8_black()
152 device = (uint32_t*)((char*)device + dstRB); in blit_mask_d32_a8_black()
[all …]
/third_party/skia/src/core/
DSkConvertPixels.cpp17 static bool rect_memcpy(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in rect_memcpy() argument
29 SkRectMemcpy(dstPixels, dstRB, in rect_memcpy()
34 static bool swizzle_or_premul(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in swizzle_or_premul() argument
64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul()
70 static bool convert_to_alpha8(const SkImageInfo& dstInfo, void* vdst, size_t dstRB, in convert_to_alpha8() argument
93 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
109 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
120 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
134 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
147 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
[all …]
DSkBlitter_A8.cpp53 const size_t dstRB = fDevice.rowBytes(); in blitV() local
56 dst += dstRB; in blitV()
62 const size_t dstRB = fDevice.rowBytes(); in blitRect() local
65 dst += dstRB; in blitRect()
83 const size_t dstRB = fDevice.rowBytes(); in blitMask() local
87 dst += dstRB; in blitMask()
DSkConvertPixels.h20 static inline void SkRectMemcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, in SkRectMemcpy() argument
22 SkASSERT(trimRowBytes <= dstRB); in SkRectMemcpy()
24 if (trimRowBytes == dstRB && trimRowBytes == srcRB) { in SkRectMemcpy()
31 dst = SkTAddOffset<void>(dst, dstRB); in SkRectMemcpy()
DSkMaskBlurFilter.cpp771 uint8_t* dst, size_t dstRB) { in blur_column() argument
777 to += dstRB; in blur_column()
779 return to + dstRB; in blur_column()
789 dst += dstRB; in blur_column()
810 uint8_t *dst, size_t dstRB) { in blur_y_rect() argument
823 dst, dstRB); in blur_y_rect()
833 dst, dstRB); in blur_y_rect()
840 uint8_t* dst, size_t dstRB) { in direct_blur_y() argument
846 dst, dstRB); in direct_blur_y()
852 dst, dstRB); in direct_blur_y()
[all …]
DSkSpriteBlitter_ARGB32.cpp40 size_t dstRB = fDst.rowBytes(); in blitRect() local
47 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
72 size_t dstRB = fDst.rowBytes(); in blitRect() local
79 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
DSkSpriteBlitter_RGB565.cpp44 size_t dstRB = fDst.rowBytes(); in blitRect() local
54 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
133 size_t dstRB = fDst.rowBytes(); in blitRect() local
143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
DSkBlitter_Sprite.cpp88 const size_t dstRB = fDst.rowBytes(); in blitRect() local
94 dst += dstRB; in blitRect()
DSkBlurMask.cpp38 static void merge_src_with_blur(uint8_t dst[], int dstRB, in merge_src_with_blur() argument
42 dstRB -= sw; in merge_src_with_blur()
52 dst += dstRB; in merge_src_with_blur()
DSkScalerContext.cpp313 size_t dstRB = dst.fRowBytes; in pack4xHToMask() local
350 dstPDelta = dstRB; in pack4xHToMask()
352 dstP = SkTAddOffset<uint8_t>(dstImage, y * dstRB); in pack4xHToMask()
664 int dstRB = dstMask.fRowBytes; in getImage() local
683 dst += dstRB; in getImage()
DSkBitmap.cpp461 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels() argument
467 return src.readPixels(requestedDstInfo, dstPixels, dstRB, x, y); in readPixels()
DSkPixmap.cpp159 bool SkPixmap::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in readPixels() argument
165 SkReadPixelsRec rec(dstInfo, dstPixels, dstRB, x, y); in readPixels()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp60 const SkGlyph& glyph, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) { in get_packed_glyph_image() argument
71 if (srcRB != dstRB) { in get_packed_glyph_image()
76 dst = (char*) dst + dstRB; in get_packed_glyph_image()
79 memcpy(dst, src, dstRB * height); 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()
131 dst = (char*)dst + dstRB; in get_packed_glyph_image()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp392 size_t dstRB = glyph.rowBytes(); in RGBToA8() local
400 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8()
424 size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local
432 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16()
505 size_t dstRB = glyph.rowBytes(); in generateImage() local
510 dst = SkTAddOffset<uint8_t>(dst, dstRB); in generateImage()
515 size_t dstRB = glyph.rowBytes(); in generateImage() local
522 dst = SkTAddOffset<SkPMColor>(dst, dstRB); in generateImage()
DSkScalerContext_win_dw.cpp868 const size_t dstRB = (width + 7) >> 3; in BilevelToBW() local
900 dst += dstRB; in BilevelToBW()
908 const size_t dstRB = glyph.rowBytes(); in GrayscaleToA8() local
917 dst = SkTAddOffset<uint8_t>(dst, dstRB); in GrayscaleToA8()
925 const size_t dstRB = glyph.rowBytes(); in RGBToA8() local
936 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8()
944 const size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local
962 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16()
DSkFontHost_win.cpp1060 const size_t dstRB = glyph.rowBytes(); in RGBToA8() local
1062 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToA8()
1072 dst -= dstRB; in RGBToA8()
1080 const size_t dstRB = glyph.rowBytes(); in RGBToLcd16() local
1082 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToLcd16()
1089 dst = (uint16_t*)((char*)dst - dstRB); in RGBToLcd16()
1136 size_t dstRB = glyph.rowBytes(); in generateImage() local
1139 uint8_t* dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in generateImage()
1141 memcpy(dst, src, dstRB); in generateImage()
1143 dst -= dstRB; in generateImage()
[all …]
DSkFontHost_FreeType_common.cpp125 const size_t dstRB = mask.fRowBytes; in copyFT2LCD16() local
136 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
145 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
169 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
188 dst = (uint16_t*)((char*)dst + dstRB); in copyFT2LCD16()
/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
62 dst = (char*)dst + dstRB; in rect_memcpy()
/third_party/skia/gm/
Dlazytiling.cpp126 size_t dstRB = bigBM.rowBytes(); in create_bitmap() local
133 dst = dst - dstRB; in create_bitmap()
137 SkRectMemcpy(dst, dstRB, src, srcRB, in create_bitmap()
/third_party/skia/src/image/
DSkImage_GpuBase.cpp163 size_t dstRB, in onReadPixels() argument
181 return sContext->readPixels(dContext, {dstInfo, dstPixels, dstRB}, {srcX, srcY}); in onReadPixels()
DSkImage_GpuBase.h32 size_t dstRB,
DSkImage_Lazy.cpp169 size_t dstRB, in onReadPixels() argument
175 return bm.readPixels(dstInfo, dstPixels, dstRB, srcX, srcY); in onReadPixels()
/third_party/skia/src/gpu/
DGrDataUtils.h42 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color);
DGrDataUtils.cpp749 bool GrClearImage(const GrImageInfo& dstInfo, void* dst, size_t dstRB, std::array<float, 4> color) { in GrClearImage() argument
758 if (dstRB < dstInfo.minRowBytes()) { in GrClearImage()
765 char* d = static_cast<char*>(dst) + y * dstRB; in GrClearImage()
801 SkRasterPipeline_MemoryCtx dstCtx{dst, SkToInt(dstRB/dstInfo.bpp())}; in GrClearImage()
/third_party/skia/tests/
DReadWritePixelsGpuTest.cpp256 const size_t dstRB = readBpp * readInfo.width() + 10 * readBpp; in gpu_read_pixels_test_driver() local
258 const size_t dstSize = readInfo.computeByteSize(dstRB); in gpu_read_pixels_test_driver()
260 SkPixmap dstPixels(readInfo, dstData.get(), dstRB); in gpu_read_pixels_test_driver()

12