Home
last modified time | relevance | path

Searched refs:C2InfoBuffer (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/codec2/core/include/
DC2Buffer.h2298 class C2InfoBuffer {
2315 C2InfoBuffer asGlobal() const { in asGlobal()
2318 return C2InfoBuffer(index, mData); in asGlobal()
2322 C2InfoBuffer asPort(bool output) const { in asPort()
2325 return C2InfoBuffer(index, mData); in asPort()
2329 C2InfoBuffer asStream(bool output, unsigned stream) const { in asStream()
2332 return C2InfoBuffer(index, mData); in asStream()
2343 … static C2InfoBuffer CreateLinearBuffer(C2Param::CoreIndex index, const C2ConstLinearBlock &block);
2353 …static C2InfoBuffer CreateGraphicBuffer(C2Param::CoreIndex index, const C2ConstGraphicBlock &block…
2357 explicit C2InfoBuffer(C2Param::Index index, const std::vector<C2ConstLinearBlock> &blocks);
[all …]
DC2Work.h189 std::vector<C2InfoBuffer> infoBuffers;
DC2Param.h320 friend class C2InfoBuffer; // for convertTo*
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp115 friend class ::C2InfoBuffer;
1621 friend class C2InfoBuffer;
1637 C2InfoBuffer::C2InfoBuffer( in C2InfoBuffer() function in C2InfoBuffer
1642 C2InfoBuffer::C2InfoBuffer( in C2InfoBuffer() function in C2InfoBuffer
1647 C2InfoBuffer::C2InfoBuffer( in C2InfoBuffer() function in C2InfoBuffer
1653 C2InfoBuffer C2InfoBuffer::CreateLinearBuffer( in CreateLinearBuffer()
1655 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateLinearBuffer()
1660 C2InfoBuffer C2InfoBuffer::CreateGraphicBuffer( in CreateGraphicBuffer()
1662 return C2InfoBuffer(index.coreIndex() | C2Param::Index::KIND_INFO | C2Param::Index::DIR_GLOBAL, in CreateGraphicBuffer()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h236 void setInfoBuffer(const std::shared_ptr<C2InfoBuffer> &buffer);
412 std::vector<std::shared_ptr<C2InfoBuffer>> mInfoBuffers;
DCCodec.cpp2616 C2InfoBuffer info = C2InfoBuffer::CreateLinearBuffer( in signalSetParameters()
2619 mChannel->setInfoBuffer(std::make_shared<C2InfoBuffer>(info)); in signalSetParameters()
DCCodecBufferChannel.cpp354 work->input.infoBuffers.emplace_back(C2InfoBuffer::CreateLinearBuffer( in queueInputBufferInternal()
2790 void CCodecBufferChannel::setInfoBuffer(const std::shared_ptr<C2InfoBuffer> &buffer) { in setInfoBuffer()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h367 bool objcpy(InfoBuffer* d, const C2InfoBuffer& s, in objcpy()
420 for (const C2InfoBuffer& sInfoBuffer : s.infoBuffers) { in objcpy()
669 std::vector<C2InfoBuffer> *d, in objcpy()
711 d->emplace_back(C2InfoBuffer::CreateLinearBuffer( in objcpy()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp785 C2InfoBuffer info = C2InfoBuffer::CreateLinearBuffer( in TEST_F()
787 std::shared_ptr<C2InfoBuffer> spInfo(new C2InfoBuffer(info)); in TEST_F()
798 C2InfoBuffer streamInfo = info.asStream(false /* output */, 1u); in TEST_F()
811 C2InfoBuffer portInfo = streamInfo.asPort(true /* output */); in TEST_F()