Searched refs:camera_dev (Results 1 – 7 of 7) sorted by relevance
/device/generic/goldfish/camera/ |
D | PreviewWindow.cpp | 106 EmulatedCameraDevice* camera_dev) in onNextFrameAvailable() argument 116 if (adjustPreviewDimensions(camera_dev)) { in onNextFrameAvailable() 172 res = camera_dev->getCurrentPreviewFrame(img); in onNextFrameAvailable() 188 bool PreviewWindow::adjustPreviewDimensions(EmulatedCameraDevice* camera_dev) in adjustPreviewDimensions() argument 191 if (mPreviewFrameWidth == camera_dev->getFrameWidth() && in adjustPreviewDimensions() 192 mPreviewFrameHeight == camera_dev->getFrameHeight()) { in adjustPreviewDimensions() 198 mPreviewFrameWidth = camera_dev->getFrameWidth(); in adjustPreviewDimensions() 199 mPreviewFrameHeight = camera_dev->getFrameHeight(); in adjustPreviewDimensions()
|
D | EmulatedCamera.cpp | 171 EmulatedCameraDevice* camera_dev) in onNextFrameAvailable() argument 174 mPreviewWindow.onNextFrameAvailable(frame, timestamp, camera_dev); in onNextFrameAvailable() 177 mCallbackNotifier.onNextFrameAvailable(frame, timestamp, camera_dev); in onNextFrameAvailable() 195 EmulatedCameraDevice* const camera_dev = getCameraDevice(); in connectCamera() local 196 ALOGE_IF(camera_dev == NULL, "%s: No camera device instance.", __FUNCTION__); in connectCamera() 198 if (camera_dev != NULL) { in connectCamera() 377 EmulatedCameraDevice* const camera_dev = getCameraDevice(); in takePicture() local 378 if (camera_dev->isStarted()) { in takePicture() 380 camera_dev->stopDeliveringFrames(); in takePicture() 381 camera_dev->stopDevice(); in takePicture() [all …]
|
D | CallbackNotifier.cpp | 213 EmulatedCameraDevice* camera_dev) in onNextFrameAvailable() argument 218 mGetMemoryCB(-1, camera_dev->getFrameBufferSize(), 1, NULL); in onNextFrameAvailable() 220 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 232 mGetMemoryCB(-1, camera_dev->getFrameBufferSize(), 1, NULL); in onNextFrameAvailable() 234 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 261 compressor.compressRawImage(frame, camera_dev->getFrameWidth(), in onNextFrameAvailable() 262 camera_dev->getFrameHeight(), in onNextFrameAvailable()
|
D | PreviewWindow.h | 104 EmulatedCameraDevice* camera_dev); 128 bool adjustPreviewDimensions(EmulatedCameraDevice* camera_dev);
|
D | EmulatedCameraDevice.h | 365 inline explicit WorkerThread(EmulatedCameraDevice* camera_dev) in WorkerThread() argument 367 mCameraDevice(camera_dev), in WorkerThread()
|
D | CallbackNotifier.h | 162 EmulatedCameraDevice* camera_dev);
|
D | EmulatedCamera.h | 94 EmulatedCameraDevice* camera_dev);
|