Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp634 ASSERT_EQ(1u, data->linearBlocks().size()); in TEST_F()
635 EXPECT_EQ(linearBlock1->handle(), data->linearBlocks().front().handle()); in TEST_F()
643 ASSERT_EQ(2u, data->linearBlocks().size()); in TEST_F()
644 EXPECT_EQ(linearBlock1->handle(), data->linearBlocks().front().handle()); in TEST_F()
645 EXPECT_EQ(linearBlock2->handle(), data->linearBlocks().back().handle()); in TEST_F()
652 EXPECT_TRUE(data->linearBlocks().empty()); in TEST_F()
662 EXPECT_TRUE(data->linearBlocks().empty()); in TEST_F()
792 ASSERT_EQ(1024, spInfo->data().linearBlocks()[0].offset()); in TEST_F()
793 ASSERT_EQ(kCapacity / 2, spInfo->data().linearBlocks()[0].size()); in TEST_F()
795 ASSERT_EQ(linearBlock->handle(), spInfo->data().linearBlocks()[0].handle()); in TEST_F()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DFrameReassembler_test.cpp107 ASSERT_EQ(1u, buffer->data().linearBlocks().size()); in testPushSameSize()
108 C2ReadView view = buffer->data().linearBlocks().front().map().get(); in testPushSameSize()
DCCodecBuffers_test.cpp81 ASSERT_TRUE(c2Buffer->data().linearBlocks().empty()); in TEST()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecLinearBlock.h53 C2ConstLinearBlock block = mBuffer->data().linearBlocks().front(); in toC2Buffer()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp62 if (buffer->data().linearBlocks().size() == 0u) { in canCopyLinear()
65 } else if (buffer->data().linearBlocks().size() > 1u) { in canCopyLinear()
69 if (buffer->data().linearBlocks()[0].size() > capacity()) { in canCopyLinear()
78 if (!buffer || buffer->data().linearBlocks().size() == 0u in copyLinear()
79 || buffer->data().linearBlocks()[0].size() == 0u) { in copyLinear()
83 C2ReadView view = buffer->data().linearBlocks()[0].map().get(); in copyLinear()
181 || buffer->data().linearBlocks().size() != 1u) { in Allocate()
186 buffer->data().type(), buffer->data().linearBlocks().size()); in Allocate()
190 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate()
DCCodecBuffers.cpp1404 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
1561 if (buffer->data().linearBlocks().size() != 1u) { in wrap()
1566 if (buffer->data().linearBlocks().front().size() == 0) { in wrap()
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp355 if (inBuffers.front()->data().linearBlocks().size() == 0) { in scatter()
361 inBuffers.front()->data().linearBlocks(); in scatter()
641 if (!buffer || buffer->data().linearBlocks().empty()) { in processWorklets()
644 const std::vector<C2ConstLinearBlock>& blocks = buffer->data().linearBlocks(); in processWorklets()
/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.cpp291 if (c2Buffer->data().linearBlocks().size() != 1u) { in attachBuffer()
294 C2ConstLinearBlock block{c2Buffer->data().linearBlocks().front()}; in attachBuffer()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h322 s.linearBlocks().size() + in objcpy()
325 for (const C2ConstLinearBlock& linearBlock : s.linearBlocks()) { in objcpy()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp194 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
DC2SoftFlacEnc.cpp226 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.cpp343 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.cpp355 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1614 const std::vector<C2ConstLinearBlock> &linearBlocks() const { return mLinearBlocks; } in linearBlocks() function in C2BufferData::Impl
1629 const std::vector<C2ConstLinearBlock> C2BufferData::linearBlocks() const { in linearBlocks() function in C2BufferData
1630 return mImpl->linearBlocks(); in linearBlocks()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp395 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp443 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp440 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp124 .linearBlocks() in handleWorkDone()

12