Home
last modified time | relevance | path

Searched refs:memHandle (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/evs/sampleDriver/
DEvsGlDisplay.cpp60 if (mBuffer.memHandle) { in forceShutdown()
68 alloc.free(mBuffer.memHandle); in forceShutdown()
69 mBuffer.memHandle = nullptr; in forceShutdown()
167 if (!mBuffer.memHandle) { in getTargetBuffer()
212 mBuffer.memHandle = handle; in getTargetBuffer()
214 mBuffer.memHandle.getNativeHandle(), mBuffer.stride); in getTargetBuffer()
234 mBuffer.memHandle.getNativeHandle(), mBuffer.bufferId); in getTargetBuffer()
246 ALOGV("returnTargetBufferForDisplay %p", buffer.memHandle.getNativeHandle()); in returnTargetBufferForDisplay()
250 if (!buffer.memHandle.getNativeHandle()) { in returnTargetBufferForDisplay()
DEvsV4lCamera.cpp220 if (buffer.memHandle == nullptr) { in doneWithFrame()
349 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local
353 &memHandle, &pixelsPerLine, 0, "EvsV4lCamera"); in increaseAvailableFrames_Locked()
361 if (!memHandle) { in increaseAvailableFrames_Locked()
379 rec.handle = memHandle; in increaseAvailableFrames_Locked()
387 mBuffers.emplace_back(memHandle); in increaseAvailableFrames_Locked()
471 buff.memHandle = mBuffers[idx].handle; in forwardFrame()
476 mapper.lock(buff.memHandle, in forwardFrame()
491 mapper.unlock(buff.memHandle); in forwardFrame()
502 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId); in forwardFrame()
DGlWrapper.cpp375 const_cast<native_handle_t*>(buffer.memHandle.getNativeHandle()), in updateImageTexture()
/packages/services/Car/evs/app/
DStreamHandler.cpp132 ALOGD("Received a frame from the camera (%p)", buffer.memHandle.getNativeHandle()); in deliverFrame()
138 if (buffer.memHandle.getNativeHandle() == nullptr) { in deliverFrame()
DVideoTex.cpp71 if (mImageBuffer.memHandle.getNativeHandle() != nullptr) { in refresh()
87 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(mImageBuffer.memHandle, in refresh()
DRenderPixelCopy.cpp66 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in drawFrame()
86 srcBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in drawFrame()
DRenderBase.cpp149 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(tgtBuffer.memHandle, in attachRenderTarget()
DEvsStateControl.cpp185 if (tgtBuffer.memHandle == nullptr) { in updateLoop()
/packages/services/Car/evs/manager/
DVirtualCamera.cpp73 if (buffer.memHandle == nullptr) { in deliverFrame()
160 if (buffer.memHandle == nullptr) { in doneWithFrame()