OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Sk16b
(Results
1 - 7
of
7
) sorted by null
/external/skia/src/opts/
Sk4px_none.h
15
Sk4px px4 =
Sk16b
();
21
Sk4px px4 =
Sk16b
();
27
Sk4px px2 =
Sk16b
();
33
Sk4px px1 =
Sk16b
();
53
inline Sk4px::Wide Sk4px::mulWiden(const
Sk16b
& other) const {
59
return
Sk16b
(r[ 0], r[ 1], r[ 2], r[ 3],
73
return
Sk16b
((*this)[ 3], (*this)[ 3], (*this)[ 3], (*this)[ 3],
80
return
Sk16b
(a[0], a[0], a[0], a[0],
87
return
Sk16b
(a[0], a[0], a[0], a[0],
95
return
Sk16b
((*this)[ 0], (*this)[ 1], (*this)[ 2], 0
[
all
...]
Sk4px_NEON.h
10
inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return
Sk16b
((uint8x16_t)vdupq_n_u32(px)); }
13
return
Sk16b
((uint8x16_t)vld1q_u32(px));
17
return
Sk16b
((uint8x16_t)vcombine_u32(px2, px2));
20
return
Sk16b
((uint8x16_t)vdupq_n_u32(*px));
49
inline Sk4px::Wide Sk4px::mulWiden(const
Sk16b
& other) const {
56
return
Sk16b
(vcombine_u8(vaddhn_u16(this->fLo.fVec, o.fLo.fVec),
62
return
Sk16b
(vcombine_u8(vraddhn_u16(this->fLo.fVec, vrshrq_n_u16(this->fLo.fVec, 8)),
68
return
Sk16b
((uint8x16_t)vmulq_n_u32(as, 0x01010101)); // 3333 2222 1111 0000
78
return
Sk16b
((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // 3333 2222 1111 0000
86
return
Sk16b
((uint8x16_t)vmulq_n_u32(a32, 0x01010101)); // ____ ____ 1111 000
[
all
...]
Sk4px_SSE2.h
10
inline Sk4px Sk4px::DupPMColor(SkPMColor px) { return
Sk16b
(_mm_set1_epi32(px)); }
13
return
Sk16b
(_mm_loadu_si128((const __m128i*)px));
16
return
Sk16b
(_mm_loadl_epi64((const __m128i*)px));
18
inline Sk4px Sk4px::Load1(const SkPMColor px[1]) { return
Sk16b
(_mm_cvtsi32_si128(*px)); }
39
inline Sk4px::Wide Sk4px::mulWiden(const
Sk16b
& other) const {
64
return
Sk16b
(_mm_shuffle_epi8(this->fVec, splat));
70
return
Sk16b
(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat));
79
return
Sk16b
(as);
86
return
Sk16b
(as);
96
return
Sk16b
(_mm_and_si128(_mm_set1_epi32(0xFF << SK_A32_SHIFT), this->fVec))
[
all
...]
SkBlitRow_opts.h
26
Sk16b
invA_16x(invA);
/external/skia/src/core/
Sk4px.h
23
class Sk4px : public
Sk16b
{
25
static Sk4px DupAlpha(SkAlpha a) { return
Sk16b
(a); } // a -> aaaa aaaa aaaa aaaa
28
Sk4px(const
Sk16b
& v) : INHERITED(v) {}
36
Sk4px inv() const { return
Sk16b
(255) - *this; }
79
Wide mulWiden(const
Sk16b
&) const; // 8-bit x 8-bit -> 16-bit components.
92
Sk4px approxMulDiv255(const
Sk16b
& o) const {
224
typedef
Sk16b
INHERITED;
SkNx.h
194
typedef SkNx<16, uint8_t>
Sk16b
;
/external/skia/tests/
SkNxTest.cpp
138
Sk16b
aw(a), bw(b);
139
REPORTER_ASSERT(r,
Sk16b
::Min(aw, bw)[0] == SkTMin(a, b));
166
REPORTER_ASSERT(r,
Sk16b
(a).saturatedAdd(
Sk16b
(b))[0] == exact);
Completed in 56 milliseconds