OSDN Git Service

android-x86/system-media.git
12 years agoMerge "Implement XAPlayItf::GetPosition on MediaPlayer"
Jean-Michel Trivi [Tue, 12 Jul 2011 16:56:05 +0000 (09:56 -0700)]
Merge "Implement XAPlayItf::GetPosition on MediaPlayer"

12 years agoImplement XAPlayItf::GetPosition on MediaPlayer
Jean-Michel Trivi [Tue, 12 Jul 2011 01:11:58 +0000 (18:11 -0700)]
Implement XAPlayItf::GetPosition on MediaPlayer

The play interface was only in place for routing calls to an
 AudioPlayer in OpenSL ES, not in OpenMAX AL for a MediaPlayer.

Change-Id: Icf514be428396264252874faf1060c76ddee9545

12 years agoMerge "Defer SL_PLAYEVENT_HEADATEND to avoid deadlock"
Glenn Kasten [Mon, 11 Jul 2011 23:11:30 +0000 (16:11 -0700)]
Merge "Defer SL_PLAYEVENT_HEADATEND to avoid deadlock"

12 years agoMerge "ThreadPool callbacks provide more parameters"
Glenn Kasten [Mon, 11 Jul 2011 23:09:26 +0000 (16:09 -0700)]
Merge "ThreadPool callbacks provide more parameters"

12 years agoMerge "Add --always-on option for effects tests"
Glenn Kasten [Mon, 11 Jul 2011 23:08:47 +0000 (16:08 -0700)]
Merge "Add --always-on option for effects tests"

12 years agoAdded audio pre processing headers
Eric Laurent [Tue, 5 Jul 2011 18:20:26 +0000 (11:20 -0700)]
Added audio pre processing headers

Added headers for AGC, AEC and NS audio pre processing APIs.

Change-Id: Ie0053e2e6276b0d97dc76450bfef62b6eff8f3dd

12 years agoDefer SL_PLAYEVENT_HEADATEND to avoid deadlock
Glenn Kasten [Sun, 10 Jul 2011 18:02:43 +0000 (11:02 -0700)]
Defer SL_PLAYEVENT_HEADATEND to avoid deadlock

This is a first example, and if it works well then will
be implemented for other appropriate callbacks also.

Change-Id: Ieeab6b3498c74305e19a9d9c8ff497eff22243aa

12 years agoThreadPool callbacks provide more parameters
Glenn Kasten [Sun, 10 Jul 2011 17:59:19 +0000 (10:59 -0700)]
ThreadPool callbacks provide more parameters

Now allows up to two void * and two int parameters.

This will be needed by deferred application-level callbacks

Change-Id: Ie388169439b2e3ab95d053007bcdc674b875fa67

12 years agoMerge "Moving Contexts out of Filters and other bugfixes."
Marius Renn [Sun, 10 Jul 2011 21:40:06 +0000 (14:40 -0700)]
Merge "Moving Contexts out of Filters and other bugfixes."

12 years agoAdd --always-on option for effects tests
Glenn Kasten [Sun, 10 Jul 2011 19:07:32 +0000 (12:07 -0700)]
Add --always-on option for effects tests

This will be used for CPU load measurements.
Also fix bug in duration calculation for reverb test.

Change-Id: Ia2f91fa7c3e564047378341d31e3f4bfcace5f98

12 years agoMerge "Enable ThreadPool for Android"
Glenn Kasten [Sun, 10 Jul 2011 20:41:00 +0000 (13:41 -0700)]
Merge "Enable ThreadPool for Android"

12 years agoMerge "Add --always-on option for bass boost test"
Glenn Kasten [Sun, 10 Jul 2011 19:55:58 +0000 (12:55 -0700)]
Merge "Add --always-on option for bass boost test"

12 years agoAdd --always-on option for bass boost test
Glenn Kasten [Sun, 10 Jul 2011 18:40:25 +0000 (11:40 -0700)]
Add --always-on option for bass boost test

This will be used for CPU load measurements

Change-Id: Ib8b15bd31d8fa5672ec69c6d2595e4590a700d53

