/device/generic/goldfish/camera/ |
D | PreviewWindow.cpp | 33 : mPreviewWindow(NULL), in PreviewWindow() 51 ALOGV("%s: current: %p -> new: %p", __FUNCTION__, mPreviewWindow, window); in setPreviewWindow() 71 mPreviewWindow = window; in setPreviewWindow() 104 if (!isPreviewEnabled() || mPreviewWindow == NULL) { in onNextFrameAvailable() 114 __FUNCTION__, mPreviewWindow, mPreviewFrameWidth, in onNextFrameAvailable() 116 res = mPreviewWindow->set_buffers_geometry(mPreviewWindow, in onNextFrameAvailable() 134 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable() 142 res = mPreviewWindow->lock_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 146 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 159 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() [all …]
|
D | EmulatedCamera.cpp | 117 mPreviewWindow(), in EmulatedCamera() 250 mPreviewWindow.onNextFrameAvailable(timestamp, camera_dev); in onNextFrameAvailable() 330 return -mPreviewWindow.setPreviewWindow(window, in setPreviewWindow() 376 mPreviewWindow.setPreviewWindow(nullptr, 0); in stopPreview() 383 return mPreviewWindow.isPreviewEnabled(); in isPreviewEnabled() 528 if (mPreviewWindow.isPreviewEnabled()) { in takePicture() 529 mPreviewWindow.stopPreview(); in takePicture() 830 status_t res = mPreviewWindow.startPreview(); in doStartPreview() 839 mPreviewWindow.stopPreview(); in doStartPreview() 848 mPreviewWindow.stopPreview(); in doStartPreview() [all …]
|
D | PreviewWindow.h | 134 preview_stream_ops* mPreviewWindow; variable
|
D | EmulatedCamera.h | 380 PreviewWindow mPreviewWindow; variable
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 757 preview_stream_ops *mPreviewWindow; in initDisplayBuffers() local 773 mPreviewWindow = camHal->window; in initDisplayBuffers() 774 if(!mPreviewWindow) { in initDisplayBuffers() 791 if(mPreviewWindow->get_min_undequeued_buffer_count) { in initDisplayBuffers() 792 rc = mPreviewWindow->get_min_undequeued_buffer_count( in initDisplayBuffers() 793 mPreviewWindow, &numMinUndequeuedBufs); in initDisplayBuffers() 807 if(mPreviewWindow->set_buffer_count) { in initDisplayBuffers() 810 rc = mPreviewWindow->set_buffer_count( in initDisplayBuffers() 811 mPreviewWindow, in initDisplayBuffers() 823 if(mPreviewWindow->set_buffers_geometry) { in initDisplayBuffers() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 1059 mPreviewWindow(NULL), in QCamera2HardwareInterface() 1504 if(mPreviewWindow != NULL) { in getBufNumRequired() 1505 if (mPreviewWindow->get_min_undequeued_buffer_count(mPreviewWindow,&minUndequeCount) in getBufNumRequired() 1731 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf() 1749 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf() 2134 mPreviewWindow = window; in setPreviewWindow() 4574 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent()
|
D | QCamera2HWI.h | 511 preview_stream_ops_t *mPreviewWindow; variable
|
D | QCameraStateMachine.cpp | 436 if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState() 680 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 1059 mPreviewWindow(NULL), in QCamera2HardwareInterface() 1504 if(mPreviewWindow != NULL) { in getBufNumRequired() 1505 if (mPreviewWindow->get_min_undequeued_buffer_count(mPreviewWindow,&minUndequeCount) in getBufNumRequired() 1732 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf() 1750 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf() 2136 mPreviewWindow = window; in setPreviewWindow() 4576 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent()
|
D | QCamera2HWI.h | 511 preview_stream_ops_t *mPreviewWindow; variable
|
D | QCameraStateMachine.cpp | 436 if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState() 680 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 1621 mPreviewWindow(NULL), in QCamera2HardwareInterface() 2448 if(mPreviewWindow != NULL) { in getBufNumRequired() 2449 if (mPreviewWindow->get_min_undequeued_buffer_count(mPreviewWindow,&minUndequeCount) in getBufNumRequired() 2741 grallocMemory->setWindowInfo(mPreviewWindow, in allocateStreamBuf() 2772 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf() 3268 mPreviewWindow = window; in setPreviewWindow() 6286 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent() 10157 if ((stream_type == CAM_STREAM_TYPE_PREVIEW && mPreviewWindow == NULL) in needDeferred()
|
D | QCamera2HWI.h | 581 preview_stream_ops_t *mPreviewWindow; variable
|
D | QCameraStateMachine.cpp | 515 } else if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState() 785 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState() 939 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
|