History log of /frameworks/base/media/jni/android_media_MediaCodec.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f2d0e40bf01fa133dd6b36f3716005d53fa9776c 09-Mar-2017 Ray Essick <essick@google.com> Integrate API Council feedback into Media Metrics APIs

Integrates the API Council's feedback into the Media Metrics
related APIs.
-- return types for the getMetrics() calls
-- definition of keys in the set of data that comes back

Bug: 35811992
Test: booted, CTS subset, checked dumpsys media.metrics output
Change-Id: Ib750f9631bd3453be3132760273ccfff0a891f88
/frameworks/base/media/jni/android_media_MediaCodec.h
d5927ae8833780395f8fc5070d0a0a4f8f668292 03-Jan-2017 Chong Zhang <chz@google.com> MediaCas: add framework APIs

Java API changes to support MediaCas framework.

Also add partial-frame related enums to MediaCodec,
MediaCodecInfo, and MediaExtractor as a way to indicate
a input frame contains partial data.

Test: basic test app and test plugin to execise the code path;
impelenting playback of CAS-secured MPEG2TS streams, including
a Widevine-based CAS plugin, locally modified ExoPlayer and
Android TV Tuner input.

bug: 22804304
Change-Id: Ia4ba1d4046f7588e42bfb21e726390457d2fc8e3
/frameworks/base/media/jni/android_media_MediaCodec.h
0e0fee1e3a04023c9ec122d3bd7da54e9565c3e7 26-Jan-2017 Ray Essick <essick@google.com> API access to mediametrics

provide SDK/API access to media metrics for user apps. This lets the
apps metrics data for their instances of player and codecs. Others
to come.

Bug: 34715803
Test: booted, invoked new APIs to verify desired results
Change-Id: Iaae6406aadef30adc893952961ac154a7c4c761d
/frameworks/base/media/jni/android_media_MediaCodec.h
a543ca6c05a52537814d9719ac55f44e3bc11e3c 03-Oct-2016 Colin Cross <ccross@android.com> Merge "Fix struct vs. class mismatch in forward definitions" am: 8f1011d584 am: 6d0b466935 am: 95311818f0
am: e9b5b70114

Change-Id: I80205377a19c45927a11fc14ab72c13a7479570b
08f5f1f03a4607c67058cb764a0a85be11a3d33d 01-Oct-2016 Colin Cross <ccross@android.com> Fix struct vs. class mismatch in forward definitions

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: Ib7227295e7b94c79cdc52e19c71be4066a11cedc
/frameworks/base/media/jni/android_media_MediaCodec.h
4273dd03a83fd5f9ba25f3b7c3a4add7bce7206c 27-Sep-2016 Wonsik Kim <wonsik@google.com> MediaCodec refactoring part 1-a: buffers become separate class

MediaCodecBuffer is meant to replace ABuffer and MediaBuffer in
communication between framework components. As the first step, replace
use of ABuffer in MediaCodec with MediaCodecBuffer, and adjust related
classes accordingly.

MediaCodec.getBuffer() and related APIs now returns MediaCodecBuffers;
thus change MediaCodec clients to use MediaCodecBuffer accordingly.

Test: manually tested for key use cases (Camera, YouTube and Play Movies)
Change-Id: Iba7ce131645e75ce5ddbf497fb793ab38b7f245b
/frameworks/base/media/jni/android_media_MediaCodec.h
d4ea5d3eb630476a43da2adb4ac518360bd64758 18-Dec-2015 Jeff Tinker <jtinker@google.com> Support AES-CBC sample encryption in MediaDrm

bug:23719082
Change-Id: I06eb39bd8ad9b55ea0da4011258cac62a8c21ae1
/frameworks/base/media/jni/android_media_MediaCodec.h
d8578577b02cf6360402eb8726e964d18b46434d 06-Jun-2015 Lajos Molnar <lajos@google.com> media: hook up OnFrameRenderedListener events to framework events

