summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2015-03-12 15:09:27 -0700
committerZhijun He <zhijunhe@google.com>2015-03-23 19:51:32 -0700
commit15a5a06e7ce0ad04ea49ad7bb5226d5e98560145 (patch)
treee9d50cf3f43410056c517aa9bc99cab87c9d7f88 /include
parent1f29217b2a44bcb105d662eb3872ef38c2d53e27 (diff)
downloadhardware_libhardware-15a5a06e7ce0ad04ea49ad7bb5226d5e98560145.zip
hardware_libhardware-15a5a06e7ce0ad04ea49ad7bb5226d5e98560145.tar.gz
hardware_libhardware-15a5a06e7ce0ad04ea49ad7bb5226d5e98560145.tar.bz2
Camera: Fix tests per camera service interface change
Also clarify rotation field has no meaning and will always be 0 for a input stream. Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
Diffstat (limited to 'include')
-rw-r--r--include/hardware/camera3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 284c78b..fd3a45d 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -1540,7 +1540,9 @@ typedef struct camera3_stream {
* with stream width and height. For example, if the rotation is 90 degree
* and the stream width and height is 720 and 1280 respectively, camera service
* will supply buffers of size 720x1280, and HAL should capture a 1280x720 image
- * and rotate the image by 90 degree counterclockwise.
+ * and rotate the image by 90 degree counterclockwise. The rotation field is
+ * no-op when the stream type is input. Camera HAL must ignore the rotation
+ * field for an input stream.
*
* <= CAMERA_DEVICE_API_VERSION_3_2:
*