12 years agoMerge "Implement GetPosition for players playing from a URI/FD"
Jean-Michel Trivi [Sun, 10 Jul 2011 18:05:00 +0000 (11:05 -0700)]
Merge "Implement GetPosition for players playing from a URI/FD"

12 years agoEnable ThreadPool for Android
Glenn Kasten [Sun, 10 Jul 2011 18:01:59 +0000 (11:01 -0700)]
Enable ThreadPool for Android

Change-Id: I7a836dbbd671ecd8ce363c48940b84a0a6c18dca

12 years agoImplement GetPosition for players playing from a URI/FD
Jean-Michel Trivi [Thu, 7 Jul 2011 22:45:26 +0000 (15:45 -0700)]
Implement GetPosition for players playing from a URI/FD

AudioPlayer (OpenSL ES) and MediaPlayer (OpenMAX AL) that play
 media from a URI or FD are implemented on top of an Android
 MediaPlayer. This CL implements requesting the current position
 from the underlying MediaPlayer object inside the event loop.
 At this stage, GetPosition cannot be called from inside a
 callback as the callback is made on the same thread that will
 process the asynchronous part of the GetPosition implementation.
Add test app for GetPosition.

Change-Id: Ife768bc40e37fc60cc19f6ba84bbe6cb06cc6590

12 years agoMerge "Make it build again on non-Android"
Glenn Kasten [Fri, 8 Jul 2011 15:54:21 +0000 (08:54 -0700)]
Merge "Make it build again on non-Android"

12 years agoMoving Contexts out of Filters and other bugfixes.
Marius Renn [Fri, 8 Jul 2011 01:26:21 +0000 (18:26 -0700)]
Moving Contexts out of Filters and other bugfixes.

Change-Id: I14ba6c5e9702d8a5629db1119fefbd7a83254d51

12 years agoMerge "optimize FisheyeFilter"
Ruei-sung Lin [Fri, 8 Jul 2011 01:22:18 +0000 (18:22 -0700)]
Merge "optimize FisheyeFilter"

12 years agooptimize FisheyeFilter
Ruei-sung Lin [Fri, 8 Jul 2011 01:18:26 +0000 (18:18 -0700)]
optimize FisheyeFilter

Change-Id: I4c0a81d1097324789443982e0783d850bb27e1b6

Conflicts:

mca/filterpacks/imageproc/java/FisheyeFilter.java

12 years agoMerge "Moved and renamed effect API header files"
Eric Laurent [Thu, 7 Jul 2011 22:37:00 +0000 (15:37 -0700)]
Merge "Moved and renamed effect API header files"

12 years agoMoved and renamed effect API header files
Eric Laurent [Fri, 17 Jun 2011 16:02:12 +0000 (09:02 -0700)]
Moved and renamed effect API header files

Moved specific effect header files to
system/media/audio_effects/include/audio_effects and renamed
to lower case (effect_xxx.h).

Change-Id: I8e8f6e3851f12ae8bb380fa714abe26da06d3b58

12 years agoMake it build again on non-Android
Glenn Kasten [Thu, 7 Jul 2011 16:10:36 +0000 (09:10 -0700)]
Make it build again on non-Android

Fix warning about unused variable.
Remove spurious include.
Fix warning about printf format type mismatch.

Change-Id: Ibeeb33a55175e0ec1e5210211d8844df0bbe3bca

12 years agoMerge "Rename ANDROID_UNKNOWN_* to UNKNOWN_*"
Glenn Kasten [Thu, 7 Jul 2011 22:05:55 +0000 (15:05 -0700)]
Merge "Rename ANDROID_UNKNOWN_* to UNKNOWN_*"

12 years agoMerge "Fix NPE when pDataLocator->mURI.URI is NULL"
Glenn Kasten [Thu, 7 Jul 2011 20:15:09 +0000 (13:15 -0700)]
Merge "Fix NPE when pDataLocator->mURI.URI is NULL"

