Lines Matching refs:block

165     _C2MappedBlock1DImpl(const _C2Block1DImpl &block, uint8_t *data,  in _C2MappedBlock1DImpl()  argument
167 : _C2Block1DImpl(block, offset, size), mData(data), mError(C2_OK) { } in _C2MappedBlock1DImpl()
333 std::shared_ptr<C2LinearBlock> *block /* nonnull */) { in fetchLinearBlock() argument
334 block->reset(); in fetchLinearBlock()
342 *block = _C2BlockFactory::CreateLinearBlock(alloc); in fetchLinearBlock()
386 const C2Block1D &block) { in GetLinearBlockPoolData() argument
387 if (block.mImpl) { in GetLinearBlockPoolData()
388 return block.mImpl->poolData(); in GetLinearBlockPoolData()
402 std::shared_ptr<C2LinearBlock> block = _C2BlockFactory::CreateLinearBlock(alloc); in CreateLinearBlock() local
403 return block; in CreateLinearBlock()
421 std::shared_ptr<C2LinearBlock> block = in CreateLinearBlock() local
423 return block; in CreateLinearBlock()
662 std::shared_ptr<C2LinearBlock> *block /* nonnull */) { in fetchLinearBlock() argument
663 block->reset(); in fetchLinearBlock()
679 *block = _C2BlockFactory::CreateLinearBlock(alloc, poolData, 0, capacity); in fetchLinearBlock()
680 if (*block) { in fetchLinearBlock()
695 std::shared_ptr<C2GraphicBlock> *block) { in fetchGraphicBlock() argument
696 block->reset(); in fetchGraphicBlock()
713 *block = _C2BlockFactory::CreateGraphicBlock( in fetchGraphicBlock()
715 if (*block) { in fetchGraphicBlock()
748 std::shared_ptr<C2LinearBlock> *block /* nonnull */) { in fetchLinearBlock() argument
750 return mImpl->fetchLinearBlock(capacity, usage, block); in fetchLinearBlock()
760 std::shared_ptr<C2GraphicBlock> *block) { in fetchGraphicBlock() argument
762 return mImpl->fetchGraphicBlock(width, height, format, usage, block); in fetchGraphicBlock()
1073 std::shared_ptr<C2GraphicBlock> *block /* nonnull */) { in fetchGraphicBlock() argument
1074 block->reset(); in fetchGraphicBlock()
1082 *block = _C2BlockFactory::CreateGraphicBlock(alloc); in fetchGraphicBlock()
1096 const C2Block2D &block) { in GetGraphicBlockPoolData() argument
1097 if (block.mImpl) { in GetGraphicBlockPoolData()
1098 return block.mImpl->poolData(); in GetGraphicBlockPoolData()
1116 std::shared_ptr<C2GraphicBlock> block = in CreateGraphicBlock() local
1118 return block; in CreateGraphicBlock()
1284 std::shared_ptr<C2Buffer> C2Buffer::CreateLinearBuffer(const C2ConstLinearBlock &block) { in CreateLinearBuffer() argument
1285 return std::shared_ptr<C2Buffer>(new C2Buffer({ block })); in CreateLinearBuffer()
1289 std::shared_ptr<C2Buffer> C2Buffer::CreateGraphicBuffer(const C2ConstGraphicBlock &block) { in CreateGraphicBuffer() argument
1290 return std::shared_ptr<C2Buffer>(new C2Buffer({ block })); in CreateGraphicBuffer()