|
|
|
@ -2453,9 +2453,6 @@ typedef enum acamera_metadata_tag {
|
|
|
|
|
*
|
|
|
|
|
* <p>Different calibration methods and use cases can produce better or worse results
|
|
|
|
|
* depending on the selected coordinate origin.</p>
|
|
|
|
|
* <p>For devices designed to support the MOTION_TRACKING capability, the GYROSCOPE origin
|
|
|
|
|
* makes device calibration and later usage by applications combining camera and gyroscope
|
|
|
|
|
* information together simpler.</p>
|
|
|
|
|
*/
|
|
|
|
|
ACAMERA_LENS_POSE_REFERENCE = // byte (acamera_metadata_enum_android_lens_pose_reference_t)
|
|
|
|
|
ACAMERA_LENS_START + 12,
|
|
|
|
@ -4565,7 +4562,7 @@ typedef enum acamera_metadata_tag {
|
|
|
|
|
ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE = // byte (acamera_metadata_enum_android_statistics_lens_shading_map_mode_t)
|
|
|
|
|
ACAMERA_STATISTICS_START + 16,
|
|
|
|
|
/**
|
|
|
|
|
* <p>Whether the camera device outputs the OIS data in output
|
|
|
|
|
* <p>A control for selecting whether OIS position information is included in output
|
|
|
|
|
* result metadata.</p>
|
|
|
|
|
*
|
|
|
|
|
* <p>Type: byte (acamera_metadata_enum_android_statistics_ois_data_mode_t)</p>
|
|
|
|
@ -4578,7 +4575,7 @@ typedef enum acamera_metadata_tag {
|
|
|
|
|
*
|
|
|
|
|
* <p>When set to ON,
|
|
|
|
|
* ACAMERA_STATISTICS_OIS_TIMESTAMPS, android.statistics.oisShiftPixelX,
|
|
|
|
|
* android.statistics.oisShiftPixelY will provide OIS data in the output result metadata.</p>
|
|
|
|
|
* and android.statistics.oisShiftPixelY provide OIS data in the output result metadata.</p>
|
|
|
|
|
*
|
|
|
|
|
* @see ACAMERA_STATISTICS_OIS_TIMESTAMPS
|
|
|
|
|
*/
|
|
|
|
@ -6601,7 +6598,7 @@ typedef enum acamera_metadata_enum_acamera_lens_pose_reference {
|
|
|
|
|
/**
|
|
|
|
|
* <p>The value of ACAMERA_LENS_POSE_TRANSLATION is relative to the optical center of
|
|
|
|
|
* the largest camera device facing the same direction as this camera.</p>
|
|
|
|
|
* <p>This default value for API levels before Android P.</p>
|
|
|
|
|
* <p>This is the default value for API levels before Android P.</p>
|
|
|
|
|
*
|
|
|
|
|
* @see ACAMERA_LENS_POSE_TRANSLATION
|
|
|
|
|
*/
|
|
|
|
@ -6610,7 +6607,6 @@ typedef enum acamera_metadata_enum_acamera_lens_pose_reference {
|
|
|
|
|
/**
|
|
|
|
|
* <p>The value of ACAMERA_LENS_POSE_TRANSLATION is relative to the position of the
|
|
|
|
|
* primary gyroscope of this Android device.</p>
|
|
|
|
|
* <p>This is the value reported by all devices that support the MOTION_TRACKING capability.</p>
|
|
|
|
|
*
|
|
|
|
|
* @see ACAMERA_LENS_POSE_TRANSLATION
|
|
|
|
|
*/
|
|
|
|
@ -6974,46 +6970,12 @@ typedef enum acamera_metadata_enum_acamera_request_available_capabilities {
|
|
|
|
|
ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT = 8,
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>The device supports controls and metadata required for accurate motion tracking for
|
|
|
|
|
* use cases such as augmented reality, electronic image stabilization, and so on.</p>
|
|
|
|
|
* <p>This means this camera device has accurate optical calibration and timestamps relative
|
|
|
|
|
* to the inertial sensors.</p>
|
|
|
|
|
* <p>This capability requires the camera device to support the following:</p>
|
|
|
|
|
* <ul>
|
|
|
|
|
* <li>Capture request templates <a href="https://developer.android.com/reference/android/hardware/camera2/CameraDevice.html#TEMPLATE_MOTION_TRACKING_PREVIEW">CameraDevice#TEMPLATE_MOTION_TRACKING_PREVIEW</a> and <a href="https://developer.android.com/reference/android/hardware/camera2/CameraDevice.html#TEMPLATE_MOTION_TRACKING_BEST">CameraDevice#TEMPLATE_MOTION_TRACKING_BEST</a> are defined.</li>
|
|
|
|
|
* <li>The stream configurations listed in <a href="https://developer.android.com/reference/android/hardware/camera2/CameraDevice.html#createCaptureSession">CameraDevice#createCaptureSession</a> for MOTION_TRACKING are
|
|
|
|
|
* supported, either at 30 or 60fps maximum frame rate.</li>
|
|
|
|
|
* <li>The following camera characteristics and capture result metadata are provided:<ul>
|
|
|
|
|
* <li>ACAMERA_LENS_INTRINSIC_CALIBRATION</li>
|
|
|
|
|
* <li>ACAMERA_LENS_RADIAL_DISTORTION</li>
|
|
|
|
|
* <li>ACAMERA_LENS_POSE_ROTATION</li>
|
|
|
|
|
* <li>ACAMERA_LENS_POSE_TRANSLATION</li>
|
|
|
|
|
* <li>ACAMERA_LENS_POSE_REFERENCE with value GYROSCOPE</li>
|
|
|
|
|
* </ul>
|
|
|
|
|
* </li>
|
|
|
|
|
* <li>The ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE field has value <code>REALTIME</code>. When compared to
|
|
|
|
|
* timestamps from the device's gyroscopes, the clock difference for events occuring at
|
|
|
|
|
* the same actual time instant will be less than 1 ms.</li>
|
|
|
|
|
* <li>The value of the ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW field is accurate to within 1 ms.</li>
|
|
|
|
|
* <li>The value of ACAMERA_SENSOR_EXPOSURE_TIME is guaranteed to be available in the
|
|
|
|
|
* capture result.</li>
|
|
|
|
|
* <li>The ACAMERA_CONTROL_CAPTURE_INTENT control supports MOTION_TRACKING to limit maximum
|
|
|
|
|
* exposure to 20 milliseconds.</li>
|
|
|
|
|
* <li>The stream configurations required for MOTION_TRACKING (listed at <a href="https://developer.android.com/reference/android/hardware/camera2/CameraDevice.html#createCaptureSession">CameraDevice#createCaptureSession</a>) can operate at least at
|
|
|
|
|
* 30fps; optionally, they can operate at 60fps, and '[60, 60]' is listed in
|
|
|
|
|
* ACAMERA_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES.</li>
|
|
|
|
|
* </ul>
|
|
|
|
|
* <p>The camera device supports the MOTION_TRACKING value for
|
|
|
|
|
* ACAMERA_CONTROL_CAPTURE_INTENT, which limits maximum exposure time to 20 ms.</p>
|
|
|
|
|
* <p>This limits the motion blur of capture images, resulting in better image tracking
|
|
|
|
|
* results for use cases such as image stabilization or augmented reality.</p>
|
|
|
|
|
*
|
|
|
|
|
* @see ACAMERA_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES
|
|
|
|
|
* @see ACAMERA_CONTROL_CAPTURE_INTENT
|
|
|
|
|
* @see ACAMERA_LENS_INTRINSIC_CALIBRATION
|
|
|
|
|
* @see ACAMERA_LENS_POSE_REFERENCE
|
|
|
|
|
* @see ACAMERA_LENS_POSE_ROTATION
|
|
|
|
|
* @see ACAMERA_LENS_POSE_TRANSLATION
|
|
|
|
|
* @see ACAMERA_LENS_RADIAL_DISTORTION
|
|
|
|
|
* @see ACAMERA_SENSOR_EXPOSURE_TIME
|
|
|
|
|
* @see ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE
|
|
|
|
|
* @see ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW
|
|
|
|
|
*/
|
|
|
|
|
ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MOTION_TRACKING = 10,
|
|
|
|
|
|
|
|
|
|