Searched refs:gBuffer (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 195 GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_lockPlanes() local 198 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() 226 outPlanes->planes[0].rowStride = gBuffer->getStride() * pixelStride; in AHardwareBuffer_lockPlanes() 227 return gBuffer->lockAsync(usage, usage, bounds, &outPlanes->planes[0].data, fence); in AHardwareBuffer_lockPlanes() 234 GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_unlock() local 236 return gBuffer->unlock(); in AHardwareBuffer_unlock() 238 return gBuffer->unlockAsync(fence); in AHardwareBuffer_unlock() 243 const GraphicBuffer* gBuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_sendHandleToUnixSocket() local [all …]
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 156 sp<GraphicBuffer> gBuffer = graphicBuffer.promote(); in onBufferFreed() local 157 if (gBuffer == nullptr) { in onBufferFreed() 166 msg->setObject(AImageReader::kGraphicBufferKey, gBuffer); in onBufferFreed()
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 407 void* gBuffer = nullptr; in createFromHidlMemory() local 408 status = AHardwareBuffer_lock(hardwareBuffer, usage, -1, nullptr, &gBuffer); in createFromHidlMemory() 413 buffer = static_cast<uint8_t*>(gBuffer); in createFromHidlMemory()
|