• Home
  • Raw
  • Download

Lines Matching refs:newBuffer

71                 return localBufferPool->newBuffer(capacity);  in AllocateInputGraphicBuffer()
613 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() function in android::LocalBufferPool
949 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
950 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
951 *buffer = newBuffer; in requestNewBuffer()
987 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
988 if (newBuffer == nullptr) { in requestNewBuffer()
991 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
992 *buffer = newBuffer; in requestNewBuffer()
1164 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
1165 if (newBuffer == nullptr) { in requestNewBuffer()
1168 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
1169 *buffer = newBuffer; in requestNewBuffer()
1233 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
1234 if (newBuffer == nullptr) { in requestNewBuffer()
1237 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
1238 handleImageData(newBuffer); in requestNewBuffer()
1239 *buffer = newBuffer; in requestNewBuffer()
1425 return lbp->newBuffer(capacity); in realloc()
1462 sp<Codec2Buffer> newBuffer; in registerBuffer() local
1463 if (!convert(buffer, &newBuffer)) { in registerBuffer()
1464 newBuffer = wrap(buffer); in registerBuffer()
1465 if (newBuffer == nullptr) { in registerBuffer()
1468 newBuffer->setFormat(mFormat); in registerBuffer()
1470 *index = mImpl.assignSlot(newBuffer); in registerBuffer()
1471 handleImageData(newBuffer); in registerBuffer()
1472 *clientBuffer = newBuffer; in registerBuffer()
1483 sp<Codec2Buffer> newBuffer = new LocalLinearBuffer( in registerCsd() local
1485 *index = mImpl.assignSlot(newBuffer); in registerCsd()
1486 *clientBuffer = newBuffer; in registerCsd()
1613 return lbp->newBuffer(capacity); in wrap()
1623 return lbp->newBuffer(capacity); in getAlloc()