Home
last modified time | relevance | path

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

12

/external/skqp/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);
/external/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);
/external/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()
130 uint8_t* SK_RESTRICT dst = fDst.writable_addr8(x, y); in blitRect()
131 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
142 dst = (uint8_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
143 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkMatrix44.cpp22 static inline bool eq4(const SkScalar* SK_RESTRICT a, in eq4()
23 const SkScalar* SK_RESTRICT b) { in eq4()
36 const SkScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
37 const SkScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
737 static void map2_if(const SkScalar mat[][4], const float* SK_RESTRICT src2, in map2_if()
738 int count, float* SK_RESTRICT dst4) { in map2_if()
749 static void map2_id(const SkScalar mat[][4], const double* SK_RESTRICT src2, in map2_id()
750 int count, double* SK_RESTRICT dst4) { in map2_id()
761 static void map2_tf(const SkScalar mat[][4], const float* SK_RESTRICT src2, in map2_tf()
762 int count, float* SK_RESTRICT dst4) { in map2_tf()
[all …]
DSkAAClip.cpp227 static void dump_one_row(const uint8_t* SK_RESTRICT row, in dump_one_row()
1769 static void expand_row_to_mask(uint8_t* SK_RESTRICT mask, in expand_row_to_mask()
1770 const uint8_t* SK_RESTRICT row, in expand_row_to_mask()
1814 static void expandToRuns(const uint8_t* SK_RESTRICT data, int initialCount, int width, in expandToRuns()
1815 int16_t* SK_RESTRICT runs, SkAlpha* SK_RESTRICT aa) { in expandToRuns()
1883 static void merge(const uint8_t* SK_RESTRICT row, int rowN, in merge()
1884 const SkAlpha* SK_RESTRICT srcAA, in merge()
1885 const int16_t* SK_RESTRICT srcRuns, in merge()
1886 SkAlpha* SK_RESTRICT dstAA, in merge()
1887 int16_t* SK_RESTRICT dstRuns, in merge()
[all …]
/external/skqp/src/core/
DSkSpriteBlitter_ARGB32.cpp39 uint32_t* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect()
40 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
48 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
49 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
71 uint32_t* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect()
72 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
80 dst = (uint32_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
81 src = (const uint32_t* SK_RESTRICT)((const char*)src + srcRB); in blitRect()
DSkSpriteBlitter_RGB565.cpp43 uint16_t* SK_RESTRICT dst = fDst.writable_addr16(x, y); in blitRect()
44 const uint32_t* SK_RESTRICT src = fSource.addr32(x - fLeft, y - fTop); in blitRect()
55 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB); in blitRect()
56 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()
DSkMatrix44.cpp11 static inline bool eq4(const SkMScalar* SK_RESTRICT a, in eq4()
12 const SkMScalar* SK_RESTRICT b) { in eq4()
25 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
26 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
752 static void map2_if(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_if()
753 int count, float* SK_RESTRICT dst4) { in map2_if()
764 static void map2_id(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_id()
765 int count, double* SK_RESTRICT dst4) { in map2_id()
776 static void map2_tf(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_tf()
777 int count, float* SK_RESTRICT dst4) { in map2_tf()
[all …]
DSkAAClip.cpp228 static void dump_one_row(const uint8_t* SK_RESTRICT row, in dump_one_row()
1766 static void expand_row_to_mask(uint8_t* SK_RESTRICT mask, in expand_row_to_mask()
1767 const uint8_t* SK_RESTRICT row, in expand_row_to_mask()
1811 static void expandToRuns(const uint8_t* SK_RESTRICT data, int initialCount, int width, in expandToRuns()
1812 int16_t* SK_RESTRICT runs, SkAlpha* SK_RESTRICT aa) { in expandToRuns()
1880 static void merge(const uint8_t* SK_RESTRICT row, int rowN, in merge()
1881 const SkAlpha* SK_RESTRICT srcAA, in merge()
1882 const int16_t* SK_RESTRICT srcRuns, in merge()
1883 SkAlpha* SK_RESTRICT dstAA, in merge()
1884 int16_t* SK_RESTRICT dstRuns, in merge()
[all …]
/external/skqp/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 …]
/external/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 …]
/external/skqp/src/effects/
DSkPackBits.cpp28 static uint8_t* flush_diff8(uint8_t* SK_RESTRICT dst, in flush_diff8()
29 const uint8_t* SK_RESTRICT src, size_t count) { in flush_diff8()
41 size_t SkPackBits::Pack8(const uint8_t* SK_RESTRICT src, size_t srcSize, in Pack8()
42 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Pack8()
85 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack8()
86 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Unpack8()
/external/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.cpp822 void SkScalerContext_DW::BilevelToBW(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) { in BilevelToBW()
825 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in BilevelToBW()
861 void SkScalerContext_DW::GrayscaleToA8(const uint8_t* SK_RESTRICT src, in GrayscaleToA8()
866 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in GrayscaleToA8()
878 void SkScalerContext_DW::RGBToA8(const uint8_t* SK_RESTRICT src, in RGBToA8()
883 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in RGBToA8()
897 void SkScalerContext_DW::RGBToLcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, in RGBToLcd16()
902 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()
/external/skqp/include/core/
DSkPreConfig.h48 #if !defined(SK_RESTRICT)
49 #define SK_RESTRICT __restrict macro
56 #if !defined(SK_RESTRICT)
57 #define SK_RESTRICT __restrict__ macro
/external/skqp/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()
/external/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()
/external/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
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp801 static void bilevel_to_bw(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) { in bilevel_to_bw()
804 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in bilevel_to_bw()
840 static void grayscale_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, in grayscale_to_a8()
844 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in grayscale_to_a8()
856 static void rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) { in rgb_to_a8()
859 uint8_t* SK_RESTRICT dst = static_cast<uint8_t*>(glyph.fImage); in rgb_to_a8()
873 static void rgb_to_lcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, in rgb_to_lcd16()
877 uint16_t* SK_RESTRICT dst = static_cast<uint16_t*>(glyph.fImage); in rgb_to_lcd16()

12