Bug: 20503131
Change-Id: Ife6d4862d14daf5b9659307af57417bd3532e8fe
/frameworks/base/media/jni/android_media_MediaCodec.h
9560ddb48af0e2da7743452f8d9d6d9cd34d8438 13-May-2015 Chong Zhang <chz@google.com> MediaCodec: rename usePersistentInputSurface to setInputSurface

bug: 21045402
Change-Id: I510a3a694367b8e5a21f4a4fa2a338031fed8991
/frameworks/base/media/jni/android_media_MediaCodec.h
4971de2a2efe448171b87471ad65e986c3608c21 02-May-2015 Lajos Molnar <lajos@google.com> Merge "media: hook up MediaCodec.setSurface" into mnc-dev
8034d60f6e044deafe48501dfbfe17c31284bc17 28-Apr-2015 Chong Zhang <chz@google.com> MediaCodec: implement persistent input surface APIs

Bug: 19127604
Bug: 19489395

Change-Id: If0d723c9ecd6fe81d9df210bd2fd026b8603ea4a
/frameworks/base/media/jni/android_media_MediaCodec.h
5e02ba977ede1e38c9f206057ec3f0f1e89ba943 02-May-2015 Lajos Molnar <lajos@google.com> media: hook up MediaCodec.setSurface

Bug: 11990461
Change-Id: Id2dc952594c21c6be68e4ffd039c7f74006a2374
/frameworks/base/media/jni/android_media_MediaCodec.h
5f9aa0bcea8be860fdf5a35476435616cb5f44f3 31-Jul-2014 Andy Hung <hunga@google.com> Update exception handling for MediaCodec

Throw MediaCodec.CodecException (versus IllegalStateException).
Print out status error codes as found (See MediaError.h for details).
Update error code mapping to CryptoException.

Bug: 12034929
Bug: 13976475
Change-Id: I23b951cb06807413f087c238a1d3526659f06e7b
/frameworks/base/media/jni/android_media_MediaCodec.h
7de28d34f1ca3a727a8325cf3304f2fe03d2ac59 25-Jul-2014 Lajos Molnar <lajos@google.com> Implement MediaCodec.getImage methods

Bug: 10706245
Change-Id: Icbac5538a27ffdb53d974e2e1f8dc5afe02fb391
/frameworks/base/media/jni/android_media_MediaCodec.h
1e6e8018a4f914210b615bfca0f818fd13574228 16-Jul-2014 Lajos Molnar <lajos@google.com> MediaCodec: add reset() + documentation fixes

Bug: 12034929
Change-Id: I38f89a2e4c41e0ceb3fdae4522b9c04f6c43a4f1
/frameworks/base/media/jni/android_media_MediaCodec.h
d4023114e8cf7ec7db4d07958a303699b658f2c0 12-Jul-2014 Lajos Molnar <lajos@google.com> MediaCodec: add new buffer and format APIs

Bug: 14562236
Bug: 14297827
Bug: 13008204
Bug: 10706245
Bug: 10672559
Bug: 9175531

Change-Id: Ia94d34f625e532619a9ed344eb27e0d26647982f
/frameworks/base/media/jni/android_media_MediaCodec.h
8d5e556b2b76278000a506382fdf594c071e1fbd 09-Jul-2014 Chong Zhang <chz@google.com> MediaCodec async callbacks

Bug: 11990118

Change-Id: I210d4302e1fd7e1a48d2228fd3f4f20c16b18a75
/frameworks/base/media/jni/android_media_MediaCodec.h
7c513b6bef8ed4dfc28e0af6c8594563fdb9f436 09-May-2014 Lajos Molnar <lajos@google.com> Added MediaCodec.releaseOutputBuffer() method with render timestamp

Bug: 11784827
Change-Id: I67097c8e69b40ef3baa436f0e7731d28c696735c
/frameworks/base/media/jni/android_media_MediaCodec.h
128b012cc8c2369136bb8450bc91c81aebe18506 02-Mar-2014 Chong Zhang <chz@google.com> fix MediaCodec release deadlock and resource leak

