History log of /frameworks/base/media/jni/android_media_Utils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cad166686787a494b6689b8adb013e016adfcd90 16-Jun-2016 Yujie Qin <yujieqin@google.com> Report error correctly for the implementation of
StreamInterface::GetData()

Bug: 28889197
Change-Id: Id07755e1b3637f85b6176a59935ad3a5597cfb05
/frameworks/base/media/jni/android_media_Utils.cpp
2584cda885964370f612a2b9251f7d6cf9ebf29a 07-May-2016 Sungsoo Lim <sungsoo@google.com> ExifInterface: Set mPosition in AssetStream with proper values

Bug: 28649955
Change-Id: I25ab833f54e4ee853d3b89af513b4ecd7dc02df9
/frameworks/base/media/jni/android_media_Utils.cpp
bd4acc2f9b64b2694d3dd3d77a5758c91b565f3c 15-Mar-2016 Lajos Molnar <lajos@google.com> Merge "media: don't expose private keys in MediaFormat" into nyc-dev
7b7909025276dc9c78afb68c84a77f2ee5456b4d 15-Mar-2016 Yin-Chia Yeh <yinchiayeh@google.com> Camera: fix expectation of BLOB buffer size

Bug: 27340302
Change-Id: I7f40065661d06bba210c3cb888598623fad0e56c
/frameworks/base/media/jni/android_media_Utils.cpp
c04399feab8e51531975a4b404327511b094bbf6 10-Mar-2016 Lajos Molnar <lajos@google.com> media: don't expose private keys in MediaFormat

Bug: 25684127
Change-Id: Ie263d290037633291b791ca78ba7cf4d6b3de9c8
/frameworks/base/media/jni/android_media_Utils.cpp
6e08d2b082acfc773907733f2ddab4e9b60616e1 25-Feb-2016 Jaesung Chung <jaesung@google.com> ExifInterface: add RAW input stream support

And also the following things are included:

- Remove mInputStream.
- Update javadoc accordingly.

Bug: 11224701
Change-Id: I30b4c29ac800ae396fca8f6b2c2c0f68028a44b3
/frameworks/base/media/jni/android_media_Utils.cpp
0ab416269a866c8afa8f65d9351afa2407abee4c 26-Feb-2016 Zhijun He <zhijunhe@google.com> ImageReader/Writer: refactor and cleanup

Below changes are included:
* Defer the buffer lock to Image#getPlanes call. This will save quite a bit
CPU cycles associated with lock buffer if the application doesn't really
want to access the data.
* Refactor the code: move some common code to some utility class, and use
one unified consumer (BufferItemConsumer) in ImageReader native implementation.
The code refactoring will also make it easier to support non-opaque image
attach/detach.

Bug: 22356918
Bug: 19962027
Change-Id: I4fb865b0ea3deb6650afc64c32a5906f30e8ccbd
/frameworks/base/media/jni/android_media_Utils.cpp
15ef59e081846b43660635391d536361c3253a22 25-Feb-2016 Jaesung Chung <jaesung@google.com> Revert "Revert "ExifInterface: switch from using jhead to java implementation""

This reverts commit 3c233ee291cfe1b765184920b6b7a69cb1bb82d9.

Bug: 27349581
Change-Id: Ib9f687e79ec36692fa7505ba3852099eb3e44573
/frameworks/base/media/jni/android_media_Utils.cpp
3c233ee291cfe1b765184920b6b7a69cb1bb82d9 25-Feb-2016 Sungsoo Lim <sungsoo@google.com> Revert "ExifInterface: switch from using jhead to java implementation"

This reverts commit bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6.

Change-Id: Id278e831a9c03f615208fd6eab51c65f7bb019eb
/frameworks/base/media/jni/android_media_Utils.cpp
bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6 17-Feb-2016 Jaesung Chung <jaesung@google.com> ExifInterface: switch from using jhead to java implementation

Bug: 26044456, Bug: 11224701
Change-Id: I881ef0ead24bcec76c0fa5a7dd0b74cc71c77285
/frameworks/base/media/jni/android_media_Utils.cpp
8f7a8f1eba590f4a0bb21988fc2a876dcb72dccd 28-Jan-2016 Anton Daubert <adaubert@google.com> Fix the initialize of PreviewImageData to its default values.

Bug: 26762780, 26837999
Change-Id: Ifc268beb84903576b8c82681fddf2f51ffc4a2ec
/frameworks/base/media/jni/android_media_Utils.cpp
d4c505c9b4d5b0e743301e3f385895efdb9785d4 27-Jan-2016 Jaesung Chung <jaesung@google.com> Fix build

