Home | History | Annotate | Download | only in ndk

Lines Matching refs:device

49  * ACameraDevice is opaque type that provides access to a camera device.
58 * The camera device is in use already.
70 * The camera is disabled due to a device policy, and cannot be opened.
75 * The camera device has encountered a fatal error.
76 * <p>The camera device needs to be re-opened to be used again.</p>
82 * <p>The Android device may need to be shut down and restarted to restore
92 * Camera device state callbacks to be used in {@link ACameraDevice_stateCallbacks}.
96 * @param device The {@link ACameraDevice} that is being disconnected.
98 typedef void (*ACameraDevice_StateCallback)(void* context, ACameraDevice* device);
101 * Camera device error state callbacks to be used in {@link ACameraDevice_stateCallbacks}.
105 * @param device The {@link ACameraDevice} that is being disconnected.
115 typedef void (*ACameraDevice_ErrorStateCallback)(void* context, ACameraDevice* device, int error);
122 * The function is called when a camera device is no longer available for use.
127 * of a removable camera device; or the camera being needed for a
138 * The function called when a camera device has encountered a serious error.
140 * <p>This indicates a failure of the camera device or camera service in some way.
164 * {@link ACameraCaptureSession_capture} is complete. Once the method returns, the camera device
165 * will be removed from memory and access to the closed camera device pointer will cause a crash.</p>
167 * @param device the camera device to be closed
171 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if device is NULL.</li></ul>
173 camera_status_t ACameraDevice_close(ACameraDevice* device);
176 * Return the camera id associated with this camera device.
178 * @param device the camera device to be closed
181 * delete/free by the application. Also the returned string must not be used after the device
184 const char* ACameraDevice_getId(const ACameraDevice* device);
259 * <p>The settings are chosen to be the best options for this camera device,
260 * so it is not recommended to reuse the same request for a different camera device.</p>
262 * @param device the camera device of interest
270 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if device or request is NULL, templateId
271 * is undefined or camera device does not support requested template.
273 * <li>{@link ACAMERA_ERROR_CAMERA_DISCONNECTED} if the camera device is closed.</li>
274 * <li>{@link ACAMERA_ERROR_CAMERA_DEVICE} if the camera device encounters fatal error.</li>
285 const ACameraDevice* device, ACameraDevice_request_template templateId,
382 * to the camera device.
389 * the camera device for each capture request. A given request may use all
411 * be rounded to the nearest supported size less than 1080p, by the camera device.</li>
422 * smallest supported size less than 1080p, by the camera device.</li>
461 * size less than 1080p by the camera device.
466 * <p>The camera device will query each ANativeWindow's size and formats upon this
481 * output rate from the device.</p>
487 * a single output stream is configured, a given camera device may not be able to support all
490 * given the capabilities of the camera device.</p>
495 * but the camera device won't meet the frame rate guarantees as described in
507 * device's screen resolution, or to 1080p `(1920x1080)`, whichever is
508 * smaller. `RECORD` refers to the camera device's maximum supported recording resolution,
511 * camera device's maximum output resolution for that format or target from
635 * <p>Since the capabilities of camera devices vary greatly, a given camera device may support
639 * @param device the camera device of interest.
648 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if any of device, outputs, callbacks or
650 * <li>{@link ACAMERA_ERROR_CAMERA_DISCONNECTED} if the camera device is closed.</li>
651 * <li>{@link ACAMERA_ERROR_CAMERA_DEVICE} if the camera device encounters fatal error.</li>
656 ACameraDevice* device,