Lines Matching defs:camera

28 #include <camera/Camera.h>
29 #include <camera/CameraParameters.h>
129 sp<ICamera> camera;
130 return new CameraSource(camera, NULL, 0, size, -1, NULL, false);
135 const sp<ICamera>& camera,
143 CameraSource *source = new CameraSource(camera, proxy, cameraId,
150 const sp<ICamera>& camera,
175 mInitCheck = init(camera, proxy, cameraId,
186 const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy,
189 if (camera == 0) {
198 mCamera = Camera::create(camera);
245 * Query the camera to retrieve the supported video frame sizes
252 * supported video frame sizes advertised by the camera.
269 * Check whether the camera has the supported color format
284 * Configure the camera to use the requested video size
289 * use the current camera setting without the need to
325 // Do not configure the camera.
326 // Use the current width and height value setting from the camera.
343 // The frame rate is supported, set the camera to the requested value.
347 // Do not configure the camera.
348 // Use the current frame rate value setting from the camera
356 " Someone else is using camera %p?", mCamera.get());
380 // if the camera hal does not support separate video and
453 * @param camera the camera object used for the video source
454 * @param cameraId if camera == 0, use camera with this id
458 * width and heigth settings by the camera
460 * if it is -1, use the current camera frame rate setting.
469 const sp<ICamera>& camera,
479 err = initWithCameraAccess(camera, proxy, cameraId,
487 const sp<ICamera>& camera,
496 if ((err = isCameraAvailable(camera, proxy, cameraId)) != OK) {
505 // Set the camera to use the requested video frame size
524 // applications may already set a surface to the camera.
545 // XXX: query camera for the stride and slice height
572 // camera and recording is started by the applications. The applications
573 // will connect to the camera in ICameraRecordingProxy::startRecording.
778 ALOGW("camera recording proxy is gone");
781 ALOGW("Timed out waiting for incoming camera video frames: %lld us",