History log of /frameworks/av/media/ndk/NdkMediaCodec.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00cc9920de386f711d0962ac7e3209af2b0d90d9 23-Nov-2017 Wei Jia <wjia@google.com> NdkMedia: add more API's in MediaCodec and MediaFormat

Add asynchronous mode in NdkMediaCodec, enrich NdkMediaFormat,
Test: MediaPlayer can playback streams, pass continuous media CTS tests
Bug: 69805888

Change-Id: Ida52f3c67588f96a007355b14eeb11deaab7089b
/frameworks/av/media/ndk/NdkMediaCodec.cpp
2c32f4d2e887178a83bfa3d2d2097b4581fb412e 07-Jul-2017 Manikanta Kanamarlapudi <kmanikan@codeaurora.org> NdkMediaCodec: add AMediaCodec_getBufferFormat

Add new AMediaCodec_getBufferFormat api to get
format of the buffer of specified index.

Change-Id: Ib5d6537b601dc8ce9c5c0096485637e0cf44a16a
/frameworks/av/media/ndk/NdkMediaCodec.cpp
7e8d4ba5887affda749978d787b898bf31fda729 05-May-2017 Colin Cross <ccross@android.com> Move libmediandk and libcamera2ndk headers

Move libmediandk and libcamera2ndk headers into their module
and export them from there. Also move them to the same path
relative to the export as used in the NDK, media/ for
libmediandk and camera/ for libcamera2ndk.

Test: builds
Change-Id: I0b424e0e48bfb5e2b762694a97d799de08f5dda3
/frameworks/av/media/ndk/NdkMediaCodec.cpp
af42d3f9c5fa1847b661a76bd888b480aedfe5a7 21-Mar-2017 Robert Shih <robertshih@google.com> NdkMediaCodec: add AMediaCodec_signalEndOfInputStream

Bug: 32746065
Change-Id: I20cdb02a93dfffdb2379db885f50738fb3a502d9
/frameworks/av/media/ndk/NdkMediaCodec.cpp
f373e84c798b113d274a4d89edfea8afb899d3e2 01-Feb-2017 Praveen Chavan <pchavan@codeaurora.org> NdkMediaCodec: implement setParameters to signal dynamic parameters

Add setParameters to communicate parameter changes when the codec
is in running state.

Bug: 32746065
Change-Id: I223041bebadedfb09848315a360b5efaae451c14
/frameworks/av/media/ndk/NdkMediaCodec.cpp
85a536331e3a18a41361fe326187508a3e9972da 31-Jan-2017 Praveen Chavan <pchavan@codeaurora.org> NdkMediaCodec: implement createPersistenInputSurface and setInputSurface

Expose createPersistentInputSurface() and setInputSurface via
NDK-mediaCodec to enable native encoder apps to record from a
persistent input surface.

Bug: 32746065
Change-Id: Ia152f43dacfe376a89c550ecbeaf6d4016ec07b5
/frameworks/av/media/ndk/NdkMediaCodec.cpp
19431587cec960606a8756fa2767bc4bce987318 16-Jan-2017 Praveen Chavan <pchavan@codeaurora.org> NdkMediaCodec: implement createInputSurface

Expose createInputSurface() via NDK-mediaCodec to enable native
encoder apps to record from an input surface.

Bug: 32746065
Change-Id: I654f2c0deadb336d492cdd6ba290e09c8996ce40
/frameworks/av/media/ndk/NdkMediaCodec.cpp
7e34bf5af26f8752d4786d3098740cdf51e2438f 22-Aug-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/av/media/ndk/NdkMediaCodec.cpp
47734c9509ecb472c2844cae46e2d916b9358321 02-May-2016 Chih-Hung Hsieh <chh@google.com> resolve merge conflicts of 98a9b2a to nyc-dev-plus-aosp

Change-Id: Iae0a5cb698807d74ba28878d7ce1f69b6ba5219a
090ef604f81447eab4aa0a5b45d6307482573560 27-Apr-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I625fbab25f16282c2ea929cd16283d9d146fa17b
/frameworks/av/media/ndk/NdkMediaCodec.cpp
4e1478032f28001dd944983a6da8f4bd59486c11 14-Mar-2016 Greg Kaiser <gkaiser@google.com> ndk: Avoid memory leak in failure case.

Bug:27760031, 27995615
Change-Id: I8cf7243a49ff9200408de8a4d4e69514ec02981a
/frameworks/av/media/ndk/NdkMediaCodec.cpp
214c833fcde68833691cc54d2a4cd995d7eb0e16 19-Feb-2016 Aurimas Liutikas <aurimas@google.com> Fix compiler warnings in frameworks/av/media/ndk.

Bug: 26936282
Change-Id: I86b32ef5a7e6b18974cbe4a885291acec2b2eb5f
/frameworks/av/media/ndk/NdkMediaCodec.cpp
8c35da50221e6d87e49c13ad2f058f265b3b29c4 09-Jan-2016 Vineeta Srivastava <vsrivastava@google.com> NdkMediaCodec: Implement setOutputSurface

Change-Id: I9b493b4ff423685b67ee4292396b4388bb53a8da
/frameworks/av/media/ndk/NdkMediaCodec.cpp
18cb1eca504817b5b144a023ae2792d90e74c9a5 18-Dec-2015 Jeff Tinker <jtinker@google.com> Support AES-CBC sample encryption in MediaDrm