12 years agoRename ANDROID_UNKNOWN_* to UNKNOWN_*
Glenn Kasten [Thu, 7 Jul 2011 19:07:59 +0000 (12:07 -0700)]
Rename ANDROID_UNKNOWN_* to UNKNOWN_*

Change-Id: I0d92b7d943690d9af7e08c400471f8b474728bff

12 years agoFix NPE when pDataLocator->mURI.URI is NULL
Glenn Kasten [Thu, 7 Jul 2011 16:12:41 +0000 (09:12 -0700)]
Fix NPE when pDataLocator->mURI.URI is NULL

Don't call strlen on a NULL pointer

Change-Id: I632e71287695dc2762e56c1379be4108014107e2

12 years agoRename all C++ source files to conform with typical Android style.
Eino-Ville Talvala [Thu, 7 Jul 2011 00:32:15 +0000 (17:32 -0700)]
Rename all C++ source files to conform with typical Android style.

Change-Id: Ie0dabd8e0fb06183edfaecda09617b24c4663975

12 years agoMerge "Fixes to Scheduler behavior in the mobile filter framework."
Eino-Ville Talvala [Thu, 7 Jul 2011 00:21:12 +0000 (17:21 -0700)]
Merge "Fixes to Scheduler behavior in the mobile filter framework."

12 years agoFix metadata value size check
Jean-Michel Trivi [Wed, 6 Jul 2011 22:46:50 +0000 (15:46 -0700)]
Fix metadata value size check

A bug was introduced during the review of the SLMetadataExtractionItf
 interface implementation where the value size was improperly
 compared against the size given by the application.

Change-Id: Iae1359e84a410e3fec53bd65e0fba9cc97fce08a

12 years agoFixes to Scheduler behavior in the mobile filter framework.
Eino-Ville Talvala [Wed, 6 Jul 2011 17:26:04 +0000 (10:26 -0700)]
Fixes to Scheduler behavior in the mobile filter framework.

- Move reset() out of base Scheduler constructor
- Add reset() to start of run
- Add reset() to close()
- Move pre-run checks around to have null checks before use
- Add better exception throwing from invoking Scheduler constructor

Change-Id: I673b2cd9fcfa7b4ad70b3296692731ac79bda55f

12 years agoAdd a SurfaceTextureTarget filter.
Eino-Ville Talvala [Fri, 1 Jul 2011 17:50:55 +0000 (10:50 -0700)]
Add a SurfaceTextureTarget filter.

The SurfaceTextureTarget filter sends output into a SurfaceTexture
object passed into it.

Change-Id: Id3c7d779ff2015e1a813b825a2e68b4e3200a438

12 years agoSeveral small mobile filter framework bugfixes/improvements.
Eino-Ville Talvala [Sun, 3 Jul 2011 22:40:16 +0000 (15:40 -0700)]
Several small mobile filter framework bugfixes/improvements.

- Add close() to GraphRunner to allow filters to be closed after running, since
  not all runs will result in filters being closed automatically.

- Fix to FrameFormat compatability checks

- Fix to SimpleImageFilter when no program parameters exist

- Add default value to ToGrayFilter output channel count.

Change-Id: Id63623a100aef68148d2a74e7043fac8fb716565

12 years agoMerge "Bug 4980997 Fix the AudioTrack start deadlock"
Glenn Kasten [Wed, 6 Jul 2011 17:59:12 +0000 (10:59 -0700)]
Merge "Bug 4980997 Fix the AudioTrack start deadlock"

12 years agoAdd Filter.isAvailable() to test if a given filter is visible to the app.
Eino-Ville Talvala [Sun, 3 Jul 2011 23:24:01 +0000 (16:24 -0700)]
Add Filter.isAvailable() to test if a given filter is visible to the app.

Change-Id: I7ebf2dbe92916ba035f1c49480e3d635f4d3262d

12 years agoMerge "SyncRunner now respects the state of the GLEnvironment."
Eddy Talvala [Sun, 3 Jul 2011 18:19:22 +0000 (11:19 -0700)]
Merge "SyncRunner now respects the state of the GLEnvironment."

