Searched refs:dataIn (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 45 std::vector<float> dataIn(128), dataOut(128); in TEST_F() local 46 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_F() 48 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_F() 49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_F() 52 EXPECT_EQ(dataIn, dataOut); in TEST_F() 81 std::vector<float> dataIn(128*128), dataOut(128*128); in TEST_F() local 82 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_F() 84 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_F() 89 EXPECT_EQ(dataIn, dataOut); in TEST_F() 118 std::vector<float> dataIn(32*32*32), dataOut(32*32*32); in TEST_F() local [all …]
|
D | VtsScriptTests.cpp | 208 std::vector<uint8_t> dataIn(64), dataOut(64), expected(64); in TEST_F() local 209 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint8_t val = 0; return val++; }); in TEST_F() 212 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()); in TEST_F() 224 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_F() 257 std::vector<int> dataIn(64), dataOut(1); in TEST_F() local 258 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return val++; }); in TEST_F() 260 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(int)); in TEST_F() 272 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_F() 311 std::vector<int> dataIn(64), dataOut(64), expected(64, 5); in TEST_F() local 313 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(int)); in TEST_F() [all …]
|
D | VtsMiscellaneousTests.cpp | 157 std::vector<uint32_t> dataIn(512*512), dataOut(512*512); in TEST_F() local 158 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_F() 160 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_F() 188 EXPECT_EQ(dataIn, dataOut); in TEST_F() 210 std::vector<uint32_t> dataIn(512*512), dataOut1(512*512), dataOut2(512*512); in TEST_F() local 211 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_F() 213 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_F() 254 EXPECT_EQ(dataIn, dataOut1); in TEST_F() 262 EXPECT_EQ(dataIn, dataOut2); in TEST_F()
|
/hardware/intel/common/libmix/videoencoder/ |
D | PVSoftMPEG4Encoder.cpp | 68 inline static void trimBuffer(uint8_t *dataIn, uint8_t *dataOut, in trimBuffer() argument 75 _y_start = dataIn; in trimBuffer() 76 _uv_start = dataIn + stride * alignedHeight; in trimBuffer()
|