OSDN Git Service

Extract exif data from mp4 extractor if available
authorChong Zhang <chz@google.com>
Wed, 4 Apr 2018 20:35:59 +0000 (13:35 -0700)
committerChong Zhang <chz@google.com>
Thu, 5 Apr 2018 18:25:45 +0000 (11:25 -0700)
commit2cc0a2eca995b5f5d1ebe193a34f880439fb62ec
tree6cac7cc7b693ff26b53939dc0b495ce6661eae17
parent8303baf4d0b1e41f6a4eba41a6c49f4e04157ff7
Extract exif data from mp4 extractor if available

Query the extractor for the exif data offset and length,
if it's available, read the exif block from the file.
Otherwise, set image dimension and rotation only.

bug: 76149934

Change-Id: I85f24b526fb356a9227941e20807fc96369c8536
media/java/android/media/ExifInterface.java
media/java/android/media/MediaMetadataRetriever.java