12 years agoMerge "Bug fix to OneShotRunner, logging improvements."
Eino-Ville Talvala [Sun, 3 Jul 2011 18:14:17 +0000 (11:14 -0700)]
Merge "Bug fix to OneShotRunner, logging improvements."

12 years agoBug fix to OneShotRunner, logging improvements.
Eino-Ville Talvala [Fri, 1 Jul 2011 22:14:13 +0000 (15:14 -0700)]
Bug fix to OneShotRunner, logging improvements.

Change-Id: Ifcbd4fa0147fdc82bb887525fa1d5ccc8d803550

12 years agoSyncRunner now respects the state of the GLEnvironment.
Marius Renn [Sat, 2 Jul 2011 00:02:39 +0000 (17:02 -0700)]
SyncRunner now respects the state of the GLEnvironment.

Change-Id: If07a0385ed573143bd0946453b7a9a3f881d967c

12 years agoMerge "Bugfixes to image filters."
Marius Renn [Fri, 1 Jul 2011 23:31:32 +0000 (16:31 -0700)]
Merge "Bugfixes to image filters."

12 years agoBugfixes to image filters.
Marius Renn [Fri, 1 Jul 2011 23:20:02 +0000 (16:20 -0700)]
Bugfixes to image filters.

Change-Id: I03e124132bdbfbf5aac0ad527c6d9e89fb6130e3

12 years agoBug 4980997 Fix the AudioTrack start deadlock
Glenn Kasten [Wed, 29 Jun 2011 23:37:52 +0000 (16:37 -0700)]
Bug 4980997 Fix the AudioTrack start deadlock

Details:
 - Added AudioTrackProxy, a RefBase proxy for AudioTrack
 - Call AudioTrack::start() after unlock

Change-Id: Ib1a05ee57f78432eb4c9d3a5bd68dd31a78d6e3e

12 years agoChange filter factory function to use the context class loader.
Eino-Ville Talvala [Mon, 20 Jun 2011 19:31:08 +0000 (12:31 -0700)]
Change filter factory function to use the context class loader.

Java code in the framework libraries uses the bootstrap class loader
by default. This prevents loading classes that are private to an
application, such as private filters.

The context class loader makes it possible to load all classes visible
to the application.

Change-Id: Idb30895ae2ce6ac01cf190afba4465c2ac17eaee

12 years agoRework mobile filter framework build rules to support docs/API inclusion.
Eino-Ville Talvala [Mon, 20 Jun 2011 19:25:48 +0000 (12:25 -0700)]
Rework mobile filter framework build rules to support docs/API inclusion.

- Merge all Java compilation (core + filterpacks) into a single
  target.

- Add Docs.mk to specify the Java source for both building and docs.

- Remove package check in FilterFactory for now due to VM bug,
  classloader issues.

- Minor cosmetic fix to MediaSource

Change-Id: I250f679854bdd7d7e0090f2bd1661dd3e9a88f5d

12 years agoMerge "Add repeatFrame option to GLTextureSource."
Marius Renn [Fri, 1 Jul 2011 16:53:15 +0000 (09:53 -0700)]
Merge "Add repeatFrame option to GLTextureSource."

12 years agoMerge "Minor refactoring to GraphRunners, so that graphs can be partially run."
Marius Renn [Fri, 1 Jul 2011 16:53:09 +0000 (09:53 -0700)]
Merge "Minor refactoring to GraphRunners, so that graphs can be partially run."

12 years agoMerge "Added One shot scheduler."
Wei Hua [Fri, 1 Jul 2011 16:38:08 +0000 (09:38 -0700)]
Merge "Added One shot scheduler."

12 years agoAdded One shot scheduler.
Wei Hua [Fri, 1 Jul 2011 04:46:05 +0000 (21:46 -0700)]
Added One shot scheduler.

Change-Id: Ic3ff6f70f55a1ad4f4baf3a45cd1e8f4e494a561

12 years agoAdd repeatFrame option to GLTextureSource.
Marius Renn [Fri, 1 Jul 2011 01:56:49 +0000 (18:56 -0700)]
Add repeatFrame option to GLTextureSource.

