Home
last modified time | relevance | path

Searched refs:readView (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp405 C2ReadView readView = readViewHolder.get(); in TEST_F() local
406 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
407 ASSERT_EQ(kCapacity / 3, readView.capacity()); in TEST_F()
410 const uint8_t *constData = readView.data(); in TEST_F()
412 for (size_t i = 0; i < readView.capacity(); ++i) { in TEST_F()
418 readView = readView.subView(333u, 100u); in TEST_F()
419 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
420 ASSERT_EQ(100u, readView.capacity()); in TEST_F()
422 constData = readView.data(); in TEST_F()
424 for (size_t i = 0; i < readView.capacity(); ++i) { in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp169 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate() local
170 if (readView.error() != C2_OK) { in Allocate()
173 return new ConstLinearBlockBuffer(format, std::move(readView), buffer); in Allocate()
178 C2ReadView&& readView, in ConstLinearBlockBuffer() argument
183 const_cast<uint8_t *>(readView.data()), readView.capacity())), in ConstLinearBlockBuffer()
184 mReadView(readView), in ConstLinearBlockBuffer()
DCodec2Buffer.h197 C2ReadView &&readView,