Lines Matching refs:newBuffer

309     sp<ABuffer> newBuffer(size_t capacity) {  in newBuffer()  function in android::__anonc81e1db90111::LocalBufferPool
419 return localBufferPool->newBuffer(capacity); in AllocateGraphicBuffer()
782 sp<Codec2Buffer> newBuffer = alloc((size_t)capacity); in requestNewBuffer() local
783 if (newBuffer == nullptr) { in requestNewBuffer()
786 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
787 *buffer = newBuffer; in requestNewBuffer()
927 sp<GraphicMetadataBuffer> newBuffer = new GraphicMetadataBuffer(mFormat, alloc); in requestNewBuffer() local
928 if (newBuffer == nullptr) { in requestNewBuffer()
931 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
932 *buffer = newBuffer; in requestNewBuffer()
991 sp<GraphicBlockBuffer> newBuffer = AllocateGraphicBuffer( in requestNewBuffer() local
993 if (newBuffer == nullptr) { in requestNewBuffer()
996 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
997 *buffer = newBuffer; in requestNewBuffer()
1204 sp<Codec2Buffer> newBuffer = wrap(buffer); in registerBuffer() local
1205 newBuffer->setFormat(mFormat); in registerBuffer()
1206 *index = mImpl.assignSlot(newBuffer); in registerBuffer()
1207 *clientBuffer = newBuffer; in registerBuffer()
1216 sp<Codec2Buffer> newBuffer = new LocalLinearBuffer( in registerCsd() local
1218 *index = mImpl.assignSlot(newBuffer); in registerCsd()
1219 *clientBuffer = newBuffer; in registerCsd()
1335 return lbp->newBuffer(capacity); in wrap()
1344 return lbp->newBuffer(capacity); in wrap()
1353 return lbp->newBuffer(capacity); in allocateArrayBuffer()