/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 634 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/ |
D | FrameReassembler_test.cpp | 107 ASSERT_EQ(1u, buffer->data().linearBlocks().size()); in testPushSameSize() 108 C2ReadView view = buffer->data().linearBlocks().front().map().get(); in testPushSameSize()
|
D | CCodecBuffers_test.cpp | 81 ASSERT_TRUE(c2Buffer->data().linearBlocks().empty()); in TEST()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecLinearBlock.h | 53 C2ConstLinearBlock block = mBuffer->data().linearBlocks().front(); in toC2Buffer()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 62 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()
|
D | CCodecBuffers.cpp | 1404 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/ |
D | MultiAccessUnitHelper.cpp | 355 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/ |
D | C2SoftG711Dec.cpp | 151 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 186 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 199 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
D | C2SoftAmrDec.cpp | 256 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
D | C2SoftAmrWbEnc.cpp | 280 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 291 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/ |
D | BufferTypes.h | 322 s.linearBlocks().size() + in objcpy() 325 for (const C2ConstLinearBlock& linearBlock : s.linearBlocks()) { in objcpy()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 194 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
D | C2SoftFlacEnc.cpp | 226 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusDec.cpp | 227 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
D | C2SoftOpusEnc.cpp | 343 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 243 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 355 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 1614 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/ |
D | C2SoftAacEnc.cpp | 395 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 443 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 440 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 124 .linearBlocks() in handleWorkDone()
|