Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DPreviewWindow.cpp32 : 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()
161 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
[all …]
DEmulatedCamera.cpp107 mPreviewWindow(gbm), in EmulatedCamera()
240 mPreviewWindow.onNextFrameAvailable(timestamp, camera_dev); in onNextFrameAvailable()
320 return -mPreviewWindow.setPreviewWindow(window, in setPreviewWindow()
366 mPreviewWindow.setPreviewWindow(nullptr, 0); in stopPreview()
373 return mPreviewWindow.isPreviewEnabled(); in isPreviewEnabled()
385 if (!mPreviewWindow.isPreviewEnabled()) { in startRecording()
523 if (mPreviewWindow.isPreviewEnabled()) { in takePicture()
524 mPreviewWindow.stopPreview(); in takePicture()
834 status_t res = mPreviewWindow.startPreview(); in doStartPreview()
843 mPreviewWindow.stopPreview(); in doStartPreview()
[all …]
DPreviewWindow.h136 preview_stream_ops* mPreviewWindow; variable
DEmulatedCamera.h386 PreviewWindow mPreviewWindow; variable
/device/google/cuttlefish/guest/hals/camera/
DPreviewWindow.cpp33 : mPreviewWindow(NULL), in PreviewWindow()
47 ALOGV("%s: current: %p -> new: %p", __FUNCTION__, mPreviewWindow, window); in setPreviewWindow()
72 mPreviewWindow = window; in setPreviewWindow()
103 if (!isPreviewEnabled() || mPreviewWindow == NULL || !isPreviewTime()) { in onNextFrameAvailable()
113 mPreviewWindow, mPreviewFrameWidth, mPreviewFrameHeight); in onNextFrameAvailable()
114 res = mPreviewWindow->set_buffers_geometry( in onNextFrameAvailable()
115 mPreviewWindow, mPreviewFrameWidth, mPreviewFrameHeight, in onNextFrameAvailable()
131 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable()
139 res = mPreviewWindow->lock_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
143 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable()
[all …]
DEmulatedCamera.cpp77 mPreviewWindow(), in EmulatedCamera()
194 mPreviewWindow.onNextFrameAvailable(frame, timestamp, camera_dev); in onNextFrameAvailable()
273 return -mPreviewWindow.setPreviewWindow(window, in setPreviewWindow()
305 return mPreviewWindow.isPreviewEnabled(); in isPreviewEnabled()
382 const bool preview_on = mPreviewWindow.isPreviewEnabled(); in takePicture()
579 status_t res = mPreviewWindow.startPreview(); in doStartPreview()
588 mPreviewWindow.stopPreview(); in doStartPreview()
623 mPreviewWindow.stopPreview(); in doStartPreview()
637 mPreviewWindow.stopPreview(); in doStartPreview()
649 mPreviewWindow.stopPreview(); in doStartPreview()
[all …]
DPreviewWindow.h143 preview_stream_ops* mPreviewWindow; variable
DEmulatedCamera.h378 PreviewWindow mPreviewWindow; variable