Change-Id: I02c6dbd0056976bcddc88632615f7dad0e330f99

12 years agoMinor refactoring to GraphRunners, so that graphs can be partially run.
Marius Renn [Fri, 1 Jul 2011 00:18:53 +0000 (17:18 -0700)]
Minor refactoring to GraphRunners, so that graphs can be partially run.

Change-Id: Ife07d451bee5238774a16c763c02ada7f949de6d

12 years agoMerge "FrameFormat Clean-up."
Marius Renn [Fri, 1 Jul 2011 01:31:03 +0000 (18:31 -0700)]
Merge "FrameFormat Clean-up."

12 years agoFrameFormat Clean-up.
Marius Renn [Thu, 30 Jun 2011 21:06:56 +0000 (14:06 -0700)]
FrameFormat Clean-up.

Change-Id: Ie993ea45a0d4647c58182a69360a11aa1f545e4c

12 years agoAdd Keep Aspect Ratio Option for the resizing.
Wei Hua [Thu, 30 Jun 2011 19:53:00 +0000 (12:53 -0700)]
Add Keep Aspect Ratio Option for the resizing.

Change-Id: I05b22375476f03c28d494f4a0f1f9f70b721535c

12 years agoMerge "Removed dependencies of native filter program implementations on MFF headers."
Marius Renn [Thu, 30 Jun 2011 19:50:46 +0000 (12:50 -0700)]
Merge "Removed dependencies of native filter program implementations on MFF headers."

12 years agoMerge "Fix issues in GenericPlayer destruction"
Jean-Michel Trivi [Thu, 30 Jun 2011 17:56:53 +0000 (10:56 -0700)]
Merge "Fix issues in GenericPlayer destruction"

12 years agoFix issues in GenericPlayer destruction
Jean-Michel Trivi [Tue, 28 Jun 2011 00:37:58 +0000 (17:37 -0700)]
Fix issues in GenericPlayer destruction

Added a preDestroy() mechanism for the subclasses of
 GenericPlayer.
Added a lock around the update and use of the callback
 GenericPlayer is using for notifications to the
 OpenSL ES framework. This prevents notifications after
 the GenericPlayer is flagged for destruction.
Added a lock to protect the update of the audio source
 running state, so it doesn't get used after the
 AudioSfDecoder is flagged for destruction.
Before stopping the audio source of an AudioSfDecoder
 object, release the code buffer if necessary, to
 ensure proper teardown of the audio source (OMXCodec)

Change-Id: I6cf08d169a6da622552dda5101dbc61e663ce6aa

12 years agoRemoved dependencies of native filter program implementations on MFF headers.
Marius Renn [Thu, 30 Jun 2011 16:48:16 +0000 (09:48 -0700)]
Removed dependencies of native filter program implementations on MFF headers.

Fixed bug in GL activation handling.

Change-Id: I47e3e31f3cbc1b5cf53d55361b21e4b34d7b9727

12 years agoMerge "Fixed the problem of binding texture without a texture created."
Wei Hua [Thu, 30 Jun 2011 16:43:07 +0000 (09:43 -0700)]
Merge "Fixed the problem of binding texture without a texture created."

12 years agoFixed the problem of binding texture without a texture created.
Wei Hua [Wed, 29 Jun 2011 22:36:32 +0000 (15:36 -0700)]
Fixed the problem of binding texture without a texture created.

Change-Id: I4693ad85258f4df4948b90dd272153c191c44693

12 years agoMerge "Call AudioTrack start, stop, and pause when needed"
Glenn Kasten [Wed, 29 Jun 2011 20:22:33 +0000 (13:22 -0700)]
Merge "Call AudioTrack start, stop, and pause when needed"

12 years agoCall AudioTrack start, stop, and pause when needed
Glenn Kasten [Wed, 29 Jun 2011 15:22:59 +0000 (08:22 -0700)]
Call AudioTrack start, stop, and pause when needed

These AudioTrack operations are relatively expensive Binder calls (and
will soon be even more expensive to fix a deadlock at AudioTrack::start),
and they were being called excessively.  Now AudioTrack start, stop,
and pause are only called when there is an actual play state change.