bug:23719082
Change-Id: I3028452f315122b65296881aed1fbf66c3ceeebc
/frameworks/av/media/ndk/NdkMediaCodec.cpp
6bb63addf65905dcc4d5f0461559142a716f6fbb 29-Apr-2015 Andy Hung <hunga@google.com> NdkMediaCodec: Return NULL if the MediaCodec cannot be created

Bug: 20566134
Change-Id: Idb09bc47a02aed03e97aa81f303ed95ebaa2f5ba
/frameworks/av/media/ndk/NdkMediaCodec.cpp
3f27436a9346f043f52265da1e6a74cde2bffd4d 05-Mar-2015 Lajos Molnar <lajos@google.com> stagefright: don't use ALooperRoster mutex for reply handling

Change replyID-s from uint32_t to an object
Move reply handling into the loopers (to reuse a common mutex)

Bug: 19607784
Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
/frameworks/av/media/ndk/NdkMediaCodec.cpp
1d15ab58bf8239069ef343de6cb21aabf3ef7d78 05-Mar-2015 Lajos Molnar <lajos@google.com> media: switch to new AMessage handling

Bug: 19607784
Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
/frameworks/av/media/ndk/NdkMediaCodec.cpp
b187de1ada34a9023c05d020a4592686ba761278 30-Dec-2014 Glenn Kasten <gkasten@google.com> Line length 100

Change-Id: I6c8fe626a3825fa9e139319656d682a57b887c97
/frameworks/av/media/ndk/NdkMediaCodec.cpp
98f28cde0d5d682956b5e6b119823e7e8d40415b 19-Jun-2014 Mark Salyzyn <salyzyn@google.com> ndk: 64-bit compile warnings

Change-Id: I214973a97547bf714e56e4596359cb2bd9cdea9c
/frameworks/av/media/ndk/NdkMediaCodec.cpp
c7a11b2208aa8f1e6a39eb70a136fbc0dafd3260 30-May-2014 Marco Nelissen <marcone@google.com> Disable verbose logging

Change-Id: If9c87615707ed67f209258f9207d56f671cd0f08
/frameworks/av/media/ndk/NdkMediaCodec.cpp
e22a64b6887240fc9910d6fc8afb0e6f81507047 24-May-2014 Marco Nelissen <marcone@google.com> Remove codec callback for now.

Change-Id: I7ef3c1fc7aa1bfec958e6ea58bf95ae35a575e91
/frameworks/av/media/ndk/NdkMediaCodec.cpp
79e2b622702fb148ccff12d6f38643466555c4eb 16-May-2014 Marco Nelissen <marcone@google.com> Add docs, releaseOutputBufferAtTime, seekTo.

Change-Id: Iadd231b63e75b7937c13d2ebfef47aedeaeef5a1
/frameworks/av/media/ndk/NdkMediaCodec.cpp
e419d7cd5c62b4b5866a45d59c5770bb470193c1 15-May-2014 Marco Nelissen <marcone@google.com> Unify error/status codes

Change-Id: Ib90cc2f2adc07ff146256931c92c0ec4becb86f5
/frameworks/av/media/ndk/NdkMediaCodec.cpp
3425fd5a55dd31e261d2f2a9590c762d6d0a6b79 14-May-2014 Marco Nelissen <marcone@google.com> Only export necessary symbols

Change-Id: I869d7124c8cc555f4b09801a898f4dd3ecb072ec
/frameworks/av/media/ndk/NdkMediaCodec.cpp
829e097f832b4c4c41733f9b77121888204d993e 14-May-2014 Marco Nelissen <marcone@google.com> Fix typos and pointer math.

Change-Id: I07f33a57454d013844b56bc3e57fe0a271e8b38c
/frameworks/av/media/ndk/NdkMediaCodec.cpp
050eb3280d7305b84f723d515be2dc9606dc39d1 10-May-2014 Marco Nelissen <marcone@google.com> Some crypto stuff, error codes

Add crypto/drm related functions, define some media errors
instead of using magic numbers in the code.

Change-Id: I5924cba0bfcdb3623073c9182a646b70f4ead5a5
/frameworks/av/media/ndk/NdkMediaCodec.cpp
cdb42cdc5ccb785edabe1ee6407134fbae5662a9 08-May-2014 Marco Nelissen <marcone@google.com> Add AMediaCodec callback

Change-Id: I33b7ff3bcdcff6d3a5e1db385b900ae18b7e0f03
/frameworks/av/media/ndk/NdkMediaCodec.cpp
86aa02ce274826dc80ffa00766b16172c47503fd 08-May-2014 Marco Nelissen <marcone@google.com> Make AMediaCodec_create* APIs more like their Java counterparts

and add configure flags.

Change-Id: Ibfb7f8cad724fa1db2320966828104d40b5e6590
/frameworks/av/media/ndk/NdkMediaCodec.cpp
08aaabe87960c04ecac180db1fe88b5a7bc2ed3b 07-May-2014 Marco Nelissen <marcone@google.com> Add NDK version of MediaMuxer

and add some constness here and there.

Change-Id: Ib3caa8310691e8f27aaa1afcfaec0b384513d4f1
/frameworks/av/media/ndk/NdkMediaCodec.cpp
0c3be875376adaee8d8e8dd917c64926e1513b29 01-May-2014 Marco Nelissen <marcone@google.com> WIP: MediaCodec and friends NDK APIs, plain C version

Change-Id: I9ed6b9c5afb026a1b5fe8b652e75635bbcc223df
/frameworks/av/media/ndk/NdkMediaCodec.cpp