Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp411 C2ReadView readView = readViewHolder.get(); in TEST_F() local
412 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
413 ASSERT_EQ(kCapacity / 3, readView.capacity()); in TEST_F()
416 const uint8_t *constData = readView.data(); in TEST_F()
418 for (size_t i = 0; i < readView.capacity(); ++i) { in TEST_F()
424 readView = readView.subView(333u, 100u); in TEST_F()
425 ASSERT_EQ(C2_OK, readView.error()); in TEST_F()
426 ASSERT_EQ(100u, readView.capacity()); in TEST_F()
428 constData = readView.data(); in TEST_F()
430 for (size_t i = 0; i < readView.capacity(); ++i) { in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp190 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate() local
191 if (readView.error() != C2_OK) { in Allocate()
192 ALOGW("ConstLinearBlockBuffer::Allocate: readView.error()=%d", readView.error()); in Allocate()
195 return new ConstLinearBlockBuffer(format, std::move(readView), buffer); in Allocate()
200 C2ReadView&& readView, in ConstLinearBlockBuffer() argument
205 const_cast<uint8_t *>(readView.data()), readView.capacity())), in ConstLinearBlockBuffer()
206 mReadView(readView), in ConstLinearBlockBuffer()
DCodec2Buffer.h186 C2ReadView &&readView,