Home
last modified time | relevance | path

Searched refs:mPreviewWindow (Results 1 – 14 of 14) sorted by relevance

/device/generic/goldfish/camera/
DPreviewWindow.cpp32 : mPreviewWindow(NULL), in PreviewWindow()
50 ALOGV("%s: current: %p -> new: %p", __FUNCTION__, mPreviewWindow, window); in setPreviewWindow()
70 mPreviewWindow = window; in setPreviewWindow()
103 if (!isPreviewEnabled() || mPreviewWindow == NULL) { in onNextFrameAvailable()
113 __FUNCTION__, mPreviewWindow, mPreviewFrameWidth, in onNextFrameAvailable()
115 res = mPreviewWindow->set_buffers_geometry(mPreviewWindow, in onNextFrameAvailable()
133 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable()
141 res = mPreviewWindow->lock_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
145 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
158 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
[all …]
DEmulatedCamera.cpp117 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()
395 if (!mPreviewWindow.isPreviewEnabled()) { in startRecording()
534 if (mPreviewWindow.isPreviewEnabled()) { in takePicture()
535 mPreviewWindow.stopPreview(); in takePicture()
837 status_t res = mPreviewWindow.startPreview(); in doStartPreview()
846 mPreviewWindow.stopPreview(); in doStartPreview()
[all …]
DPreviewWindow.h134 preview_stream_ops* mPreviewWindow; variable
DEmulatedCamera.h383 PreviewWindow mPreviewWindow; variable
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp757 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/
DQCamera2HWI.cpp1059 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()
DQCamera2HWI.h511 preview_stream_ops_t *mPreviewWindow; variable
DQCameraStateMachine.cpp436 if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState()
680 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.cpp1059 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()
DQCamera2HWI.h511 preview_stream_ops_t *mPreviewWindow; variable
DQCameraStateMachine.cpp436 if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState()
680 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWI.cpp1621 mPreviewWindow(NULL), in QCamera2HardwareInterface()
2452 if(mPreviewWindow != NULL) { in getBufNumRequired()
2453 if (mPreviewWindow->get_min_undequeued_buffer_count(mPreviewWindow,&minUndequeCount) in getBufNumRequired()
2745 grallocMemory->setWindowInfo(mPreviewWindow, in allocateStreamBuf()
2776 grallocMemory->setWindowInfo(mPreviewWindow, dim.width, in allocateStreamBuf()
3281 mPreviewWindow = window; in setPreviewWindow()
6301 ret = m_channels[i]->processZoomDone(mPreviewWindow, crop_info); in processZoomEvent()
10172 if ((stream_type == CAM_STREAM_TYPE_PREVIEW && mPreviewWindow == NULL) in needDeferred()
DQCamera2HWI.h581 preview_stream_ops_t *mPreviewWindow; variable
DQCameraStateMachine.cpp515 } else if (m_parent->mPreviewWindow == NULL) { in procEvtPreviewStoppedState()
785 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()
939 if (m_parent->mPreviewWindow != NULL) { in procEvtPreviewReadyState()