History log of /frameworks/base/core/java/android/hardware/camera2/DngCreator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec727411d2d97ba79d3e32edb304279af078377e 28-Sep-2016 Eino-Ville Talvala <etalvala@google.com> DngCreator: Do not cache timezone in static initializer

The static initializer for a pre-loaded framework class is run
no later than at zygote startup, which happens at device boot.

Which means that if the timezone later changes, DngCreator will use
an incorrect cached timezone until the next reboot. This is especially
evident in freshly wiped devices, where initial setup will typically
change the timezone.

Instead, read the timezone each time DngCreator is created, which is
also when we query the current time for constructing the timestamps.

Test: android.hardware.camera2.cts.DngCreatorTest#testSingleImageThumbnail
Bug: 31743060
Change-Id: I83a4eac762650e5f904f3b8fa779c094cef30562
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
3fc21ef78bb7b913a203394cbb870086696c8fa3 18-Sep-2016 Eino-Ville Talvala <etalvala@google.com> DngCreator: Fix calculation of date/time stamps

Converting the sensor timestamp to date/time requires checking
what the timebase of those timestamps is; getting it wrong will
create drift that increases with device uptime.

Test: android.hardware.camera2.cts.
DngCreatorTest#testSingleImageThumbnail
Bug: 30125412
Change-Id: Ia5db86012bc9e1c06463b8dc4434d3e063f62cf5
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
8069b1f252d6a1e1c469dfc733bdd0db5d69574f 03-Mar-2016 Eino-Ville Talvala <etalvala@google.com> DngCreator: Improve BlackLevel, fix thumbnail metadata

- Use new dynamic black level result key when available
- Write rational black level instead of integral value
- Fix incorrect thumbnail BitsPerSample metadata
- Fix incorrect date/time format string
- Fix unknown orientation

Test: dng_validate for captured DNGs is clean
Bug: 27452979
Bug: 25862995
Change-Id: I87b73f7a4f4ecc3cf6498c7db16df68dd0b0b43a
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
b8f4c6ab1e99a44a51af26dc522819bb833825ab 23-Jun-2015 Ruben Brunk <rubenbrunk@google.com> Update DngCreator to handle pre-correction dimens.

Bug: 20491394
Change-Id: I0cdf7cec104bcb5683139c81fc52c8a0a7d2365c
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
8b905578b54041f7d0b8dc04dd158d16d28262a1 15-May-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Add SDK annotations

- Annotate everything with @NonNull, @Nullable
- Annotate a few @IntRange
- Annotate a few @IntDef
- Most metadata enums probably canont be annotated usefully,
since get/set() are generic and the annotation system
can't yet manage that.
- Plus metadata annotations need to be auto-generated anyway
- Also add explicit null check to prepare's surface argument
- Also update docs of getCameraCharacteristics to match reality

Bug: 21029463
Change-Id: Ifd81b2a782e29ad069fe25c7db4a1fda73dabcd7
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
63662320aef7ef2f66d9f947fe048574aae7ea79 16-Mar-2015 Andreas Gampe <agampe@google.com> Frameworks/base: Force long computation

Ensure that an int-based computation is carried out as long.

Change-Id: I23b10a95600674e8a5a65c0ea349afdc6aa152ae
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
fdb2112bbc140aab869aac047454cd2f67809df1 03-Feb-2015 Lajos Molnar <lajos@google.com> camera2: limit flexYUV array size in DngCreator

corrected overread

Bug: 19211135
Change-Id: I373b84dd9e2dc6219a305bf2d0308119668fab2a
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
47e91f20952e5eb2290146ba6e33a694dd2e45e8 29-May-2014 Ruben Brunk <rubenbrunk@google.com> DNG: Implement remaining interface methods.

Bug: 15112503
Bug: 16206973
Bug: 15748139

- Adds remaining write methods.
- Adds GPS and description convenience methods.
- Unhides convenience methods.

Change-Id: I9535b21261027f6c06a041c1621de8f865a0ad32
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
8e783f7a5213b23b0a3c96773ff120b3dbf38f50 04-Jun-2014 Ruben Brunk <rubenbrunk@google.com> DNG: Hide unimplemented methods.

Bug: 15112503
Change-Id: I31187a92b610af68fb854a27a564abf7d0635478
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
b8df8e07d6fc530c82d21ca3199411e2e60975b1 03-Jun-2014 Ruben Brunk <rubenbrunk@google.com> DNG: Write out additional fields.

Bug: 15112503

Change-Id: Ib06d9a5e70e6e3d5063a95a7109538ef64f03334
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java
b6079005ed0631c3972ff427f56e12523ec214a7 22-May-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Move DngCreator to hardware/camera2.

Bug: 15091253
Change-Id: Ibe2ee376436e5c796e33c0b782ea68278589f2e6
/frameworks/base/core/java/android/hardware/camera2/DngCreator.java