Details:
 - distinguish ATTR_TRANSPORT vs. ATTR_PLAY_STATE for audio players
 - android_audioPlayer_setPlayState is only called when the play state changes
 - handler_AudioPlayer_transport is only called for transport changes other than play state
 - android_audioPlayer_setPlayState is always called with mutex locked
 - since media player currently only handles play state, handler_MediaPlayer_transport
   is still called for both ATTR_TRANSPORT and ATTR_PLAY_STATE
 - since the handlers for ATTR_BQ_ENQUEUE and ATTR_ABQ_ENQUEUE are only called if in
   state PLAYING, changed an "if" to an "assert"

Change-Id: Iee2968fd98d215885b7105053bb1604f962ea337

12 years agoMerge "Hide all classes in the filter framework and filterpacks from API."
Eino-Ville Talvala [Wed, 29 Jun 2011 00:31:27 +0000 (17:31 -0700)]
Merge "Hide all classes in the filter framework and filterpacks from API."

12 years agoMerge "Fix race condition when deleting an AudioPlayer"
Jean-Michel Trivi [Tue, 28 Jun 2011 23:36:02 +0000 (16:36 -0700)]
Merge "Fix race condition when deleting an AudioPlayer"

12 years agoMerge "Added Random and RoundRobin Scheduler."
Wei Hua [Tue, 28 Jun 2011 21:56:19 +0000 (14:56 -0700)]
Merge "Added Random and RoundRobin Scheduler."

12 years agoHide all classes in the filter framework and filterpacks from API.
Eino-Ville Talvala [Tue, 28 Jun 2011 17:01:40 +0000 (10:01 -0700)]
Hide all classes in the filter framework and filterpacks from API.

Change-Id: Iea3c2e0e3a08c2a0c2ed0b3b2001860c3cd37c01

12 years agoAdded Random and RoundRobin Scheduler.
Wei Hua [Tue, 28 Jun 2011 20:32:31 +0000 (13:32 -0700)]
Added Random and RoundRobin Scheduler.

Change-Id: I03300714f66543784f3f8bee40d9865479127b77

12 years agoFix race condition when deleting an AudioPlayer
Jean-Michel Trivi [Tue, 28 Jun 2011 00:18:26 +0000 (17:18 -0700)]
Fix race condition when deleting an AudioPlayer

When deleting an AudioPlayer that is used as a PCM decoder,
 there can be callback underway, for instance when trying to
 delete a player just as the notification of its preparation
 arrives.

The fix consists in:
- flagging all callback with the CallbackProtector
 mechanism,
- only entering callback when it is valid to do so
- renaming AudioTrackProtector to CallbackProtector
 as this mechanism is not exclusively used for the
 AudioTrack callbacks.

Change-Id: I9336a75981de43f71a983c1300f3a0ff314ac1e0

12 years agoMerge "Renamed port classes to more intuitive names."
Marius Renn [Tue, 28 Jun 2011 17:01:03 +0000 (10:01 -0700)]
Merge "Renamed port classes to more intuitive names."

12 years agoMerge "Bug 4571308 Test video timestamps"
Glenn Kasten [Tue, 28 Jun 2011 16:53:46 +0000 (09:53 -0700)]
Merge "Bug 4571308 Test video timestamps"

12 years agoBug 4571308 Test video timestamps
Glenn Kasten [Mon, 27 Jun 2011 18:01:27 +0000 (11:01 -0700)]
Bug 4571308 Test video timestamps

Change-Id: I4d1fe3b9e090fe014c45432a91ea43360213ee2e

12 years agoRenamed port classes to more intuitive names.
Marius Renn [Mon, 27 Jun 2011 22:21:40 +0000 (15:21 -0700)]
Renamed port classes to more intuitive names.

Ports are used internally only, so this does not change API.

Change-Id: I60a274ddd30bbb1f82d1b12980b6b95a07cb65ce

12 years agoOriginal problem fixed.
Eddy Talvala [Mon, 27 Jun 2011 17:59:50 +0000 (10:59 -0700)]
Original problem fixed.

