summaryrefslogtreecommitdiffstats
path: root/include/hardware
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2014-05-23 04:00:26 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-23 04:00:26 +0000
commit0677eae8d83c28d3102f94082c0cc16412528e97 (patch)
tree762509f37f024cf3c49b090e05b32754db69eaa7 /include/hardware
parent73b8a7414afa5ee3f006468f287695d9c2054d76 (diff)
parentf1ee67e1ea6d55e4621bbd418c15fdc1aac32a84 (diff)
downloadhardware_libhardware-0677eae8d83c28d3102f94082c0cc16412528e97.zip
hardware_libhardware-0677eae8d83c28d3102f94082c0cc16412528e97.tar.gz
hardware_libhardware-0677eae8d83c28d3102f94082c0cc16412528e97.tar.bz2
am f1ee67e1: camera3: Update the HAL spec for raw cropping behavior
* commit 'f1ee67e1ea6d55e4621bbd418c15fdc1aac32a84': camera3: Update the HAL spec for raw cropping behavior
Diffstat (limited to 'include/hardware')
-rw-r--r--include/hardware/camera3.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 6623dc7..b326e92 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -891,7 +891,12 @@
* view it is receiving based on the crop region, the dimensions of the image
* sensor, and the lens focal length.
*
- * Since the crop region applies to all streams, which may have different aspect
+ * It is assumed that the cropping is applied after raw to other color space
+ * conversion. Raw streams (RAW16 and RAW_OPAQUE) don't have this conversion stage,
+ * and are not croppable. Therefore, the crop region must be ignored by the HAL
+ * for raw streams.
+ *
+ * Since the crop region applies to all non-raw streams, which may have different aspect
* ratios than the crop region, the exact sensor region used for each stream may
* be smaller than the crop region. Specifically, each stream should maintain
* square pixels and its aspect ratio by minimally further cropping the defined