Home
last modified time | relevance | path

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

/hardware/google/av/codec2/tests/vndk/
DC2BufferTest.cpp380 C2WriteView writeView = writeViewHolder.get(); in TEST_F() local
381 ASSERT_EQ(C2_OK, writeView.error()); in TEST_F()
382 ASSERT_EQ(kCapacity, writeView.capacity()); in TEST_F()
383 ASSERT_EQ(0u, writeView.offset()); in TEST_F()
384 ASSERT_EQ(kCapacity, writeView.size()); in TEST_F()
386 uint8_t *data = writeView.data(); in TEST_F()
388 for (size_t i = 0; i < writeView.size(); ++i) { in TEST_F()
392 writeView.setOffset(kCapacity / 3); in TEST_F()
393 data = writeView.data(); in TEST_F()
395 for (size_t i = 0; i < writeView.size(); ++i) { in TEST_F()
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp140 C2WriteView writeView(block->map().get()); in Allocate() local
141 if (writeView.error() != C2_OK) { in Allocate()
144 return new LinearBlockBuffer(format, std::move(writeView), block); in Allocate()
161 C2WriteView&& writeView, in LinearBlockBuffer() argument
163 : Codec2Buffer(format, new ABuffer(writeView.data(), writeView.size())), in LinearBlockBuffer()
164 mWriteView(writeView), in LinearBlockBuffer()
DCodec2Buffer.h161 C2WriteView &&writeView,