Revert "Revert "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling.""

This reverts commit 0a4de9e89040ad82df1e99b8fe2745d34e25826a

12 years agoRevert "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling."
Jean-Baptiste Queru [Mon, 27 Jun 2011 17:46:25 +0000 (10:46 -0700)]
Revert "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling."

This reverts commit 06b4f19b51c9e2a1efe10cf2ac37c407cddca907.

12 years agoMerge "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling."
Marius Renn [Mon, 27 Jun 2011 16:46:35 +0000 (09:46 -0700)]
Merge "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling."

12 years agoMerge "Fix NPE in audio decoding"
Jean-Michel Trivi [Sat, 25 Jun 2011 00:00:16 +0000 (17:00 -0700)]
Merge "Fix NPE in audio decoding"

12 years agoFix NPE in audio decoding
Jean-Michel Trivi [Fri, 24 Jun 2011 23:02:15 +0000 (16:02 -0700)]
Fix NPE in audio decoding

If the data source wasn't properly initialized, the corresponding
 member field should be accessed.

Change-Id: I811827991078db4b8dc4278014f046361f06e1a2

12 years agoBugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling.
Marius Renn [Fri, 24 Jun 2011 23:21:02 +0000 (16:21 -0700)]
Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling.

Change-Id: I4bb401766778e392800669f717e1344bc8a9c68d

12 years agoUse runtime detection to filter FilterPort logs.
Mike Dodd [Fri, 24 Jun 2011 22:29:47 +0000 (15:29 -0700)]
Use runtime detection to filter FilterPort logs.

Change-Id: I2ecb848dfe07d1f50b0c663c3dd8a665a7bad275

12 years agoSwitch verbose logging in several places to use runtime detection.
Eino-Ville Talvala [Fri, 24 Jun 2011 21:41:28 +0000 (14:41 -0700)]
Switch verbose logging in several places to use runtime detection.

Change-Id: I4abd4a38ee1dddb1aa6a5cd933a087a30bd5be49

12 years agoBugfix in opening outputs in Filter.
Marius Renn [Fri, 24 Jun 2011 21:21:47 +0000 (14:21 -0700)]
Bugfix in opening outputs in Filter.

Change-Id: If8e6aaba27743970dfe8ace55ac1d5ecb2bf6fea

12 years agoBugfixes.
Marius Renn [Fri, 24 Jun 2011 00:21:22 +0000 (17:21 -0700)]
Bugfixes.

Change-Id: I45a596f7c4fb28d6883f398668a4cebeffaf4417

12 years agoFix resize bug.
Rodrigo Carceroni [Thu, 23 Jun 2011 22:25:46 +0000 (15:25 -0700)]
Fix resize bug.

Change-Id: Ib4c2d1df8b4c94d6d39a3d8b6c7db77c010f5f15

12 years agoMerge "Port + Parameter Unification and Type Check Refactoring."
Marius Renn [Thu, 23 Jun 2011 18:29:34 +0000 (11:29 -0700)]
Merge "Port + Parameter Unification and Type Check Refactoring."

12 years agoPort + Parameter Unification and Type Check Refactoring.
Marius Renn [Thu, 23 Jun 2011 17:56:07 +0000 (10:56 -0700)]
Port + Parameter Unification and Type Check Refactoring.

Change-Id: Ie546431039058eb27f185a023ef8b18b533eaa12

12 years agoMerge "Bug 4606138"
Glenn Kasten [Thu, 23 Jun 2011 16:00:19 +0000 (09:00 -0700)]
Merge "Bug 4606138"

12 years agoMerge "OpenSL ES: additional features when decoding to PCM"
Jean-Michel Trivi [Wed, 22 Jun 2011 21:46:01 +0000 (14:46 -0700)]
Merge "OpenSL ES: additional features when decoding to PCM"

12 years agoOpenSL ES: additional features when decoding to PCM
Jean-Michel Trivi [Thu, 16 Jun 2011 00:08:55 +0000 (17:08 -0700)]
OpenSL ES: additional features when decoding to PCM

