/external/skia/src/core/ |
SkHalf.h | 50 Sk4i bits = SkNx_cast<int>(hs), // Expand to 32 bit. 57 Sk4i norm = (positive << 13) + ((127 - 15) << 23); 59 Sk4i merged = (sign << 16) | (norm & is_norm); 71 Sk4i bits = Sk4i::Load(&fs), 78 Sk4i norm = (positive - ((127 - 15) << 23)) >> 13; 80 Sk4i merged = (sign >> 16) | (will_be_norm & norm);
|
SkSRGB.h | 28 static inline Sk4i sk_linear_to_srgb(const Sk4f& x) {
|
SkPM4fPriv.h | 46 Sk4i rgb = sk_linear_to_srgb(px),
|
SkNx.h | 391 typedef SkNx<4, int32_t> Sk4i; 402 AI static Sk4i Sk4f_round(const Sk4f& x) {
|
SkCanvas.cpp | 615 SkNx_cast<float>(Sk4i::Load(&bounds.fLeft) + Sk4i(-1,-1,1,1)).store(&dst.fLeft); [all...] |
/external/skqp/src/core/ |
SkHalf.h | 50 Sk4i bits = SkNx_cast<int>(hs), // Expand to 32 bit. 57 Sk4i norm = (positive << 13) + ((127 - 15) << 23); 59 Sk4i merged = (sign << 16) | (norm & is_norm); 71 Sk4i bits = Sk4i::Load(&fs), 78 Sk4i norm = (positive - ((127 - 15) << 23)) >> 13; 80 Sk4i merged = (sign >> 16) | (will_be_norm & norm);
|
SkSRGB.h | 28 static inline Sk4i sk_linear_to_srgb(const Sk4f& x) {
|
SkPM4fPriv.h | 46 Sk4i rgb = sk_linear_to_srgb(px),
|
SkNx.h | 391 typedef SkNx<4, int32_t> Sk4i; 402 AI static Sk4i Sk4f_round(const Sk4f& x) {
|
SkCanvas.cpp | 615 SkNx_cast<float>(Sk4i::Load(&bounds.fLeft) + Sk4i(-1,-1,1,1)).store(&dst.fLeft); [all...] |
/external/skia/tests/ |
SkNxTest.cpp | 236 auto is = Sk4i(0, -1, 2, -2147483647).abs(); 244 auto a = Sk4i(0, 2, 4, 6); 245 auto b = Sk4i(1, 1, 3, 7); 246 auto min = Sk4i::Min(a, b); 247 auto max = Sk4i::Max(a, b); 279 Sk4i i = SkNx_cast<int>(f); 331 // The SSE2 implementation of SkNx_cast<uint16_t>(Sk4i) is non-trivial, so worth a test. 336 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0]; 344 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0];
|
/external/skqp/tests/ |
SkNxTest.cpp | 236 auto is = Sk4i(0, -1, 2, -2147483647).abs(); 244 auto a = Sk4i(0, 2, 4, 6); 245 auto b = Sk4i(1, 1, 3, 7); 246 auto min = Sk4i::Min(a, b); 247 auto max = Sk4i::Max(a, b); 279 Sk4i i = SkNx_cast<int>(f); 331 // The SSE2 implementation of SkNx_cast<uint16_t>(Sk4i) is non-trivial, so worth a test. 336 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0]; 344 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0];
|
/external/skia/src/opts/ |
SkNx_neon.h | 570 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) { 574 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) { 578 return SkNx_cast<float>(Sk4i::Load(&src)); 600 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) { 622 Sk4i a, b; 646 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) { 656 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) { 660 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) { 664 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) { 668 AI static Sk4i Sk4f_round(const Sk4f& x) [all...] |
SkNx_sse.h | 601 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) { 606 return SkNx_cast<float>(Sk4i::Load(&src)); 609 template <> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) { 613 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) { 653 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) { 667 Sk4i lo, hi; 704 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) { 709 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) { 717 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) { 721 AI static Sk4i Sk4f_round(const Sk4f& x) [all...] |
/external/skqp/src/opts/ |
SkNx_neon.h | 560 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) { 564 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) { 568 return SkNx_cast<float>(Sk4i::Load(&src)); 590 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) { 612 Sk4i a, b; 636 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) { 646 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) { 650 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) { 654 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) { 658 AI static Sk4i Sk4f_round(const Sk4f& x) [all...] |
SkNx_sse.h | 594 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) { 599 return SkNx_cast<float>(Sk4i::Load(&src)); 602 template <> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) { 606 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) { 646 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) { 660 Sk4i lo, hi; 697 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) { 702 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) { 710 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) { 714 AI static Sk4i Sk4f_round(const Sk4f& x) [all...] |
/external/skia/samplecode/ |
SamplePathText.cpp | 404 const Sk4i ipart = SkNx_cast<int>(t);
|
/external/skqp/samplecode/ |
SamplePathText.cpp | 404 const Sk4i ipart = SkNx_cast<int>(t);
|