Searched refs:Sk4i (Results 1 - 13 of 13) sorted by relevance

/external/skia/src/core/
H A DSkHalf.h53 Sk4i bits = SkNx_cast<int>(hs), // Expand to 32 bit.
60 Sk4i norm = (positive << 13) + ((127 - 15) << 23);
62 Sk4i merged = (sign << 16) | (norm & is_norm);
78 Sk4i bits = Sk4i::Load(&fs),
85 Sk4i norm = (positive - ((127 - 15) << 23)) >> 13;
87 Sk4i merged = (sign >> 16) | (will_be_norm & norm);
H A DSkLinearBitmapPipeline_core.h240 int n, Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2) const = 0;
243 Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2, Sk4f* px3) const = 0;
H A DSkLinearBitmapPipeline_sample.h201 int n, Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2) const {
206 Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2, Sk4f* px3) const {
244 int n, Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2) const override {
245 Sk4i bufferLoc = ys * fWidth + xs;
259 Sk4i xs, Sk4i ys, Sk4f* px0, Sk4f* px1, Sk4f* px2, Sk4f* px3) const override {
260 Sk4i bufferLo
[all...]
H A DSkColorSpaceXform.cpp527 Sk4i da = Sk4i::Load(src) & 0xFF000000;
529 Sk4i rgba = (SkNx_cast<int>(dr) << kRShift)
575 Sk4i da = Sk4i::Load(src) & 0xFF000000;
577 Sk4i rgba = (Sk4f_round(dr) << kRShift)
609 Sk4i da = Sk4i::Load(src) & 0xFF000000;
611 Sk4i rgba = (Sk4f_round(dr) << kRShift)
680 Sk4i i
[all...]
H A DSkLinearBitmapPipeline.cpp158 Sk4i iXs = SkNx_cast<int>(xs);
159 Sk4i iYs = SkNx_cast<int>(ys);
168 Sk4i iXs = SkNx_cast<int>(xs);
169 Sk4i iYs = SkNx_cast<int>(ys);
228 Sk4i iXs = SkNx_cast<int>(xs);
229 Sk4i iYs = SkNx_cast<int>(ys);
238 Sk4i iXs = SkNx_cast<int>(xs);
239 Sk4i iYs = SkNx_cast<int>(ys);
H A DSkXfermode4f.cpp62 rgba.a = SkNx_cast<float>((Sk4i::Load(ptr) >> 24) & 0xff) * (1/255.0f);
382 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0);
384 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0);
H A DSkPM4fPriv.h46 Sk4i rgb = sk_linear_to_srgb(px),
H A DSkNx.h355 typedef SkNx<4, int32_t> Sk4i; typedef
366 AI static Sk4i Sk4f_round(const Sk4f& x) {
H A DSkCanvas.cpp626 SkNx_cast<float>(Sk4i::Load(&bounds.fLeft) + Sk4i(-1,-1,1,1)).store(&dst.fLeft);
/external/skia/src/opts/
H A DSkNx_neon.h494 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) {
498 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) {
502 return SkNx_cast<float>(Sk4i::Load(&src));
519 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) {
549 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) {
554 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) {
558 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) {
562 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) {
566 AI static Sk4i Sk4f_round(const Sk4f& x) {
H A DSkNx_sse.h726 template<> AI /*static*/ Sk4f SkNx_cast<float, int32_t>(const Sk4i& src) {
730 return SkNx_cast<float>(Sk4i::Load(&src));
733 template <> AI /*static*/ Sk4i SkNx_cast<int32_t, float>(const Sk4f& src) {
737 template<> AI /*static*/ Sk4h SkNx_cast<uint16_t, int32_t>(const Sk4i& src) {
767 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint8_t>(const Sk4b& src) {
808 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint16_t>(const Sk4h& src) {
812 template<> AI /*static*/ Sk4b SkNx_cast<uint8_t, int32_t>(const Sk4i& src) {
816 template<> AI /*static*/ Sk4i SkNx_cast<int32_t, uint32_t>(const Sk4u& src) {
820 AI static Sk4i Sk4f_round(const Sk4f& x) {
/external/skia/tests/
H A DSkNxTest.cpp240 Sk4i i = SkNx_cast<int>(f);
292 // The SSE2 implementation of SkNx_cast<uint16_t>(Sk4i) is non-trivial, so worth a test.
297 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0];
305 uint16_t actual = SkNx_cast<uint16_t>(Sk4i(i))[0];
/external/skia/samplecode/
H A DSamplePathText.cpp381 const Sk4i ipart = SkNx_cast<int>(t);

Completed in 483 milliseconds