aboutsummaryrefslogtreecommitdiffstats
path: root/7_hardware-compatibility/7_5_cameras.md
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2017-06-28 13:04:21 -0700
committerEino-Ville Talvala <etalvala@google.com>2017-06-28 13:04:21 -0700
commitd272263db45713f111821be3bd99b1da2695f22f (patch)
tree25da666852da2cf60d2c9a0d2712573a0690c2e7 /7_hardware-compatibility/7_5_cameras.md
parent50f9376665126e64837c87cefae325e010cd02cf (diff)
downloadplatform_compatibility_cdd-d272263db45713f111821be3bd99b1da2695f22f.tar.gz
platform_compatibility_cdd-d272263db45713f111821be3bd99b1da2695f22f.tar.bz2
platform_compatibility_cdd-d272263db45713f111821be3bd99b1da2695f22f.zip
CDD: Require that both camera APIs have equivalent performance
Test: Looked at markdown output Bug: 63107660 Change-Id: I769dce3bf0679dee3a24537ac1abfc48dac567eb
Diffstat (limited to '7_hardware-compatibility/7_5_cameras.md')
-rw-r--r--7_hardware-compatibility/7_5_cameras.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/7_hardware-compatibility/7_5_cameras.md b/7_hardware-compatibility/7_5_cameras.md
index 6da85035..2b43aa46 100644
--- a/7_hardware-compatibility/7_5_cameras.md
+++ b/7_hardware-compatibility/7_5_cameras.md
@@ -97,6 +97,14 @@ Android 5.0 but as it should still be available for apps to use Android device
implementations MUST ensure the continued support of the API as described in
this section and in the Android SDK.
+All features that are common between the deprecated android.hardware.Camera class
+and the newer android.hardware.camera2 package MUST have equivalent performance
+and quality in both APIs. For example, with equivalent settings,
+autofocus speed and accuracy must be identical, and the quality of captured images
+must be the same. Features that depend on the different semantics of the two APIs
+are not required to have matching speed or quality, but SHOULD match as closely
+as possible.
+
Device implementations MUST implement the following behaviors for the
camera-related APIs, for all available cameras:
@@ -147,7 +155,7 @@ level of support with the
property as described in the Android SDK and report the appropriate
[framework feature flags](http://source.android.com/devices/camera/versioning.html).
-Device implementations MUST also declare its Individual camera capabilities of
+Device implementations MUST also declare its individual camera capabilities of
android.hardware.camera2 via the android.request.availableCapabilities property
and declare the appropriate [feature flags](http://source.android.com/devices/camera/versioning.html);
a device must define the feature flag if any of its attached camera devices