Home
last modified time | relevance | path

Searched refs:linearBlocks (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp51 if (buffer->data().linearBlocks().size() == 0u) { in canCopyLinear()
54 } else if (buffer->data().linearBlocks().size() > 1u) { in canCopyLinear()
58 if (buffer->data().linearBlocks()[0].size() > capacity()) { in canCopyLinear()
67 if (!buffer || buffer->data().linearBlocks().size() == 0u in copyLinear()
68 || buffer->data().linearBlocks()[0].size() == 0u) { in copyLinear()
72 C2ReadView view = buffer->data().linearBlocks()[0].map().get(); in copyLinear()
166 || buffer->data().linearBlocks().size() != 1u) { in Allocate()
169 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate()
DCCodecBuffers.cpp881 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
999 if (buffer->data().linearBlocks().size() != 1u) { in wrap()
DCCodecBufferChannel.cpp1221 || work->input.buffers.front()->data().linearBlocks().empty()) { in flush()
1226 work->input.buffers.front()->data().linearBlocks().front().map().get(); in flush()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp628 ASSERT_EQ(1u, data->linearBlocks().size()); in TEST_F()
629 EXPECT_EQ(linearBlock1->handle(), data->linearBlocks().front().handle()); in TEST_F()
637 ASSERT_EQ(2u, data->linearBlocks().size()); in TEST_F()
638 EXPECT_EQ(linearBlock1->handle(), data->linearBlocks().front().handle()); in TEST_F()
639 EXPECT_EQ(linearBlock2->handle(), data->linearBlocks().back().handle()); in TEST_F()
646 EXPECT_TRUE(data->linearBlocks().empty()); in TEST_F()
656 EXPECT_TRUE(data->linearBlocks().empty()); in TEST_F()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp151 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp186 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp199 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftAmrDec.cpp256 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftAmrWbEnc.cpp280 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1140 const std::vector<C2ConstLinearBlock> &linearBlocks() const { return mLinearBlocks; } in linearBlocks() function in C2BufferData::Impl
1154 const std::vector<C2ConstLinearBlock> C2BufferData::linearBlocks() const { in linearBlocks() function in C2BufferData
1155 return mImpl->linearBlocks(); in linearBlocks()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp194 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftFlacEnc.cpp215 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp227 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftOpusEnc.cpp318 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp243 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp347 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp363 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftAacDec.cpp532 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp520 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp851 s.linearBlocks().size() + in objcpy()
854 for (const C2ConstLinearBlock& linearBlock : s.linearBlocks()) { in objcpy()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp404 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp439 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp165 .linearBlocks().front().map().get().capacity(); in handleWorkDone()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp565 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h2009 const std::vector<C2ConstLinearBlock> linearBlocks() const;

12