Home
last modified time | relevance | path

Searched refs:_C2BlockFactory (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/codec2/hal/common/
DBufferTypes.cpp136 _C2BlockFactory::GetGraphicBlockPoolData(block); in BeginTransferBufferQueueBlock()
137 if (data && _C2BlockFactory::GetBufferQueueData(data)) { in BeginTransferBufferQueueBlock()
138 _C2BlockFactory::BeginTransferBlockToClient(data); in BeginTransferBufferQueueBlock()
155 _C2BlockFactory::GetGraphicBlockPoolData(block); in EndTransferBufferQueueBlock()
156 if (data && _C2BlockFactory::GetBufferQueueData(data)) { in EndTransferBufferQueueBlock()
157 _C2BlockFactory::EndTransferBlockToClient(data, transfer); in EndTransferBufferQueueBlock()
175 _C2BlockFactory::GetGraphicBlockPoolData(block); in DisplayBufferQueueBlock()
176 if (data && _C2BlockFactory::GetBufferQueueData(data)) { in DisplayBufferQueueBlock()
177 _C2BlockFactory::DisplayBlockToBufferQueue(data); in DisplayBufferQueueBlock()
/frameworks/av/media/codec2/hal/aidl/
DBufferTypes.cpp82 d->linear = _C2BlockFactory::CreateLinearBlock(sC2Handle); in objcpy()
89 d->graphic = _C2BlockFactory::CreateGraphicBlock(sC2Handle); in objcpy()
106 d->graphic = _C2BlockFactory::CreateGraphicBlock(pBuf); in objcpy()
139 d->linear = _C2BlockFactory::CreateLinearBlock(cHandle, bpData); in objcpy()
146 d->graphic = _C2BlockFactory::CreateGraphicBlock(cHandle, bpData); in objcpy()
225 return _C2BlockFactory::GetBufferPoolData(blockPoolData, bpData); in GetBufferPoolData()
365 _C2BlockFactory::GetGraphicBlockPoolData(block); in ReturnOutputBlocksToClientIfNeeded()
366 _C2BlockFactory::DisownIgbaBlock(poolData); in ReturnOutputBlocksToClientIfNeeded()
/frameworks/av/media/codec2/vndk/platform/
DC2IgbaBuffer.cpp72 *block = _C2BlockFactory::CreateGraphicBlock(alloc, poolData); in CreateGraphicBlockFromAhwb()
123 std::shared_ptr<C2GraphicBlock> _C2BlockFactory::CreateGraphicBlock(AHardwareBuffer *ahwb) { in CreateGraphicBlock()
135 bool _C2BlockFactory::GetAHardwareBuffer( in GetAHardwareBuffer()
147 void _C2BlockFactory::DisownIgbaBlock( in DisownIgbaBlock()
156 void _C2BlockFactory::RegisterIgba( in RegisterIgba()
DC2BqBuffer.cpp64 bool _C2BlockFactory::GetBufferQueueData( in GetBufferQueueData()
76 bool _C2BlockFactory::HoldBlockFromBufferQueue( in HoldBlockFromBufferQueue()
86 bool _C2BlockFactory::BeginTransferBlockToClient( in BeginTransferBlockToClient()
93 bool _C2BlockFactory::EndTransferBlockToClient( in EndTransferBlockToClient()
101 bool _C2BlockFactory::BeginAttachBlockToBufferQueue( in BeginAttachBlockToBufferQueue()
109 bool _C2BlockFactory::EndAttachBlockToBufferQueue( in EndAttachBlockToBufferQueue()
122 bool _C2BlockFactory::DisplayBlockToBufferQueue( in DisplayBlockToBufferQueue()
129 std::shared_ptr<C2GraphicBlock> _C2BlockFactory::CreateGraphicBlock( in CreateGraphicBlock()
157 block = _C2BlockFactory::CreateGraphicBlock(alloc, poolData); in CreateGraphicBlock()
159 block = _C2BlockFactory::CreateGraphicBlock(alloc); in CreateGraphicBlock()
[all …]
/frameworks/av/media/codec2/hal/client/
Doutput.cpp169 return _C2BlockFactory::GetBufferQueueData( in getBufferQueueAssignment()
170 _C2BlockFactory::GetGraphicBlockPoolData(block), in getBufferQueueAssignment()
274 !_C2BlockFactory::BeginAttachBlockToBufferQueue(data)) { in configure()
302 _C2BlockFactory::EndAttachBlockToBufferQueue( in configure()
367 _C2BlockFactory::GetGraphicBlockPoolData(block); in registerBuffer()
381 if (!_C2BlockFactory::GetBufferQueueData( in registerBuffer()
392 _C2BlockFactory::HoldBlockFromBufferQueue(data, mOwner, getHgbp(mIgbp), mSyncMem); in registerBuffer()
DGraphicsTracker.cpp36 std::shared_ptr<const _C2BlockPoolData> bpData = _C2BlockFactory::GetGraphicBlockPoolData(blk); in retrieveAHardwareBufferId()
42 if (!_C2BlockFactory::GetAHardwareBuffer(bpData, &pBuf)) { in retrieveAHardwareBufferId()
930 _C2BlockFactory::GetGraphicBlockPoolData(blk); in render()
931 _C2BlockFactory::DisownIgbaBlock(poolData); in render()
Dclient.cpp2583 _C2BlockFactory::GetGraphicBlockPoolData(block); in holdIgbaBlocks()
2584 _C2BlockFactory::RegisterIgba(poolData, igba); in holdIgbaBlocks()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp378 *block = _C2BlockFactory::CreateLinearBlock(alloc); in fetchLinearBlock()
401 bool _C2BlockFactory::GetBufferPoolData( in GetBufferPoolData()
432 bool _C2BlockFactory::GetBufferPoolData( in GetBufferPoolData()
444 std::shared_ptr<C2LinearBlock> _C2BlockFactory::CreateLinearBlock( in CreateLinearBlock()
452 std::shared_ptr<_C2BlockPoolData> _C2BlockFactory::GetLinearBlockPoolData( in GetLinearBlockPoolData()
460 std::shared_ptr<C2LinearBlock> _C2BlockFactory::CreateLinearBlock( in CreateLinearBlock()
480 std::shared_ptr<C2LinearBlock> block = _C2BlockFactory::CreateLinearBlock(alloc); in CreateLinearBlock()
487 std::shared_ptr<C2LinearBlock> _C2BlockFactory::CreateLinearBlock( in CreateLinearBlock()
511 _C2BlockFactory::CreateLinearBlock(alloc, poolData); in CreateLinearBlock()
518 std::shared_ptr<C2LinearBlock> _C2BlockFactory::CreateLinearBlock( in CreateLinearBlock()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
Dtypes.cpp137 d->linear = _C2BlockFactory::CreateLinearBlock(sC2Handle); in objcpy()
143 d->graphic = _C2BlockFactory::CreateGraphicBlock(sC2Handle); in objcpy()
179 d->linear = _C2BlockFactory::CreateLinearBlock(cHandle, bpData); in objcpy()
185 d->graphic = _C2BlockFactory::CreateGraphicBlock(cHandle, bpData); in objcpy()
230 return _C2BlockFactory::GetBufferPoolData(blockPoolData, bpData); in GetBufferPoolData()
DInputSurfaceConnection.cpp209 _C2BlockFactory::CreateGraphicBlock(alloc); in submitBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1144 friend struct _C2BlockFactory;
1188 friend struct _C2BlockFactory;
1230 friend struct _C2BlockFactory;
1271 friend struct _C2BlockFactory;
1303 friend struct _C2BlockFactory;
1961 friend struct _C2BlockFactory;
2016 friend struct _C2BlockFactory;
2057 friend struct _C2BlockFactory;
2089 friend struct _C2BlockFactory;
/frameworks/av/media/codec2/vndk/include/
DC2IgbaBufferPriv.h102 friend struct _C2BlockFactory;
DC2BqBufferPriv.h194 friend struct _C2BlockFactory;
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h203 if (_C2BlockFactory::GetBufferQueueData( in addBaseBlock()
214 if (!_C2BlockFactory::GetAHardwareBuffer(blockPoolData, &pBuf)) { in addBaseBlock()
254 _C2BlockFactory::GetLinearBlockPoolData(s); in objcpy()
287 _C2BlockFactory::GetGraphicBlockPoolData(s); in objcpy()
/frameworks/av/media/codec2/vndk/internal/
DC2BlockInternal.h81 struct _C2BlockFactory { struct
/frameworks/av/media/codec2/sfplugin/
DC2NodeImpl.cpp323 block = _C2BlockFactory::CreateGraphicBlock(alloc); in submitBuffer()
DCodec2Buffer.cpp811 std::shared_ptr<C2GraphicBlock> block = _C2BlockFactory::CreateGraphicBlock(alloc); in asC2Buffer()
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp228 _C2BlockFactory::CreateGraphicBlock(frame->buffer_); in queueBuffer()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp640 return _C2BlockFactory::CreateGraphicBlock(alloc); in CreateGraphicBlock()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp3123 std::shared_ptr<C2GraphicBlock> block = _C2BlockFactory::CreateGraphicBlock(alloc); in android_media_MediaCodec_native_queueHardwareBuffer()
Dandroid_media_tv_Tuner.cpp566 std::shared_ptr<C2LinearBlock> block = _C2BlockFactory::CreateLinearBlock(mIonHandle); in getLinearBlock()