Searched refs:dataOut (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 45 std::vector<float> dataIn(128), dataOut(128); in TEST_P() local 50 context->allocation1DRead(allocation, 0, 0, (uint32_t)dataOut.size(), (Ptr)dataOut.data(), in TEST_P() 51 (Size)dataOut.size()*sizeof(float)); in TEST_P() 52 EXPECT_EQ(dataIn, dataOut); in TEST_P() 81 std::vector<float> dataIn(128*128), dataOut(128*128); in TEST_P() local 88 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), 0); in TEST_P() 89 EXPECT_EQ(dataIn, dataOut); in TEST_P() 118 std::vector<float> dataIn(32*32*32), dataOut(32*32*32); in TEST_P() local 123 context->allocation3DRead(allocation, 0, 0, 0, 0, 32, 32, 32, (Ptr)dataOut.data(), in TEST_P() 124 (Size)dataOut.size()*sizeof(float), 0); in TEST_P() [all …]
|
D | VtsScriptTests.cpp | 208 std::vector<uint8_t> dataIn(64), dataOut(64), expected(64); in TEST_P() local 229 context->allocationRead(vout, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint8_t)); in TEST_P() 230 EXPECT_EQ(expected, dataOut); in TEST_P() 257 std::vector<int> dataIn(64), dataOut(1); in TEST_P() local 277 context->allocationRead(vaout, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(int)); in TEST_P() 280 EXPECT_EQ(sum, dataOut[0]); in TEST_P() 311 std::vector<int> dataIn(64), dataOut(64), expected(64, 5); in TEST_P() local 320 context->allocationRead(allocation, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(int)); in TEST_P() 321 EXPECT_EQ(expected, dataOut); in TEST_P() 337 std::vector<uint8_t> dataIn(256 * 256 * 4, 128), dataOut(256 * 256 * 4, 0), in TEST_P() local [all …]
|
D | VtsMiscellaneousTests.cpp | 157 std::vector<uint32_t> dataIn(512*512), dataOut(512*512); in TEST_P() local 187 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint32_t), 0); in TEST_P() 188 EXPECT_EQ(dataIn, dataOut); in TEST_P()
|