summaryrefslogtreecommitdiffstats
path: root/media/jni
Commit message (Collapse)AuthorAgeFilesLines
* Remove dependency of libvideoeditor_jni.so on static libs from video editor ↵James Dong2012-05-161-16/+10
| | | | | | | | engine related-to-bug: 6502980 Change-Id: I77aa67dac73ecb6200cfc885c426c23d70929e5d
* Revert "Remove dependency of libvideoeditor_jni.so on static libs from video ↵James Dong2012-05-151-10/+16
| | | | | | editor engine" This reverts commit cbaa821b7f286a54767cc8bc549504ea2ed86e4d.
* Remove dependency of libvideoeditor_jni.so on static libs from video editor ↵James Dong2012-05-151-16/+10
| | | | | | | | engine related-to-bug: 6328360 Change-Id: Ifc9ffc671f454135db31590805c38f9635e5c815
* Merge "Improve notifying TimedText by reducing marshall/unmarshalling." into ↵James Dong2012-05-111-8/+14
|\ | | | | | | jb-dev
| * Improve notifying TimedText by reducing marshall/unmarshalling.Insun Kang2012-05-091-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | o Removes mParcel from TimedText class. o Converts native parcel into java parcel object directly without copying to an intermediate byte array. o JNIMediaPlayerListener::notify checks for Java exceptions, logs them, and clears the exception state. related-to-bug: 6405934 Change-Id: I8b82d3cd5b9b3ef8cad27e805202a0e445a88a45
* | Make sure crop rect information is visible from java.Andreas Huber2012-05-101-0/+48
| | | | | | | | | | Change-Id: Ib914de3d42349efcd7af301d43bec82a21d24ce5 related-to-bug: 6471684
* | Remove SEEK_CLOSEST constant from MediaExtractor, its implementation makes noAndreas Huber2012-05-091-1/+1
|/ | | | | | | sense for the java API. Change-Id: I3f2eabb5ca5ffb6c1f03141bfd303310111e8774 related-to-bug: 6276111
* Return codec buffers that are marked as having host endianness.Andreas Huber2012-05-081-0/+27
| | | | | Change-Id: Iedfd829d108e65ee368909af14ace68b63e0e168 related-to-bug: 6364139
* Various changes to Media* APIs requested by the api council.Andreas Huber2012-05-034-19/+19
| | | | | Change-Id: Iec2f50c99cf5f00a442737231361334e9ab46340 related-to-bug: 6432753
* New API to set the video rendering mode on a MediaCodec instance.Andreas Huber2012-04-302-2/+40
| | | | | Change-Id: I6d765bb4cab7bcf29f09364293c24e8a6930078b related-to-bug: 6364139
* The MediaExtractor can now unselect tracks and has more control over seeking.Andreas Huber2012-04-262-6/+39
| | | | | Change-Id: I12c28bf31fe9fb4057352999fa38213ae289a417 related-to-bug: 6276111
* am b4781b9b: am ea8ceca8: am 90577af7: Merge "use utf8_length() instead of ↵Dianne Hackborn2012-04-241-48/+5
|\ | | | | | | | | | | | | local function, isValidUtf8()" * commit 'b4781b9b489bc8b0049e1e92b7ab00e32b02b12c': use utf8_length() instead of local function, isValidUtf8()
| * use utf8_length() instead of local function, isValidUtf8()Homin Lee2012-04-131-48/+5
| | | | | | | | | | | | | | | | | | utf8_length() from libutils returns -1 when source not contains valid sequence for UTF-8. Fixed to use it and removed the local function isValidUtf8(). Change-Id: If2834ce1d1ae07fd8526ce8bc5df3fd3f44e85c8 Signed-off-by: Homin Lee <suapapa@insignal.co.kr>
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-1913-174/+174
| | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
| * Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)Steve Block2012-01-195-10/+10
| | | | | | | | Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
| * Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)Steve Block2012-01-192-2/+2
| | | | | | | | Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
| * Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)Steve Block2012-01-191-3/+3
| | | | | | | | Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
| * Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)Steve Block2012-01-1911-232/+232
| | | | | | | | Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
* | Add the ability to query the amount of cached data to MediaExtractor.Andreas Huber2012-04-202-0/+48
| | | | | | | | | | Change-Id: I47ae60bc6fb8d88979c1f0d650b6ac528e811371 related-to-bug: 6364341
* | DRM errors signaled by the CryptoPlugin are now visible to MediaCodec clientsAndreas Huber2012-04-192-11/+50
| | | | | | | | | | | | | | through a custom exception "MediaCodec.CryptoException". Change-Id: I30215e9e13bab68abad23e27dcead7c1accd07f1 related-to-bug: 6365261
* | Merge "Add support for scaling mode parameter in Visualizer effect"Jean-Michel Trivi2012-04-191-0/+23
|\ \
| * | Add support for scaling mode parameter in Visualizer effectJean-Michel Trivi2012-04-171-0/+23
| | | | | | | | | | | | | | | | | | | | | Add set/get methods to set how the Visualizer scales the captured data. Change-Id: Ia1da00fd5474dd3484b59caf7d1d0a812d0347de
* | | Fix a typo and choose a reasonable default for crypto-mode (0 would be ↵Andreas Huber2012-04-181-2/+3
| | | | | | | | | | | | | | | | | | | | | unencrypted) Change-Id: Ia46a7d7dd405bd569f319a64e43123d802c867d3 related-to-bug: 6275919
* | | Information required to decrypt buffers is now packaged into ↵Andreas Huber2012-04-183-8/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | MediaCodec.CryptoInfo New API on MediaExtractor to retrieve a CryptoInfo structure where applicable. Change-Id: I18edfc9ac56a4544c8f17cba24401b96dacbff7d related-to-bug: 6275919
* | | Make seekTo not throw exceptions.Andreas Huber2012-04-171-6/+1
| | | | | | | | | | | | | | | Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737 related-to-bug: 6276111
* | | MediaCrypto's constructor can throw RuntimeException.Andreas Huber2012-04-171-1/+1
| | | | | | | | | | | | | | | Change-Id: I5718e9abab0d1465882580e826747d6a78bdefb5 related-to-bug: 6275919
* | | Unhide new media related java APIs.Andreas Huber2012-04-168-42/+130
|/ / | | | | | | Change-Id: If0b8201eaca74f51f3499b6ecdfb73088586ee24
* | Merge "Fix failure from setDataSource(String path) when path is a local file"James Dong2012-04-121-8/+0
|\ \
| * | Fix failure from setDataSource(String path) when path is a local fileJames Dong2012-04-121-8/+0
| | | | | | | | | | | | | | | | | | | | | o the failure was because the mediaserver does not have read permission to sdcard o related-to-bug: 6325960,6322913 Change-Id: I4feec01b8165c78563eee8aab69cb24df3244d03
* | | Fix thumbnail generation failureJames Dong2012-04-111-9/+0
|/ / | | | | | | | | | | | | | | | | | | o Change the impl of MediaMetadataRetriever.setDataSource(String). It opens and passes an fd to the media framework rather than pass the file path directly to the media server. The change is needed since media server does not have read permission to sdcard o Remove the unnecessary jni method Change-Id: I5a2f47dde804523d264b588f855ba2575a99c179
* | New JAVA API to support submitting encrypted buffers of input data.Andreas Huber2012-04-062-0/+149
| | | | | | | | | | Change-Id: Ib0df9a9427b4580946179860495b26f743558597 related-to-bug: 6275919
* | New Crypto JAVA class to facilitate decryption via MediaCodec.Andreas Huber2012-04-046-3/+371
| | | | | | | | | | Change-Id: Ic4e395faa84f003793c2804f2badabab9e7f1034 related-to-bug: 6275919
* | More DRM/crypto support.Andreas Huber2012-04-031-2/+3
| | | | | | | | | | related-to-bug: 6275919 Change-Id: I9179c03f1f91f939afcb3b1c6514a200bf586c93
* | New API to query available codecs and their capabilities.Andreas Huber2012-04-023-0/+197
| | | | | | | | Change-Id: I448ba443a96d8fee2bc9179750d57362ed31d9d9
* | frameworks base Android.mk file changesJames Dong2012-03-283-10/+7
| | | | | | | | Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
* | Merge "Provisional support for secure decryption of media streams."Andreas Huber2012-03-263-1/+31
|\ \
| * | Provisional support for secure decryption of media streams.Andreas Huber2012-03-263-1/+31
| | | | | | | | | | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
* | | Merge "reorganize SoundPool and JetPlayer code."Eric Laurent2012-03-266-1331/+5
|\ \ \ | |/ / |/| |
| * | reorganize SoundPool and JetPlayer code.Eric Laurent2012-03-266-1331/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reorganize SoundPool and JetPlayer code to be ready for the creation of libmedia_native. Split SoundPool between libsoundpool (JNI) and libmedia(sound pool implementation). Remove dependencies on nativehelper/jni.h from JetPlayer. Change-Id: I130c6014173b714329929dd82c5dfb70b757a610
* | | VideoEditorMain.h is moved to /frameworks/av/libvideoeditor and thus can be ↵James Dong2012-03-241-77/+0
|/ / | | | | | | | | | | | | | | | | deleted. o this is to resolve undesirable dependency of /frameworks/av/libvideoeditor on /frameworks/base/media/jni o related-to-bug: 6214141 Change-Id: I62d08a7789ecb34d35cd22d2e6f68c3510c9bd90
* | Change Android.mk file to use the new location after ↵James Dong2012-03-221-6/+6
| | | | | | | | | | | | | | | | /frameworks/media/libvideoeditor source files are moved o related-to-bug: 6214141 Change-Id: Ic9f07a8558e944237ccaba4f756fcab59f84e78f
* | Add libmedia_nativeGlenn Kasten2012-03-163-2/+5
| | | | | | | | Change-Id: Ib8cff8abd73723b793f08da99ad59549f219e0e7
* | Remove dependency on audio_* locationGlenn Kasten2012-03-141-1/+1
| | | | | | | | Change-Id: I4bc66115fcb9ba22b057bd72db3f561dcb18a0d8
* | Merge "Gapless playback, step 1."Marco Nelissen2012-03-131-0/+28
|\ \
| * | Gapless playback, step 1.Marco Nelissen2012-03-131-0/+28
| | | | | | | | | | | | | | | | | | | | | Currently able to play Ogg Vorbis, PCM WAV and other lossless files seamlessly by reusing the initial AudioTrack for subsequent players. Change-Id: Ie7cf6b9076bdf4f9211574456d192c02c04fecc7
* | | Switched to use the header files in /frameworks/nativeJames Dong2012-03-122-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
* | | Merge "Removed the include header path since it is not needed."James Dong2012-03-121-1/+0
|\ \ \
| * | | Removed the include header path since it is not needed.James Dong2012-03-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | o related-to-bug: 6044894 Change-Id: I15aec441dc0c75804aa33fc3e7ef977f7490922d
* | | | Documentation/API update for MediaCodec/MediaExtractor, fixes to MediaCodec.Andreas Huber2012-03-122-5/+32
|/ / / | | | | | | | | | | | | | | | and MediaExtractor.readSampleData now works with a non-direct byte buffer. Change-Id: Ifbe5c152d9550c34d3b1d493e12a223eb98e8b4e
* | | Use audio_policy_output_flags_t consistentlyGlenn Kasten2012-03-091-2/+3
|/ / | | | | | | | | | | | | | | | | | | This affects: - IAudioFlinger::openOutput - AudioTrack::AudioTrack - AudioTrack::set - apps that call these Change-Id: I26fb281bac6cb87593d17697bc9cb37a835af205