Searched refs:gBuffer (Results 1 – 2 of 2) sorted by relevance
195 GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_lockPlanes() local198 bounds.set(Rect(gBuffer->getWidth(), gBuffer->getHeight())); in AHardwareBuffer_lockPlanes()202 int format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gBuffer->getPixelFormat())); in AHardwareBuffer_lockPlanes()206 int result = gBuffer->lockAsyncYCbCr(usage, bounds, &yuvData, fence); in AHardwareBuffer_lockPlanes()230 outPlanes->planes[0].rowStride = gBuffer->getStride() * pixelStride; in AHardwareBuffer_lockPlanes()231 return gBuffer->lockAsync(usage, usage, bounds, &outPlanes->planes[0].data, fence); in AHardwareBuffer_lockPlanes()238 GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_unlock() local240 return gBuffer->unlock(); in AHardwareBuffer_unlock()242 return gBuffer->unlockAsync(fence); in AHardwareBuffer_unlock()247 const GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_sendHandleToUnixSocket() local[all …]
159 sp<GraphicBuffer> gBuffer = graphicBuffer.promote(); in onBufferFreed() local160 if (gBuffer == nullptr) { in onBufferFreed()169 msg->setObject(AImageReader::kGraphicBufferKey, gBuffer); in onBufferFreed()