/hardware/qcom/display/msm8960/libgenlock/ |
D | genlock.cpp | 67 genlock_status_t perform_lock_unlock_operation(native_handle_t *buffer_handle, in perform_lock_unlock_operation() argument 71 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation() 77 (buffer_handle); in perform_lock_unlock_operation() 142 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle) in genlock_create_lock() argument 146 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock() 151 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock() 197 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle) in genlock_release_lock() argument 201 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock() 206 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_release_lock() 227 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle) in genlock_attach_lock() argument [all …]
|
D | genlock.h | 62 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle); 71 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle); 79 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle); 95 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle, 105 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle); 114 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout); 123 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapper.cpp | 101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer() local 102 if (!buffer_handle) { in importBuffer() 108 auto error = buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle)); in importBuffer() 110 ALOGE("%s: Unable to retain handle: %p", __FUNCTION__, buffer_handle); in importBuffer() 111 native_handle_close(buffer_handle); in importBuffer() 112 native_handle_delete(buffer_handle); in importBuffer() 117 ALOGD_IF(DEBUG, "Imported handle: %p id: %" PRIu64, buffer_handle, in importBuffer() 118 PRIV_HANDLE_CONST(buffer_handle)->id); in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer()
|
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer() local 102 if (!buffer_handle) { in importBuffer() 108 auto error = buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle)); in importBuffer() 110 ALOGE("%s: Unable to retain handle: %p", __FUNCTION__, buffer_handle); in importBuffer() 111 native_handle_close(buffer_handle); in importBuffer() 112 native_handle_delete(buffer_handle); in importBuffer() 117 ALOGD_IF(DEBUG, "Imported handle: %p id: %" PRIu64, buffer_handle, in importBuffer() 118 PRIV_HANDLE_CONST(buffer_handle)->id); in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 859 &camHal->previewMem.buffer_handle[cnt], in initDisplayBuffers() 863 __func__, camHal->previewMem.buffer_handle[cnt]); in initDisplayBuffers() 868 camHal->previewMem.buffer_handle[cnt]); in initDisplayBuffers() 875 __func__, (*camHal->previewMem.buffer_handle[cnt])); in initDisplayBuffers() 879 (native_handle_t *) (*camHal->previewMem.buffer_handle[cnt]), in initDisplayBuffers() 887 __func__, *camHal->previewMem.buffer_handle[cnt]); in initDisplayBuffers() 893 (struct private_handle_t *) (*camHal->previewMem.buffer_handle[cnt]); in initDisplayBuffers() 942 (native_handle_t *)(*(camHal->previewMem.buffer_handle[cnt])))){ in initDisplayBuffers() 944 (*(camHal->previewMem.buffer_handle[cnt])) ); in initDisplayBuffers() 948 __func__, (*(camHal->previewMem.buffer_handle[cnt]))); in initDisplayBuffers() [all …]
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_device_impl.cpp | 551 native_handle_t *buffer_handle = native_handle_clone(raw_handle); in importBuffer() local 552 if (!buffer_handle) { in importBuffer() 559 auto error = dev->buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle)); in importBuffer() 561 ALOGE("%s: Unable to retain handle: %p", __FUNCTION__, buffer_handle); in importBuffer() 562 native_handle_close(buffer_handle); in importBuffer() 563 native_handle_delete(buffer_handle); in importBuffer() 567 ALOGD_IF(DEBUG, "Imported handle: %p id: %" PRIu64, buffer_handle, in importBuffer() 568 PRIV_HANDLE_CONST(buffer_handle)->id); in importBuffer() 570 *out_handle = buffer_handle; in importBuffer()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_device_impl.cpp | 570 native_handle_t *buffer_handle = native_handle_clone(raw_handle); in importBuffer() local 571 if (!buffer_handle) { in importBuffer() 578 auto error = dev->buf_mgr_->RetainBuffer(PRIV_HANDLE_CONST(buffer_handle)); in importBuffer() 580 ALOGE("%s: Unable to retain handle: %p", __FUNCTION__, buffer_handle); in importBuffer() 581 native_handle_close(buffer_handle); in importBuffer() 582 native_handle_delete(buffer_handle); in importBuffer() 586 ALOGD_IF(DEBUG, "Imported handle: %p id: %" PRIu64, buffer_handle, in importBuffer() 587 PRIV_HANDLE_CONST(buffer_handle)->id); in importBuffer() 589 *out_handle = buffer_handle; in importBuffer()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 2004 buffer_handle_t *buffer_handle = NULL; in displayBuffer() local 2006 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); in displayBuffer() 2007 if (err == NO_ERROR && buffer_handle != NULL) { in displayBuffer() 2009 LOGD("dequed buf hdl =%p", *buffer_handle); in displayBuffer() 2011 if(mBufferHandle[i] == buffer_handle) { in displayBuffer() 2022 mBufferHandle[dequeuedIdx] = buffer_handle; in displayBuffer() 2133 buffer_handle_t *buffer_handle = NULL; in dequeueBuffer() local 2137 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); in dequeueBuffer() 2138 if ((err == NO_ERROR) && (buffer_handle != NULL)) { in dequeueBuffer() 2140 LOGD("dequed buf hdl =%p", *buffer_handle); in dequeueBuffer() [all …]
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | depth_process_block.cc | 489 buffer_handle_t buffer_handle = stream_buffer.buffer; in MapBuffersForDepthGenerator() local 490 ALOGV("%s: Mapping FD=%d to CPU addr.", __FUNCTION__, buffer_handle->data[0]); in MapBuffersForDepthGenerator() 501 MAP_SHARED, buffer_handle->data[0], 0); in MapBuffersForDepthGenerator()
|
D | camera_device_session.cc | 845 [&](const auto& error, const auto& buffer_handle) { in ImportBufferHandleLocked() argument 847 imported_buffer_handle = static_cast<buffer_handle_t>(buffer_handle); in ImportBufferHandleLocked() 1296 const BufferCache& buffer_cache, buffer_handle_t buffer_handle) { in AddImportedBufferHandlesLocked() argument 1301 imported_buffer_handle_map_.emplace(buffer_cache, buffer_handle); in AddImportedBufferHandlesLocked() 1302 } else if (buffer_handle_it->second != buffer_handle) { in AddImportedBufferHandlesLocked() 1306 __FUNCTION__, buffer_handle_it->second, buffer_handle, in AddImportedBufferHandlesLocked()
|
D | camera_device_session.h | 195 buffer_handle_t buffer_handle);
|
/hardware/google/camera/common/hal/hidl_service/ |
D | hidl_camera_device_session.cc | 255 buffer_hidl_handle, [&](const auto& error, const auto& buffer_handle) { in ImportBufferHandle() argument 257 imported_buffer_handle = static_cast<buffer_handle_t>(buffer_handle); in ImportBufferHandle()
|
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 744 PixelFormat format, hidl_handle *buffer_handle /*out*/); 1520 hidl_handle buffer_handle; in requestStreamBuffers() local 1530 halStream.overrideFormat, &buffer_handle); in requestStreamBuffers() 1532 tmpRetBuffers[j] = {stream.v3_2.id, mNextBufferId, buffer_handle, BufferStatus::OK, in requestStreamBuffers() 1534 mOutstandingBufferIds[idx].insert(std::make_pair(mNextBufferId++, buffer_handle)); in requestStreamBuffers() 4445 hidl_handle buffer_handle; in processCaptureRequestInternal() local 4450 buffer_handle, in processCaptureRequestInternal() 4458 halStreamConfig.streams[0].overrideFormat, &buffer_handle); in processCaptureRequestInternal() 4461 buffer_handle, in processCaptureRequestInternal() 4672 hidl_handle buffer_handle; in TEST_P() local [all …]
|