OSDN Git Service

Add JPEG Orientation into N4 CaptureRequests
authorI-Jong Lin <ijonglin@google.com>
Thu, 5 Feb 2015 18:46:26 +0000 (10:46 -0800)
committerI-Jong Lin <ijonglin@google.com>
Tue, 10 Feb 2015 22:00:26 +0000 (14:00 -0800)
commitf68a39a0ad362ff0543e11e3f0ce11741a7de48c
tree0265e33718fa7a1adef5fc54a97ff5483e254c46
parent49ad739cea7758555940ba8dd1c4cbf9bf0eb55d
Add JPEG Orientation into N4 CaptureRequests

Wired up the SimpleOneCameraFactory to dynamically decorate
the JPEG capture request with the proper orientation so that
the framework does the proper orientation.

Paired with ag/629241.

Bug: 19122922
Change-Id: If206b0d18979ddc4ed9ab6df7ce4d22ba01534a8
src/com/android/camera/CaptureModule.java
src/com/android/camera/module/ModulesInfo.java
src/com/android/camera/one/v2/SimpleOneCameraFactory.java
src/com/android/camera/one/v2/imagesaver/JpegImageBackendImageSaver.java
src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
src/com/android/camera/one/v2/photo/ImageRotationCalculator.java
src/com/android/camera/one/v2/photo/ImageRotationCalculatorImpl.java
src/com/android/camera/processing/imagebackend/TaskCompressImageToJpeg.java