Home
last modified time | relevance | path

Searched refs:linearBlocks (Results 1 – 25 of 37) 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.cpp102 ASSERT_EQ(1u, buffer->data().linearBlocks().size()); in testPushSameSize()
103 C2ReadView view = buffer->data().linearBlocks().front().map().get(); in testPushSameSize()
DCCodecBuffers_test.cpp81 ASSERT_TRUE(c2Buffer->data().linearBlocks().empty()); in TEST()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp56 if (buffer->data().linearBlocks().size() == 0u) { in canCopyLinear()
59 } else if (buffer->data().linearBlocks().size() > 1u) { in canCopyLinear()
63 if (buffer->data().linearBlocks()[0].size() > capacity()) { in canCopyLinear()
72 if (!buffer || buffer->data().linearBlocks().size() == 0u in copyLinear()
73 || buffer->data().linearBlocks()[0].size() == 0u) { in copyLinear()
77 C2ReadView view = buffer->data().linearBlocks()[0].map().get(); in copyLinear()
175 || buffer->data().linearBlocks().size() != 1u) { in Allocate()
178 C2ReadView readView(buffer->data().linearBlocks()[0].map().get()); in Allocate()
DCCodecBuffers.cpp1136 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
1262 if (buffer->data().linearBlocks().size() != 1u) { in wrap()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecLinearBlock.h48 C2ConstLinearBlock block = mBuffer->data().linearBlocks().front(); in toC2Buffer()
/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()
DC2SoftOpusEnc.cpp344 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp1166 const std::vector<C2ConstLinearBlock> &linearBlocks() const { return mLinearBlocks; } in linearBlocks() function in C2BufferData::Impl
1181 const std::vector<C2ConstLinearBlock> C2BufferData::linearBlocks() const { in linearBlocks() function in C2BufferData
1182 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.cpp348 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp388 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp500 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/aom/
DC2SoftAomDec.cpp441 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp409 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp126 .linearBlocks() in handleWorkDone()

12