Home
last modified time | relevance | path

Searched refs:buffer_handle (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp67 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 …]
Dgenlock.h62 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/sdm845/display/gralloc/
DQtiMapper.cpp101 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/
DQualcommUsbCamera.cpp859 &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/msm8998/libgralloc1/
Dgr_device_impl.cpp570 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/display/msm8996/libgralloc1/
Dgr_device_impl.cpp551 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/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp2004 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/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp725 PixelFormat format, hidl_handle *buffer_handle /*out*/);
1392 hidl_handle buffer_handle; in requestStreamBuffers() local
1396 halStream.overrideFormat, &buffer_handle); in requestStreamBuffers()
1398 tmpRetBuffers[j] = {stream.id, mNextBufferId, buffer_handle, BufferStatus::OK, in requestStreamBuffers()
1400 mOutstandingBufferIds[idx].insert(std::make_pair(mNextBufferId++, buffer_handle)); in requestStreamBuffers()
3941 hidl_handle buffer_handle; in TEST_F() local
3946 buffer_handle, in TEST_F()
3954 halStreamConfig.streams[0].overrideFormat, &buffer_handle); in TEST_F()
3957 buffer_handle, in TEST_F()
4168 hidl_handle buffer_handle; in TEST_F() local
[all …]