Home
last modified time | relevance | path

Searched refs:mBufferHandle (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp1895 mBufferHandle[i] = NULL; in QCameraGrallocMemory()
1996 err = mWindow->enqueue_buffer(mWindow, (buffer_handle_t *)mBufferHandle[index]); in displayBuffer()
2000 LOGD("enqueue_buffer hdl=%p", *mBufferHandle[index]); in displayBuffer()
2011 if(mBufferHandle[i] == buffer_handle) { in displayBuffer()
2022 mBufferHandle[dequeuedIdx] = buffer_handle; in displayBuffer()
2026 (struct private_handle_t *)(*mBufferHandle[dequeuedIdx]); in displayBuffer()
2090 else if(mBufferHandle[index] == NULL) in enqueueBuffer()
2108 err = mWindow->enqueue_buffer(mWindow, (buffer_handle_t *)mBufferHandle[index]); in enqueueBuffer()
2112 LOGD("enqueue_buffer hdl=%p", *mBufferHandle[index]); in enqueueBuffer()
2142 if(mBufferHandle[i] == buffer_handle) { in dequeueBuffer()
[all …]
DQCameraMem.h311 buffer_handle_t *mBufferHandle[MM_CAMERA_MAX_NUM_FRAMES];
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp322 if (mBufferHandle != nullptr) { in ~ReadbackBuffer()
323 mGralloc->freeBuffer(mBufferHandle); in ~ReadbackBuffer()
328 if (mBufferHandle != nullptr) { in setReadbackBuffer()
329 mGralloc->freeBuffer(mBufferHandle); in setReadbackBuffer()
330 mBufferHandle = nullptr; in setReadbackBuffer()
332 mBufferHandle = mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setReadbackBuffer()
334 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle, mWidth, mHeight, mLayerCount, in setReadbackBuffer()
336 ASSERT_NO_FATAL_FAILURE(mComposerClient->setReadbackBuffer(mDisplay, mBufferHandle, -1)); in setReadbackBuffer()
344 void* bufData = mGralloc->lock(mBufferHandle, mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()
359 int32_t unlockFence = mGralloc->unlock(mBufferHandle); in checkReadbackBuffer()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp749 mBufferHandle[i] = NULL; in QCamera3GrallocMemory()
811 mBufferHandle[idx] = buffer; in registerBuffer()
812 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); in registerBuffer()
872 mBufferHandle[idx] = NULL; in unregisterBufferLocked()
1157 if (mBufferHandle[i] == key) { in getMatchBufIndex()
1294 return mBufferHandle[index]; in getBufferHandle()
DQCamera3Mem.h155 buffer_handle_t *mBufferHandle[MM_CAMERA_MAX_NUM_FRAMES]; variable