Change-Id: I91e10406da341e226180b14dd2446cadbdab5684
/frameworks/base/media/jni/android_media_Utils.cpp
8409c0691fb128fef6244305977342776bddf919 19-Jan-2016 Jaesung Chung <jaesung@google.com> Enable reading a thumbnail from RAW image files in MtpDatabase

Also introduce new supported RAW image file formats, PEF and SRW.

RAW image file formats are not defined in PTP 1.2 specification except
for DNG. They are mostly built on top of TIFF or TIFF/EP. (Fuji's RAF
is the exception).

In this CL, image file formats are classified newly as below:

DNG: dng
TIFF: cr2, nrw, arw, rw2, orf, pef, srw
TIFF/EP: nef
Unknown Image Formats(FORMAT_DEFINED): wbmap, webp, raf

I referred to the following documents for defining MTP formats of RAW
images:

* http://www.rags-int-inc.com/PhotoTechStuff/RawStandards/RawSummary.html
* https://en.wikipedia.org/wiki/Raw_image_format

Bug: 26552863, Bug: 26626825
Change-Id: Ia218f6320c4c1ff051a23ca0060ceac46134b0d7
/frameworks/base/media/jni/android_media_Utils.cpp
f953ca2ec8e418d54ab7d4585302db22964bcb70 04-Feb-2015 Elliott Hughes <enh@google.com> Fix build.

Change-Id: Ic14b6de7e7e58ce42ae4cc5ca945e4896e3b7b8f
/frameworks/base/media/jni/android_media_Utils.cpp
5a15d0d31b877ef512b3379eac033c6bb041c86a 11-Nov-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Wall Werror in media/jni

Turn on -Wall -Werror in media/jni. Fix warnings.

Change-Id: I9da54ad379d8172ee535b52ee2b0637a2533f4e3
/frameworks/base/media/jni/android_media_Utils.cpp
8d5f3e31c914e29129f50fe9830d71adf52ab5cf 12-Aug-2013 Andreas Huber <andih@google.com> Manage jclass objects (and most jobjects) in jni code using ScopedLocalRef

for safer refcounting. Previously jclass objects were not DeleteLocalRef'ed
at all, leading us to exhaust the local ref pool quickly in certain
circumstances.

This change also makes sure we properly serialize int64_t entries when
converting from AMessage to HashMap and boosts thread priority for
java-instantiated MediaCodecs slightly from NORMAL to FOREGROUND.

Change-Id: I4ebdd8a5ca6b3442698c9f86fcc31af8c199aaf5
/frameworks/base/media/jni/android_media_Utils.cpp
b842599e51e2d3611503c3c7db1111358f99186d 10-May-2012 Andreas Huber <andih@google.com> Make sure crop rect information is visible from java.

Change-Id: Ib914de3d42349efcd7af301d43bec82a21d24ce5
related-to-bug: 6471684
/frameworks/base/media/jni/android_media_Utils.cpp
07ea426e3ae8915ca6bf67135f523f42cd920af0 11-Apr-2012 Andreas Huber <andih@google.com> Unhide new media related java APIs.

Change-Id: If0b8201eaca74f51f3499b6ecdfb73088586ee24
/frameworks/base/media/jni/android_media_Utils.cpp
9b8e496f4d143280deff137c5f30ca8907bc28db 26-Mar-2012 Andreas Huber <andih@google.com> Provisional support for secure decryption of media streams.

Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
/frameworks/base/media/jni/android_media_Utils.cpp
5c850396b39a57baabd37a9c0c8324f1bee408ca 21-Feb-2012 Andreas Huber <andih@google.com> Add new APIs AMessage::(set|find)Buffer to make it safer to pass

ABuffer objects through messages.

Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
/frameworks/base/media/jni/android_media_Utils.cpp
88572f7a3e9d7ef85c26865a0150f3c2041561c2 21-Feb-2012 Andreas Huber <andih@google.com> Implementation of a java media codec interface and associated tools.

Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
/frameworks/base/media/jni/android_media_Utils.cpp
3762c311729fe9f3af085c14c5c1fb471d994c03 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/base/media/jni/android_media_Utils.cpp
79f407cc6c5ae34fc6f04d52fd034b49d1f002c4 05-May-2011 James Dong <jdong@google.com> Refactor to share code between MediaPlayer and MediaMetadataRetriever JNI

Change-Id: Ib847213f566dee79126d7c14d00750a9a8dedeb9
/frameworks/base/media/jni/android_media_Utils.cpp