/third_party/skia/third_party/externals/angle2/samples/sample_util/ |
D | tga_utils.h | 16 typedef std::array<unsigned char, 4> Byte4; typedef 22 std::vector<Byte4> data;
|
D | tga_utils.cpp | 89 Byte4 pixel; in LoadTGAImageFromFile()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 538 c1 = Unpack(*Pointer<Byte4>(c)); in blend() 544 c2 = Unpack(*Pointer<Byte4>(s)); in blend() 548 c2 = Swizzle(Unpack(*Pointer<Byte4>(s)), 0x2103); in blend() 560 c2 = Unpack(As<Byte4>(rgb)); in blend() 582 *Pointer<Byte4>(d) = Byte4(PackUnsigned(c1, c1)); in blend() 591 *Pointer<Byte4>(d) = Byte4(PackUnsigned(c1, c1)); in blend()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 203 v.x = Float4(*Pointer<Byte4>(source0)); in readStream() 204 v.y = Float4(*Pointer<Byte4>(source1)); in readStream() 205 v.z = Float4(*Pointer<Byte4>(source2)); in readStream() 206 v.w = Float4(*Pointer<Byte4>(source3)); in readStream() 220 v.x = As<Float4>(Int4(*Pointer<Byte4>(source0))); in readStream() 221 v.y = As<Float4>(Int4(*Pointer<Byte4>(source1))); in readStream() 222 v.z = As<Float4>(Int4(*Pointer<Byte4>(source2))); in readStream() 223 v.w = As<Float4>(Int4(*Pointer<Byte4>(source3))); in readStream() 258 …v.x = Float4(*Pointer<Byte4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream() 259 …v.y = Float4(*Pointer<Byte4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream() [all …]
|
D | SamplerCore.cpp | 1778 Byte4 c0 = Pointer<Byte4>(buffer[f0])[index[0]]; in sampleTexel() 1779 Byte4 c1 = Pointer<Byte4>(buffer[f1])[index[1]]; in sampleTexel() 1780 Byte4 c2 = Pointer<Byte4>(buffer[f2])[index[2]]; in sampleTexel() 1781 Byte4 c3 = Pointer<Byte4>(buffer[f3])[index[3]]; in sampleTexel() 1836 Byte4 c0 = Pointer<Byte4>(buffer[f0])[index[0]]; in sampleTexel() 1837 Byte4 c1 = Pointer<Byte4>(buffer[f1])[index[1]]; in sampleTexel() 1838 Byte4 c2 = Pointer<Byte4>(buffer[f2])[index[2]]; in sampleTexel() 1839 Byte4 c3 = Pointer<Byte4>(buffer[f3])[index[3]]; in sampleTexel() 1926 c.x = Unpack(As<Byte4>(c0), As<Byte4>(zero)); in sampleTexel() 1935 c.x = Unpack(As<Byte4>(c0)); in sampleTexel() [all …]
|
D | PixelRoutine.cpp | 793 *Pointer<Byte4>(buffer) = Byte4(newValue); in writeStencil()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 251 v.x = Float4(*Pointer<Byte4>(source0)); in readStream() 252 v.y = Float4(*Pointer<Byte4>(source1)); in readStream() 253 v.z = Float4(*Pointer<Byte4>(source2)); in readStream() 254 v.w = Float4(*Pointer<Byte4>(source3)); in readStream() 267 v.x = As<Float4>(Int4(*Pointer<Byte4>(source0))); in readStream() 268 v.y = As<Float4>(Int4(*Pointer<Byte4>(source1))); in readStream() 269 v.z = As<Float4>(Int4(*Pointer<Byte4>(source2))); in readStream() 270 v.w = As<Float4>(Int4(*Pointer<Byte4>(source3))); in readStream() 294 v.x = Float4(*Pointer<Byte4>(source0)); in readStream() 295 v.y = Float4(*Pointer<Byte4>(source1)); in readStream() [all …]
|
D | SamplerCore.cpp | 1495 Byte4 c0 = Pointer<Byte4>(buffer)[index[0]]; in sampleTexel() 1496 Byte4 c1 = Pointer<Byte4>(buffer)[index[1]]; in sampleTexel() 1497 Byte4 c2 = Pointer<Byte4>(buffer)[index[2]]; in sampleTexel() 1498 Byte4 c3 = Pointer<Byte4>(buffer)[index[3]]; in sampleTexel() 1598 c.x = Unpack(As<Byte4>(c0), As<Byte4>(zero)); in sampleTexel() 1610 c.x = Unpack(As<Byte4>(c0)); in sampleTexel() 1614 c.x = Unpack(As<Byte4>(c0)); in sampleTexel() 1745 UShort4 Y = As<UShort4>(Unpack(As<Byte4>(c0))); in sampleTexel() 1761 U = As<UShort4>(Unpack(As<Byte4>(c0))); in sampleTexel() 1768 V = As<UShort4>(Unpack(As<Byte4>(c0))); in sampleTexel()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | Reactor.cpp | 1279 Byte4::Byte4(RValue<Byte8> cast) in Byte4() function in rr::Byte4 1284 Byte4::Byte4(RValue<UShort4> cast) in Byte4() function in rr::Byte4 1287 *this = As<Byte4>(Swizzle(As<Byte8>(cast), 0x0246'0246)); in Byte4() 1290 Byte4::Byte4(RValue<Short4> cast) in Byte4() function in rr::Byte4 1293 *this = As<Byte4>(Swizzle(As<Byte8>(cast), 0x0246'0246)); in Byte4() 1296 Byte4::Byte4(RValue<UInt4> cast) in Byte4() function in rr::Byte4 1299 *this = As<Byte4>(Swizzle(As<Byte16>(cast), 0x048C'048C'048C'048C)); in Byte4() 1302 Byte4::Byte4(RValue<Int4> cast) in Byte4() function in rr::Byte4 1305 *this = As<Byte4>(Swizzle(As<Byte16>(cast), 0x048C'048C'048C'048C)); in Byte4() 1308 Byte4::Byte4(RValue<Byte4> rhs) in Byte4() function in rr::Byte4 [all …]
|
D | Reactor.hpp | 91 class Byte4; 572 class Byte4 : public LValue<Byte4> class 575 explicit Byte4(RValue<Byte8> cast); 576 explicit Byte4(RValue<UShort4> cast); 577 explicit Byte4(RValue<Short4> cast); 578 explicit Byte4(RValue<UInt4> cast); 579 explicit Byte4(RValue<Int4> cast); 581 Byte4() = default; 583 Byte4(RValue<Byte4> rhs); 584 Byte4(const Byte4 &rhs); [all …]
|
D | Print.hpp | 238 struct PrintValue::Ty<Byte4> 240 static std::string fmt(const RValue<Byte4> &v) { return "[%d, %d, %d, %d]"; } in fmt() 241 static std::vector<Value *> val(const RValue<Byte4> &v);
|
D | LLVMReactorDebugInfo.cpp | 423 …diTypes.emplace(T(Byte4::type()), diBuilder->createVectorType(128, 128, diTypes[T(Byte::type())], … in registerBasicTypes()
|
D | SubzeroReactor.cpp | 2234 Type *Byte4::type() in type() 3413 Int4::Int4(RValue<Byte4> cast) in Int4()
|
D | LLVMReactor.cpp | 1883 Type *Byte4::type() in type() 2555 Int4::Int4(RValue<Byte4> cast) in Int4()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Blitter.cpp | 264 c = Float4(*Pointer<Byte4>(element)).zyxw; in read() 273 c = Float4(*Pointer<Byte4>(element)); in read() 276 c = Float4(*Pointer<Byte4>(element)).zyxw; in read() 299 c = Float4(*Pointer<Byte4>(element)); in read() 442 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write() 457 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write() 471 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write() 486 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write()
|
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
D | ReactorUnitTests.cpp | 740 *Pointer<Byte4>(out + 16 * 3) = *Pointer<Byte4>(in + 16 * 3); in TEST() 860 *Pointer<Byte4>(out + 16 * 1 + 0) = Byte4(c); in TEST() 861 *Pointer<Byte4>(out + 16 * 1 + 4) = Byte4(As<Byte8>(c)); in TEST() 862 *Pointer<Byte4>(out + 16 * 1 + 8) = Byte4(As<Short4>(c)); in TEST() 1573 Byte4 test_byte_a = *Pointer<Byte4>(in + 4 * 0); in TEST() 1574 Byte4 test_byte_b = *Pointer<Byte4>(in + 4 * 1); in TEST() 2363 std::pair<int8_t[4], Byte4>, 3639 Byte4 by4(i4); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Blitter.cpp | 361 c = Float4(*Pointer<Byte4>(element)).zyxw; in readFloat4() 375 c = Float4(*Pointer<Byte4>(element)); in readFloat4() 643 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write() 675 *Pointer<Byte4>(element) = Byte4(PackUnsigned(c0, c0)); in write()
|