Home
last modified time | relevance | path

Searched refs:SK_RESTRICT (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/codec/
DSkSwizzler.cpp88 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_grayscale()
91 uint8_t* SK_RESTRICT dst = (uint8_t*) dstRow; in swizzle_bit_to_grayscale()
113 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_n32()
115 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_bit_to_n32()
136 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_565()
138 uint16_t* SK_RESTRICT dst = (uint16_t*) dstRow; in swizzle_bit_to_565()
159 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_bit_to_f16()
170 uint64_t* SK_RESTRICT dst = (uint64_t*) dstRow; in swizzle_bit_to_f16()
190 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_565()
211 void* SK_RESTRICT dstRow, const uint8_t* SK_RESTRICT src, int dstWidth, in swizzle_small_index_to_n32()
[all …]
DSkSwizzler.h62 void swizzle(void* dst, const uint8_t* SK_RESTRICT src);
104 typedef void (*RowProc)(void* SK_RESTRICT dstRow,
105 const uint8_t* SK_RESTRICT src,
110 static void SkipLeading8888ZerosThen(void* SK_RESTRICT dstRow,
111 const uint8_t* SK_RESTRICT src,
DSkMaskSwizzler.h36 void swizzle(void* dst, const uint8_t* SK_RESTRICT src);
DSkMaskSwizzler.cpp565 void SkMaskSwizzler::swizzle(void* dst, const uint8_t* SK_RESTRICT src) { in swizzle()
/third_party/skia/src/core/
DSkSpriteBlitter_ARGB32.cpp38 uint32_t* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect()
39 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
47 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
48 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
70 uint32_t* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect()
71 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
79 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
80 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkSpriteBlitter_RGB565.cpp42 uint16_t* SK_RESTRICT dst = fDst.writable_addr16(x, y); in blitRect()
43 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
54 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
55 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
131 uint8_t* SK_RESTRICT dst = fDst.writable_addr8(x, y); in blitRect()
132 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
143 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
144 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkAAClip.cpp921 static void dump_one_row(const uint8_t* SK_RESTRICT row, in dump_one_row()
1616 static void expandToRuns(const uint8_t* SK_RESTRICT data, int initialCount, int width, in expandToRuns()
1617 int16_t* SK_RESTRICT runs, SkAlpha* SK_RESTRICT aa) { in expandToRuns()
1685 static void merge(const uint8_t* SK_RESTRICT row, int rowN, in merge()
1686 const SkAlpha* SK_RESTRICT srcAA, in merge()
1687 const int16_t* SK_RESTRICT srcRuns, in merge()
1688 SkAlpha* SK_RESTRICT dstAA, in merge()
1689 int16_t* SK_RESTRICT dstRuns, in merge()
1807 void mergeT(const void* inSrc, int srcN, const uint8_t* SK_RESTRICT row, int rowN, void* inDst) { in mergeT()
1808 const T* SK_RESTRICT src = static_cast<const T*>(inSrc); in mergeT()
[all …]
DSkRegion_path.cpp19 static bool sk_memeq32(const int32_t* SK_RESTRICT a, const int32_t* SK_RESTRICT b, int count) { in sk_memeq32()
DSkBitmap.cpp496 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, int alphaRowBytes) { in GetBitmapAlpha()
DSkBlitter_ARGB32.cpp955 static void blend_srcmode(SkPMColor* SK_RESTRICT device, in blend_srcmode()
956 const SkPMColor* SK_RESTRICT span, in blend_srcmode()
DSkMatrix.cpp175 const SkScalar* SK_RESTRICT ma = a.fMat; in operator ==()
176 const SkScalar* SK_RESTRICT mb = b.fMat; in operator ==()
DSkScalerContext.cpp279 uint8_t* SK_RESTRICT dst = (uint8_t*)mask.fImage; in applyLUTToA8Mask()
DSkPath.cpp1773 const SkPoint* SK_RESTRICT srcPts = fPts; in next()
1774 SkPoint* SK_RESTRICT pts = ptsParam; in next()
DSkGeometry.cpp1346 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop()
/third_party/skia/bench/
DMathBench.cpp47 virtual void performTest(float* SK_RESTRICT dst,
48 const float* SK_RESTRICT src,
74 virtual void performITest(uint32_t* SK_RESTRICT dst,
75 const uint32_t* SK_RESTRICT src,
78 void performTest(float* SK_RESTRICT dst, const float* SK_RESTRICT src, int count) override { in performTest()
93 void performTest(float* SK_RESTRICT dst, const float* SK_RESTRICT src, int count) override { in performTest()
106 void performTest(float* SK_RESTRICT dst, const float* SK_RESTRICT src, int count) override { in performTest()
120 void performTest(float* SK_RESTRICT dst, const float* SK_RESTRICT src, int count) override { in performTest()
133 void performTest(float* SK_RESTRICT dst, const float* SK_RESTRICT src, int count) override { in performTest()
156 void performITest(uint32_t* SK_RESTRICT dst, in performITest()
[all …]
/third_party/skia/src/ports/
DSkScalerContext_win_dw.h37 static void BilevelToBW(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph);
40 static void GrayscaleToA8(const uint8_t* SK_RESTRICT src,
45 static void RGBToA8(const uint8_t* SK_RESTRICT src,
50 static void RGBToLcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph,
DSkScalerContext_win_dw.cpp866 void SkScalerContext_DW::BilevelToBW(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) { in BilevelToBW()
869 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in BilevelToBW()
905 void SkScalerContext_DW::GrayscaleToA8(const uint8_t* SK_RESTRICT src, in GrayscaleToA8()
910 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in GrayscaleToA8()
922 void SkScalerContext_DW::RGBToA8(const uint8_t* SK_RESTRICT src, in RGBToA8()
927 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in RGBToA8()
941 void SkScalerContext_DW::RGBToLcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, in RGBToLcd16()
946 uint16_t* SK_RESTRICT dst = static_cast<uint16_t*>(glyph.fImage); in RGBToLcd16()
DSkScalerContext_mac_ct.cpp388 static void RGBToA8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, in RGBToA8()
393 uint8_t* SK_RESTRICT dst = (uint8_t*)glyphImage; in RGBToA8()
419 static void RGBToLcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, in RGBToLcd16()
425 uint16_t* SK_RESTRICT dst = (uint16_t*)glyphImage; in RGBToLcd16()
DSkFontHost_win.cpp577 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()
1062 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToA8()
1078 const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in RGBToLcd16()
1082 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.height() - 1) * dstRB); in RGBToLcd16()
DSkFontHost_FreeType_common.cpp1546 uint8_t* SK_RESTRICT dst = (uint8_t*)glyph.fImage; in generateGlyphImage()
/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()
46 const void* SK_RESTRICT maskPtr, size_t maskRB, in D32_A8_Opaque_Color_neon()
49 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Opaque_Color_neon()
50 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; in D32_A8_Opaque_Color_neon()
125 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in blit_mask_d32_a8_black()
126 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; in blit_mask_d32_a8_black()
/third_party/skia/include/core/
DSkTypes.h47 #if !defined(SK_RESTRICT)
48 #define SK_RESTRICT __restrict macro
55 #if !defined(SK_RESTRICT)
56 #define SK_RESTRICT __restrict__ macro