commit | 610d7b80a30065d557c9ad04847eaf098c1fb075 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Feb 08 14:37:22 2022 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Wed Feb 09 23:47:05 2022 -0800 |
tree | 1e5a71b6ccfaf36e1c90afde731f89f6af7bcc61 | |
parent | 0fecd10b5c2408c54a7c14a43f278212def0ce73 [diff] [blame] |
Camera: Plumb through stream mirroring mode The stream mirroring mode is used to override the default flip for front facing camera. Test: Camera CTS Bug: 200309079 Change-Id: I161875ccf33267686d54ba3c1c94b597032bd4e8
diff --git a/services/camera/libcameraservice/device3/Camera3OutputStreamInterface.h b/services/camera/libcameraservice/device3/Camera3OutputStreamInterface.h index 49f9f62..e44e795 100644 --- a/services/camera/libcameraservice/device3/Camera3OutputStreamInterface.h +++ b/services/camera/libcameraservice/device3/Camera3OutputStreamInterface.h
@@ -34,7 +34,7 @@ * Set the transform on the output stream; one of the * HAL_TRANSFORM_* / NATIVE_WINDOW_TRANSFORM_* constants. */ - virtual status_t setTransform(int transform) = 0; + virtual status_t setTransform(int transform, bool mayChangeMirror) = 0; /** * Return if this output stream is for video encoding.