af9b87de97356722370d11d2c5797d75cb43969e |
29-Nov-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 5553055 support video only format change in MP2TS Allow command data when enqueueing a format change command. Support format change where the application signals that the change is for the video stream only. Consider any other change or format change command with invalid data as a full format change. Change-Id: I6c684eab36a51dded7e3d7e72b8effe13dac6cc8
penMAXAL_Android.h
|
c3b82a293ed06001ba6d50f111608160c6065ef2 |
18-Sep-2011 |
Glenn Kasten <gkasten@google.com> |
Final revisions for NDK API level 14 Rename ANDROID_MIME_MP2TS to XA_ANDROID_MIME_MP2TS and ANDROID_MIME_AACADTS to SL_ANDROID_MIME_AACADTS and make public. ANDROID_MIME_AACADTS_ANDROID_FRAMEWORK remains private. Change-Id: Ie2cda273b6adb2db453aad188b28e64147f9e6b0
penMAXAL_Android.h
|
60ca9f9ef02f6e486c3338cb811f603dd7825c05 |
29-Aug-2011 |
Glenn Kasten <gkasten@google.com> |
Rename Android buffer queue GUID for future sink This change will make it easier to have Android buffer queue as a sink in the future. For backwards source code compatibility with beta developers, retain the old name temporarily. As soon as they have switched to the new name, we will remove the old name. Details: - rename XA_IID_ANDROIDBUFFERQUEUE to XA_IID_ANDROIDBUFFERQUEUESOURCE - rename SL_IID_ANDROIDBUFFERQUEUE to SL_IID_ANDROIDBUFFERQUEUESOURCE - rename MPH_ANDROIDBUFFERQUEUE to MPH_ANDROIDBUFFERQUEUESOURCE - did not rename the data locators and interface struct, as they can be shared across both source and sink - did not rename the member field mAndroidBufferQueue in CAudioPlayer / CMediaPlayer as that would be a huge change; can do that later if necessary - the SINK definition will be added later when needed Change-Id: I36dc01050efb99d4d7802b2ca2b870f4d978ee21
penMAXAL_Android.h
|
23fc68ef3d6b7c5e6ceaf530fc9522c109f3a43e |
18-Aug-2011 |
Glenn Kasten <gkasten@google.com> |
Use XA instead of SL in type cast Change-Id: Icc8d678484f454860b32d8823d4a274d3d14d991
penMAXAL_Android.h
|
6f0f5640d190b0187c356eb53bd96d9f9e49da60 |
25-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 5022500 MP2TS format change support in OpenMAX AL Define new command that can be queued in AndroidBufferQueue to signal an MP2TS format change. This command maps directly to IStreamListener::kKeyFormatChange. Change-Id: I67908fd9e1a7d994862ea3e41c4c0fb6e36bc804
penMAXAL_Android.h
|
6e7e174807fc639c49125ced8962aa369370fbf0 |
13-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Implement XAVideoDecoderCapabilitiesItf Add support for the OpenMAX AL XAVideoDecoderCapabilitiesItf engine interface. Implement the Android support of this interface in VideoCodec_to_android.*. This functionality relies on OMXCodec::QueryCodecs() feature, and does only expose hardware codec capabilities (see full note in VideoCodec_to_android.h). Add sample code to list the platform's video decoders and their profile / level combinations. Change-Id: Iff6a42542c1db67ca1dcf539449ca96aa5944f6d
penMAXAL_Android.h
|
e31a69fcbe27894a597176d05a08e04c06092021 |
13-Apr-2011 |
Glenn Kasten <gkasten@google.com> |
Fix various bugs found with unit tests ISeek::SetLoop was returning undefined status. Khronos Bug 7614 - sizeof(long) != 32 bits on x86_64. Fix bug in IID hashing due to the above. Fix bug in GenericMediaPlayer::onLoop; was using mPlayer without checking for NULL. Fix wrong API level in tests/sandbox/object.c. Decrease log level from I to V in MediaPlayerNotificationClient::notify and GenericPlayer::~GenericPlayer. Fix memory leak in tests/sandbox/engine.c. Comment out overly verbose log in tests/sandbox/streamSource/slesTestPlayStream.cpp. Change-Id: I322fa9e19ee95ea1e18870a20f6a3c03b8f21208
penMAXAL_Platform.h
|
e9236d046fdb5cac0696c42e03443a2439188146 |
16-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 clean logs, PTS should be unsigned - Don't pollute logs. - Save MPEG-2 PTS as an unsigned 64bit value, negative values are invalid. Change-Id: I51d427789dd1e42219a63c68159f2e28628f0448
penMAXAL_Android.h
|
1c853a41d9d9886e60618a7c878ce3912f46bf3c |
15-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 callback mask for TS streaming - declare a "buffer event" item key and the event mask matching the OpenSL ES 1.1 buffer queue event mask - added a buffer state field in AdvancedBufferHeader to keep track of the lifecycle of a buffer in the queue - in StreamPlayer, store a constant to be sent as the item each time a buffer is dequeued because it's been processed - fix bug in playStream test app where after clearing the queue, the data was read to the last dequeued buffer address, rather than at the beginning of the cache. Change-Id: I07141c8a913dfedeb9fde41d80afbce794ab7379
penMAXAL_Android.h
|
37dc2fccf3f122b79ebd554de209d0a3c94ae161 |
09-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 Implement streamInformation and volume in OpenMAX AL - Implement StreamInformation for video size notification. - Implement the XAVolumeItf for volume control - Fix bug in GUID -> MPH hash. - Fixed typo in GenericPlayer::pause() log - Do not signal a discontinuity automatically when the ABQ is cleared because clearing the queue doesn't imply there will be a discontinuity in the data (e.g. the same data that was cleared could be reenqueued) - In "native-media" test app: add test code to exercise the XAVolumeItf functionality. Change-Id: I9f69f8cacbdce51b6d96d60141ec1d0f645df991
penMAXAL_Android.h
|
e7bfcdc183454ec959ff51342f0973cabba219b2 |
08-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 Implement Clear() and GetState() for MPEG-2 TS - implemented Clear() in AndroidBufferQueue - declared and implemented GetState() in AndroidBufferQueue - fixed typo in AudioPlayer_to_android.cpp that cause a "case" to be compiled as a label (no unused label warning from compiler) - more test in sandbox/streamSource Change-Id: If4eede16430cda943224bf950669cc105ac2f894
penMAXAL_Android.h
|
70c49ae2867094072a4365423417ea452bf82231 |
07-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 support commands in SLAndroidBufferQueueItf Support for EOS, DISCONTINUITY, and DISCONTINUITY with a PTS. - in IAndroidBufferQueue structure, added buffer type - modified AdvancedBufferHeader structure to have a buffer type-specific structure that contains all the items for each buffer - added parsing of items when enqueueing a buffer - enforce buffer size enqueue to be a multiple of MPEG-2 TS block size for buffer of the corresponding types - when enqueueing a buffer on an empty queue, implemented an asynchronous notification on StreamPlayer to consume the newly queued buffer. Verified this kicks off playback after having starved the framework for buffers. - report unknown duration when using AndroidBufferQueue Change-Id: I9bde97a6c6ffca7d376b4963313b820b35f50a26
penMAXAL_Android.h
|
ad1ab1d13a9b043202b9d5cdc1d8c4ef66cbbca8 |
05-Mar-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3329759 Surface texture as video sink XA_DATALOCATOR_NATIVEDISPLAY now allows either a Surface or SurfaceTexture together with a JNIEnv *. Miscellaneous fixes: - Clarify test button labels. - Line length 100. - Fix typos in XA_DATALOCATOR_ANDROIDFD and XA_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE. Change-Id: I3f3c604dfda3cf66ef7d7adc8689564a83623b2f
penMAXAL_Android.h
|
d158d31a6bbb06426b71c3d097b7768bc3fb79a3 |
04-Mar-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 3329759 TS streaming over SLAndroidBufferQueueItf Modify the SLAndroidBufferQueueItf interface to offer a model where buffers of data can be queued along with commands (messages) when used for playback, or buffers of data can be received along with metadata (messages) changes: - new callback and enqueue functions in SLAndroidBufferQueueItf and XAAndroidBufferQueueItf. - definition of a new struct, AdvancedBufferHeader, for the buffers in the queue. - decoupling of the "buffer available to be filled" from SF and the call to the ABQ callback. Implemented in new file AndroidBufferQueueSource.cpp - source/sink checks and memory allocation when creating an AudioPlayer or MediaPlayer that uses SLAndroidBufferQueueItf, and verifying the data fed to the ABQ is declared as SL_CONTAINERTYPE_MPEG_TS - updated tests/native-media XA demo code, and tests/sandbox/streamSource to use the new interface. Change-Id: I48e44f346e718041d835fde51e349923fcc1f4b1
penMAXAL_Android.h
|
97876858aa17c7f24c6a1d60be09a57bc1824ba3 |
11-Jan-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
OpenMAX AL: support URI and FD as data sources for MediaPlayer Add ANDROIDFD as a data locator in OpenMAX AL Implement playback of URI and FD in the LocAVPlayer class, that inherits from AVPlayer Fix bug where Android MediaPlayer resources were not destroyed when the MediaPlayer object was destroyed. Share URI and FD internal type definitions between SL and AL Change-Id: I01d0d170baea4961f09b44339c99a79feba4620d
penMAXAL_Android.h
|
d1fc9c0e89a9d2fd40ba4c48927a47b30ade637d |
09-Jan-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
OpenMAX AL: declare the XAAndroidSimpleBufferQueueItf interface. Identical to the SLAndroidSimpleBufferQueueItf interface, with OpenMAX AL types. Change-Id: Iefc4f9ffc72f85f543f258d7906367cfedfb9e0b
penMAXAL_Android.h
|
ebc8fd365b402e498d499fa8737a7591c290347c |
16-Dec-2010 |
Glenn Kasten <gkasten@google.com> |
Clean up the API macros SL_API and XA_API declare a symbol to be exported by .so. SLAPIENTRY and XAAPIENTRY are for calling conventions, and are currently unused. Also unified the 64-bit int types between SL and XA. Remove obsolete symlinks. Change-Id: I248f624f3e974f130c62cfc27ce9ad8eb40c0b56
penMAXAL_Android.h
penMAXAL_Platform.h
|
0e47a0657162bbff48886ea2f5c68d9edb607768 |
14-Dec-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
OpenMAX AL: set video display surface from video sink Initialize the media player's video surface with the surface pointer obtained from the Java Surface. Added notes on parts of the interface that will change, and are currently in place for the sample code to run, before the upcoming video initialization changes. Change-Id: Id606f4bca68d227fa9df863922b880e865f845d5
penMAXAL_Android.h
|
eae4df541ba1d46f65d37e959baf2127aa632c93 |
10-Dec-2010 |
Jean-Michel Trivi <jmtrivi@google.com> |
Start support for XAAndroidBufferQueueItf in OpenMAX AL Added an Android OpenMAX AL header for the Android interfaces Registered the AndroidBufferQueueItf as an explicit interface on MediaPlayer. Updated the Java+Native example to register a callback from which OpenMAX AL can retrieve the data to play Started unifying the player object used by OpenMAX AL and OpenSL ES so they use a common class. Change-Id: I73cec8c802f74767545c91278e5e73c8c7995218
penMAXAL.h
penMAXAL_Android.h
penMAXAL_Platform.h
|
8db0b106cdce5f5216b1535492de7930ad738aed |
29-Nov-2010 |
Glenn Kasten <gkasten@google.com> |
Continued work on OpenMAX AL engine APIs Added xaCreateEngine as synonym for slCreateEngine, but not yet reference counted to share same object with slCreateEngine. Added the beginnings of a XA_IID_ENGINE engine interface but still needs more work. Added simple xa test app. New extension: ANDROID_SDK_LEVEL_10 (not NDK per digit). Split up sles.c: - Move data source, sink, locator, format code to data.c - Move global entry points to entry.c - Collect all engine-related code into CEngine.c - Collect all device-related code into devices.c Change-Id: I9fdeed1e29f698869f409014a39401999ac84e5f
penMAXAL.h
penMAXAL_Platform.h
|