Support the following features useful when decoding a compressed
 asset to PCM:
- GetDuration in SLPlayItf
- implemented SLMetadataExtractionItf on an AudioPlayer whose
  data sink is a buffer queue (i.e. it's a decoder)
- added support for 6 new metadata keys that can be queried
  through SLMetadataExtractionItf, which match the fields
  of the SLDataFormat_PCM structure.
Updated the decode sample code to use these features: the
 slesTestDecodeToBuffQueue app now displays:
- the number of channels
- the channel mask
- the sample size
- the container size
- the sample rate
- the format endianness

Change-Id: I3ca1e29828fd8c16c89da43a28df429c9cdef7af

12 years agoMerge "Add set method to Point class"
Rodrigo Carceroni [Wed, 22 Jun 2011 20:34:52 +0000 (13:34 -0700)]
Merge "Add set method to Point class"

12 years agoAdd set method to Point class
Rodrigo Carceroni [Wed, 22 Jun 2011 17:46:48 +0000 (10:46 -0700)]
Add set method to Point class

Change-Id: I8ca425963ed1eeed22bf570fabfdc236927abd88

12 years agoMerge "Better defaults and fix warnings"
Glenn Kasten [Mon, 20 Jun 2011 14:47:37 +0000 (07:47 -0700)]
Merge "Better defaults and fix warnings"

12 years agoMerge "Update CameraSource filter parameter handling."
Eino-Ville Talvala [Fri, 17 Jun 2011 23:10:02 +0000 (16:10 -0700)]
Merge "Update CameraSource filter parameter handling."

12 years agoUpdate CameraSource filter parameter handling.
Eino-Ville Talvala [Fri, 17 Jun 2011 21:51:53 +0000 (14:51 -0700)]
Update CameraSource filter parameter handling.

Now allows parameters to be set and read when the filter isn't
actively running.

Change-Id: Id35e0b1b7b89390560a37d89d073693ffdf74c81

12 years agoRemove mRunners in FilterContext.
Wei Hua [Thu, 16 Jun 2011 00:45:23 +0000 (17:45 -0700)]
Remove mRunners in FilterContext.

Added missing @Override

Change-Id: Ief0b20b63195a1283dc93910c19767e87aea0fe4

12 years agoMerge "Revert "voice processing""
Eric Laurent [Thu, 16 Jun 2011 00:24:19 +0000 (17:24 -0700)]
Merge "Revert "voice processing""

12 years agoRevert "voice processing"
Eric Laurent [Thu, 16 Jun 2011 00:22:09 +0000 (17:22 -0700)]
Revert "voice processing"

This reverts commit 7585d227843769079ee2afb385607b3e23ac1e07

12 years agoMerge "voice processing"
Thomas Le Guevel [Thu, 16 Jun 2011 00:18:26 +0000 (17:18 -0700)]
Merge "voice processing"

12 years agoMerge "Added Blending in Shader program."
Wei Hua [Wed, 15 Jun 2011 18:48:12 +0000 (11:48 -0700)]
Merge "Added Blending in Shader program."

12 years agoAdded Blending in Shader program.
Wei Hua [Wed, 15 Jun 2011 18:28:31 +0000 (11:28 -0700)]
Added Blending in Shader program.

SetBlendEnabled
SetBlendFunc

Change-Id: Ic30f118bdb7d9789b656c6f5bc7fa5a5eabe3124

12 years agoBug 4606138
Glenn Kasten [Tue, 14 Jun 2011 00:51:16 +0000 (17:51 -0700)]
Bug 4606138

Change-Id: If4745ee39eeedf11388800cc30c26e4c4f8ddaa0

12 years agoFix MediaSource filter pausing behavior.
Eino-Ville Talvala [Thu, 9 Jun 2011 00:16:04 +0000 (17:16 -0700)]
Fix MediaSource filter pausing behavior.

Now correctly pauses the underlying MediaPlayer.

Change-Id: Iaa57bf34dbc0b001cd303b9494fd7c2786ace3f5