aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2017-09-07 15:32:02 -0700
committerVikas Marwaha <vikasmarwaha@google.com>2017-10-16 21:30:27 +0000
commit93f4989c6b60ce38f1dae5dfad26c1024dcfb30b (patch)
treeed0fb17d107b4912a006d0fa3a5da97722f1ef34
parent74e5c4fbc506c9c9aedcf66bd418b13712320159 (diff)
downloadplatform_compatibility_cdd-93f4989c6b60ce38f1dae5dfad26c1024dcfb30b.tar.gz
platform_compatibility_cdd-93f4989c6b60ce38f1dae5dfad26c1024dcfb30b.tar.bz2
platform_compatibility_cdd-93f4989c6b60ce38f1dae5dfad26c1024dcfb30b.zip
CDD: Only require YUV888 and Jpeg format for devices that declare
REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE capability The requirement is relaxed to allow depth cameras. Test: preview in markdown editor Bug: 64526351 Change-Id: I714e4adf0ccadbf9edaadc73a9733e992d758663
-rw-r--r--7_hardware-compatibility/7_5_cameras.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/7_hardware-compatibility/7_5_cameras.md b/7_hardware-compatibility/7_5_cameras.md
index d0593d4d..49913aac 100644
--- a/7_hardware-compatibility/7_5_cameras.md
+++ b/7_hardware-compatibility/7_5_cameras.md
@@ -134,7 +134,11 @@ video encoder and camera may use any native pixel format, but the device
implementation MUST support conversion to YV12.)
* [C-0-4] MUST support the `android.hardware.ImageFormat.YUV_420_888` and
`android.hardware.ImageFormat.JPEG` formats as outputs through the
-`android.media.ImageReader` API for `android.hardware.camera2`.
+`android.media.ImageReader` API for `android.hardware.camera2` devices that
+advertise [`REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE`](
+https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE)
+ capability in [`android.request.availableCapabilities`](
+ https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics.html#REQUEST_AVAILABLE_CAPABILITIES).
* [C-0-5] MUST still implement the full [Camera API](
http://developer.android.com/reference/android/hardware/Camera.html)
included in the Android SDK documentation, regardless of whether the device