diff options
author | Emilian Peev <epeev@google.com> | 2021-09-23 13:21:52 -0700 |
---|---|---|
committer | Emilian Peev <epeev@google.com> | 2021-09-23 13:22:32 -0700 |
commit | b233caa56d770ea242ae57f430eb3c8941f57f3a (patch) | |
tree | 3e35e2e3a746efa658019d690a4e3e6be43e0f42 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a1fb4fce8dc8bfe8d1a7b79b82c729be5623634d (diff) |
Camera: Switch the jpeg orientation when using the native encoder
The native Jpeg encoder expects rotation in counter
clockwise direction. However according to the Camera2 specification
clients need to pass the Jpeg rotation in clockwise direction.
Flip the client rotation value before passing to the Jpeg encoder.
Bug: 200890552
Test: Manual using sample application,
atest -c
cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java
Change-Id: Ib70a8f5b5165d8319d89c2ed4b7509929c2faa71
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions