Loading
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