summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-11 00:23:02 -0800
committerAndreas Gampe <agampe@google.com>2014-11-11 00:23:02 -0800
commit2377cd319f8a77f147f3d70a7ddc75fa9e9fe87c (patch)
tree0723e5e616028778edbb748f6fb286f2637e8f3c
parent71f83672f297b116988defbe989869e5744cda5e (diff)
downloadframeworks_base-2377cd319f8a77f147f3d70a7ddc75fa9e9fe87c.zip
frameworks_base-2377cd319f8a77f147f3d70a7ddc75fa9e9fe87c.tar.gz
frameworks_base-2377cd319f8a77f147f3d70a7ddc75fa9e9fe87c.tar.bz2
Frameworks/base: Right transform in DngCreator
Use the right calibrationTransform. Change-Id: Ibc633ff1e02d1e48a27ae2a72585d3de2222a2c1
-rw-r--r--core/jni/android_hardware_camera2_DngCreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_hardware_camera2_DngCreator.cpp b/core/jni/android_hardware_camera2_DngCreator.cpp
index 31c7b9f..533313a 100644
--- a/core/jni/android_hardware_camera2_DngCreator.cpp
+++ b/core/jni/android_hardware_camera2_DngCreator.cpp
@@ -1278,7 +1278,7 @@ static void DngCreator_init(JNIEnv* env, jobject thiz, jobject characteristicsPt
}
BAIL_IF_INVALID(writer->addEntry(TAG_CAMERACALIBRATION2, entry2.count,
- calibrationTransform1, TIFF_IFD_0), env, TAG_CAMERACALIBRATION2, writer);
+ calibrationTransform2, TIFF_IFD_0), env, TAG_CAMERACALIBRATION2, writer);
}
}