Home
last modified time | relevance | path

Searched refs:dataOut (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp45 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 …]
DVtsScriptTests.cpp208 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 …]
DVtsMiscellaneousTests.cpp157 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()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLEScontext.cpp47 static void convertFixedDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned …
48 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei…
49 static void convertByteDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned i…
50 static void convertByteIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei …
1013 static void convertFixedDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned … in convertFixedDirectLoop() argument
1019 … reinterpret_cast<GLfloat*>(&static_cast<unsigned char*>(dataOut)[i])[j] = X2F(fixed_data[j]); in convertFixedDirectLoop()
1025 static void convertFixedIndirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,GLsizei… in convertFixedIndirectLoop() argument
1030 …GLfloat* float_data = reinterpret_cast<GLfloat*>(static_cast<unsigned char*>(dataOut) + index*stri… in convertFixedIndirectLoop()
1038 static void convertByteDirectLoop(const char* dataIn,unsigned int strideIn,void* dataOut,unsigned i… in convertByteDirectLoop() argument
1044 … reinterpret_cast<GLshort*>(&static_cast<unsigned char*>(dataOut)[i])[j] = B2S(byte_data[j]); in convertByteDirectLoop()
[all …]