OSDN Git Service

ExifInterface: Refactor custom input stream class
authorJin Park <jinpark@google.com>
Thu, 18 Aug 2016 09:24:36 +0000 (18:24 +0900)
committerJin Park <jinpark@google.com>
Fri, 19 Aug 2016 06:47:28 +0000 (15:47 +0900)
commit0c1640aeb49175ab45306ac7a325c9ac9a602c5d
tree4350e0d493310d46e84c5930f7b0a6af93cf007d
parent70528f5b6c211f8a8bcde95923a5b1398e7eefd9
ExifInterface: Refactor custom input stream class

ExifInterface uses a class named ByteOrderAwarenessDataInputStream
to handle LITTLE_ENDIAN byte-ordered data. This class can only be
initialized with a byte array, which is inefficient for large RAW
files. This CL adds support for initializing with an input stream.

Bug: 30749097
Change-Id: I4e95fb2157115c571ed24ec3746a3c6db752bbdc
media/java/android/media/ExifInterface.java