Bug: 12910147
Change-Id: I5f2c02b6ad5bfcd88797c6aa79dcaa23d030eacf
/frameworks/base/media/jni/android_media_MediaCodec.h
aba671392d6606e35726c350a28d0c9b36ebfe16 22-Oct-2013 Andreas Huber <andih@google.com> API that allows usage of MediaCodec APIs without polling.

Change-Id: Iebccdd3aec74a2cfa9ad0bf16c0c6006a3b72999
related-to-bug: 11990118
/frameworks/base/media/jni/android_media_MediaCodec.h
226065bbe60cf32b33a5f86d27e2db88138e4486 12-Aug-2013 Andreas Huber <andih@google.com> Expose MediaCodec.setParameters API to

- change video target bitrate on the fly
- request sync frames
- temporarily suspend feeding input buffers to the encoder

Change-Id: If5cf1162b2eeb28ac08288ecfa9f0e9823dd972e
/frameworks/base/media/jni/android_media_MediaCodec.h
2621e40d0e0a496a96575768b7e2b70e3b3be640 19-Feb-2013 Andy McFadden <fadden@android.com> Implement Surface input to MediaCodec.

Adds two new public methods to MediaCodec, and one new public
constant to MediaCodecInfo (currently @hidden).

Bug 7991062

Change-Id: I830a9794e92334ad05c870cc5fc90be4652147a5
/frameworks/base/media/jni/android_media_MediaCodec.h
52800617946c456e78ed010c82d0ec4358368164 15-Feb-2013 Mathias Agopian <mathias@google.com> Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
/frameworks/base/media/jni/android_media_MediaCodec.h
d47f7d8b5fe3a3861d7cbdc5f912235407823c8e 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

The C++ class names don't match what the classes do, so rename
ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to
GLConsumer.

Bug 7736700

Change-Id: I08e677faf2ebb418ef131d0a8008e01037db0e50
/frameworks/base/media/jni/android_media_MediaCodec.h
056ef2ed5ff92b742fe53f2498c596ec1f6bed3c 25-Sep-2012 Martin Storsjo <martin@martin.st> MediaCodec: Allow getting the chosen component name

Currently, when the codec was opened by createDecoder/EncoderByType,
the caller does not know what codec actually was chosen, and
(for encoders) thus cannot know what color formats it supports.

This adds new public API.

Change-Id: Ie471f40f8104b37d27ced3dba5a54facc6504b1b
/frameworks/base/media/jni/android_media_MediaCodec.h
b12a5390694e8525ac61d7377e266e31d124c815 30-Apr-2012 Andreas Huber <andih@google.com> New API to set the video rendering mode on a MediaCodec instance.

Change-Id: I6d765bb4cab7bcf29f09364293c24e8a6930078b
related-to-bug: 6364139
/frameworks/base/media/jni/android_media_MediaCodec.h
bfc56f497de0d18125366a02a93e61cdc0891be4 19-Apr-2012 Andreas Huber <andih@google.com> DRM errors signaled by the CryptoPlugin are now visible to MediaCodec clients

through a custom exception "MediaCodec.CryptoException".

Change-Id: I30215e9e13bab68abad23e27dcead7c1accd07f1
related-to-bug: 6365261
/frameworks/base/media/jni/android_media_MediaCodec.h
9e6bcce17d13bd4f7bba5f8fbcc2e6a0d695274b 06-Apr-2012 Andreas Huber <andih@google.com> New JAVA API to support submitting encrypted buffers of input data.

Change-Id: Ib0df9a9427b4580946179860495b26f743558597
related-to-bug: 6275919
/frameworks/base/media/jni/android_media_MediaCodec.h
8240d9239d9aabed75c49f9d4d69fd8a5fe4c899 04-Apr-2012 Andreas Huber <andih@google.com> New Crypto JAVA class to facilitate decryption via MediaCodec.

Change-Id: Ic4e395faa84f003793c2804f2badabab9e7f1034
related-to-bug: 6275919
/frameworks/base/media/jni/android_media_MediaCodec.h
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_MediaCodec.h