Lines Matching defs:load

13 #include "src/core/SkUtils.h"  // unaligned_{load,store}
801 // Load slightly weirdly to make sure we don't load past the end of 4x48 bits.
1150 // These load() and store() methods are tail-aware,
1154 SI V load(const T* src, size_t tail) {
1253 // Used by gather_ stages to calculate the base pointer and a vector of indices to load.
1326 // load 4 floats from memory, and splat them into r,g,b,a
1339 // load 4 floats from memory, and splat them into dr,dg,db,da
1357 // load registers r,g,b,a from context (mirrors store_rgba)
1376 // load registers dr,dg,db,da from context (mirrors store_dst)
1584 U32 dst = load<U32>(ptr, tail);
1753 auto scales = load<U8>(ptr, tail);
1765 from_565(load<U16>(ptr, tail), &cr, &cg, &cb);
1802 auto scales = load<U8>(ptr, tail);
1814 from_565(load<U16>(ptr, tail), &cr, &cg, &cb);
1828 F mul = from_byte(load<U8>(mptr, tail)),
1829 add = from_byte(load<U8>(aptr, tail));
1940 a = from_byte(load<U8>(ptr, tail));
1946 da = from_byte(load<U8>(ptr, tail));
1964 from_565(load<U16>(ptr, tail), &r,&g,&b);
1970 from_565(load<U16>(ptr, tail), &dr,&dg,&db);
1990 from_4444(load<U16>(ptr, tail), &r,&g,&b,&a);
1994 from_4444(load<U16>(ptr, tail), &dr,&dg,&db,&da);
2012 from_8888(load<U32>(ptr, tail), &r,&g,&b,&a);
2016 from_8888(load<U32>(ptr, tail), &dr,&dg,&db,&da);
2035 from_88(load<U16>(ptr, tail), &r, &g);
2041 from_88(load<U16>(ptr, tail), &dr, &dg);
2061 a = from_short(load<U16>(ptr, tail));
2066 da = from_short(load<U16>(ptr, tail));
2084 from_1616(load<U32>(ptr, tail), &r,&g);
2088 from_1616(load<U32>(ptr, tail), &dr, &dg);
2109 from_16161616(load<U64>(ptr, tail), &r,&g, &b, &a);
2113 from_16161616(load<U64>(ptr, tail), &dr, &dg, &db, &da);
2134 from_1010102(load<U32>(ptr, tail), &r,&g,&b,&a);
2138 from_1010102(load<U32>(ptr, tail), &dr,&dg,&db,&da);
2209 U16 A = load<U16>((const uint16_t*)ptr, tail);
2218 U16 A = load<U16>((const uint16_t*)ptr, tail);
2586 // Samplers will need to load x and fx, or y and fy.
3482 SI V load(const T* ptr, size_t tail) {
3610 from_8888(load<U32>(ptr, tail), r,g,b,a);
3666 from_565(load<U16>(ptr, tail), r,g,b);
3713 from_4444(load<U16>(ptr, tail), r,g,b,a);
3764 from_88(load<U16>(ptr, tail), r,g);
3813 return cast<U16>(load<U8>(ptr, tail));