Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp55 if (buffer->data().linearBlocks().size() == 0u) { in canCopyLinear()
58 } else if (buffer->data().linearBlocks().size() > 1u) { in canCopyLinear()
62 if (buffer->data().linearBlocks()[0].size() > capacity()) { in canCopyLinear()
71 if (!buffer || buffer->data().linearBlocks().size() == 0u in copyLinear()
72 || buffer->data().linearBlocks()[0].size() == 0u) { in copyLinear()
76 C2ReadView view = buffer->data().linearBlocks()[0].map().get(); in copyLinear()
174 || buffer->data().linearBlocks().size() != 1u) { in Allocate()
177 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate()
DCCodecBuffers.cpp1124 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
1251 if (buffer->data().linearBlocks().size() != 1u) { in wrap()
DCCodecBufferChannel.cpp1404 || work->input.buffers.front()->data().linearBlocks().empty()) { in flush()
1409 work->input.buffers.front()->data().linearBlocks().front().map().get(); in flush()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecLinearBlock.h48 C2ConstLinearBlock block = mBuffer->data().linearBlocks().front(); in toC2Buffer()
/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/sfplugin/tests/
DCCodecBuffers_test.cpp71 ASSERT_TRUE(c2Buffer->data().linearBlocks().empty()); in TEST()
/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/libstagefright/
DACodecBufferChannel.cpp280 if (c2Buffer->data().linearBlocks().size() != 1u) { in attachBuffer()
283 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in attachBuffer()
/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()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1181 const std::vector<C2ConstLinearBlock> &linearBlocks() const { return mLinearBlocks; } in linearBlocks() function in C2BufferData::Impl
1195 const std::vector<C2ConstLinearBlock> C2BufferData::linearBlocks() const { in linearBlocks() function in C2BufferData
1196 return mImpl->linearBlocks(); in linearBlocks()
/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.cpp387 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp517 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/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp125 .linearBlocks() in handleWorkDone()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp404 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp171 .linearBlocks() in handleWorkDone()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp441 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()

12