OSDN Git Service

android-x86/system-media.git
13 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."

13 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

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

13 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

13 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

13 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

13 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."

13 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."

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

13 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

13 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

13 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

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

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

Change-Id: Ie993ea45a0d4647c58182a69360a11aa1f545e4c

13 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

13 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."

13 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"

13 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

13 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

13 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."

13 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

13 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"

13 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

13 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."

13 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"

13 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."

13 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

13 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

13 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

13 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."

13 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"

13 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

13 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

13 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

13 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.

13 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."

13 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"

13 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

13 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

13 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

13 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

13 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

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

Change-Id: I45a596f7c4fb28d6883f398668a4cebeffaf4417

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

Change-Id: Ib4c2d1df8b4c94d6d39a3d8b6c7db77c010f5f15

13 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."

13 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

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

13 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"

13 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

13 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"

13 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

13 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"

13 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."

13 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

13 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

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

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

This reverts commit 7585d227843769079ee2afb385607b3e23ac1e07

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

13 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."

13 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

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

Change-Id: If4745ee39eeedf11388800cc30c26e4c4f8ddaa0

13 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

13 years agoBetter defaults and fix warnings
Glenn Kasten [Mon, 13 Jun 2011 18:30:22 +0000 (11:30 -0700)]
Better defaults and fix warnings

Use better defaults for slesTestFeedback rxBufCount and channel count.
Fix build warnings.

Change-Id: Ieef4750cbc454029e61524cc8011a6c774088762

13 years agoMerge "Code clean up."
Marius Renn [Sun, 12 Jun 2011 18:37:20 +0000 (11:37 -0700)]
Merge "Code clean up."

13 years agovoice processing
Eric Laurent [Sun, 12 Jun 2011 01:23:25 +0000 (18:23 -0700)]
voice processing

Change-Id: I0b6129f566349fd333f34773589d5d15c36a7c15

13 years agoCode clean up.
Wei Hua [Sat, 11 Jun 2011 00:37:42 +0000 (17:37 -0700)]
Code clean up.

add @Override
and remove unnecessary imports.

Change-Id: I274bd84c98e1dc657e35787ab0727b8247d70fdf

13 years agoMerge core filter framework libraries into one.
Eino-Ville Talvala [Tue, 7 Jun 2011 23:57:00 +0000 (16:57 -0700)]
Merge core filter framework libraries into one.

Combines JNI and native shared libraries into a single shared library.

Change-Id: If2cdb2b048c9c45275b1eabd06c9846c20434422

13 years agoMerge "Throws JAVA exception when native program process fails."
Wei Hua [Tue, 7 Jun 2011 23:45:26 +0000 (16:45 -0700)]
Merge "Throws JAVA exception when native program process fails."

13 years agoThrows JAVA exception when native program process fails.
Wei Hua [Tue, 7 Jun 2011 17:39:33 +0000 (10:39 -0700)]
Throws JAVA exception when native program process fails.

Change-Id: I2645bed644fd87ba483e6f0288a3255939b4dc4b

13 years agoRefactored KeyValueMap, Parameter Binding
Marius Renn [Tue, 7 Jun 2011 16:49:32 +0000 (09:49 -0700)]
Refactored KeyValueMap, Parameter Binding

Also adds ability to bind directly to program parameters.

Change-Id: Ia5571bcf1f87583eb2ffab0a9b839a510a979e00

13 years agoFixes to SurfaceRenderFilter, SurfaceTextureSource.
Eino-Ville Talvala [Mon, 6 Jun 2011 23:01:08 +0000 (16:01 -0700)]
Fixes to SurfaceRenderFilter, SurfaceTextureSource.

Multiple SurfaceRenderFilters can now share a single destination
FilterSurfaceView, as long as only one of them is running at a time
(ie, they're in different graphs that aren't run simultaneously)

SurfaceTextureSource now creates its SurfaceTexture on open() instead
of prepare(), to make it easier for an app to switch between multiple
processing graphs using the same ultimate source, and to keep down
memory consumption.

Change-Id: I37931b60b3de15ffa484c258e5018c15e9335371

13 years agoAllow CallbackFilter parameter updates
Eino-Ville Talvala [Fri, 3 Jun 2011 23:31:15 +0000 (16:31 -0700)]
Allow CallbackFilter parameter updates

Change-Id: I9c65b09ce059a4dadeb317aae25a0a155644bae9

13 years agoMove runner done callback code to GraphRunner interface.
Eino-Ville Talvala [Fri, 3 Jun 2011 19:55:20 +0000 (12:55 -0700)]
Move runner done callback code to GraphRunner interface.

Instead of just being in AsyncRunner, implement runner done callbacks
in SyncRunner as well.

Change-Id: I9fab177493821b79c080940a69d123f1d6de35fc

13 years agoAdds a SurfaceTextureSource filter.
Eino-Ville Talvala [Thu, 2 Jun 2011 21:10:18 +0000 (14:10 -0700)]
Adds a SurfaceTextureSource filter.

This is a filter intended for applications that want to manage the
data source for the SurfaceTexture themselves, instead of using
existing simple interfaces from CameraSource or MediaSource.

The filter provides a SurfaceTexture object that can be connected up
to any data source to provide frames.

Change-Id: Icb7d48411e95c330d0023aa9e528160b20308c6e

13 years agoStop the OMX codec when destroying the OpenSL ES decoder
Jean-Michel Trivi [Fri, 3 Jun 2011 18:21:23 +0000 (11:21 -0700)]
Stop the OMX codec when destroying the OpenSL ES decoder

The AudioSfDecoder class uses a MediaSource interface from
 an OMXCodec object. In the class destructor, the codec must
 be stopped before the codec is anihilated.

Change-Id: Ibf0d729e055dcd8f4e05f3fb8332d650f9be0d30

13 years agoMerge "Add filter for efficient conversion from color in-GPU to grayscale native"
Rodrigo Carceroni [Fri, 3 Jun 2011 00:28:49 +0000 (17:28 -0700)]
Merge "Add filter for efficient conversion from color in-GPU to grayscale native"

13 years agoMerge "Stress test for OpenSL ES: create and delete many players"
Jean-Michel Trivi [Fri, 3 Jun 2011 00:26:00 +0000 (17:26 -0700)]
Merge "Stress test for OpenSL ES: create and delete many players"

13 years agoStress test for OpenSL ES: create and delete many players
Jean-Michel Trivi [Thu, 2 Jun 2011 16:29:17 +0000 (09:29 -0700)]
Stress test for OpenSL ES: create and delete many players

Implementation of a test to deal with 40 AudioPlayers:
- creation
- realize
- configuration
- prefetching
- playback
- destruction
If a player was created, regardless of whether the other
 operations were successful, it will be destroyed.
The number of players, 40, is chosen specifically because it
 is larger than the number of objects Wilhelm is currently
 capable of supporting, and larger than the number of tracks
 supported by the platform mixer.

Change-Id: I42287039d59b77e59c60d074fbc0177d9726b359

13 years agoAdd filter for efficient conversion from color in-GPU to grayscale native
Rodrigo Carceroni [Thu, 2 Jun 2011 21:58:35 +0000 (14:58 -0700)]
Add filter for efficient conversion from color in-GPU to grayscale native

Change-Id: I369d4d5a96d1958c70584e1a44fc9bffc99fb3ea

13 years agoMerge "Add pause support to MediaSource"
Eino-Ville Talvala [Thu, 2 Jun 2011 19:20:47 +0000 (12:20 -0700)]
Merge "Add pause support to MediaSource"

13 years agoAdd pause support to MediaSource
Eino-Ville Talvala [Thu, 2 Jun 2011 17:36:39 +0000 (10:36 -0700)]
Add pause support to MediaSource

Change-Id: Ic009c3f27a582c4b82aa4a449db409a54536f011

13 years agoRevert "Use AudioTrack::event_type not int in callback"
Glenn Kasten [Wed, 1 Jun 2011 22:20:29 +0000 (15:20 -0700)]
Revert "Use AudioTrack::event_type not int in callback"

This reverts commit 1d7ee1569f98f7f1b629a04bb0895165255c7f7b

13 years agoUse AudioTrack::event_type not int in callback
Glenn Kasten [Wed, 4 May 2011 22:36:52 +0000 (15:36 -0700)]
Use AudioTrack::event_type not int in callback

Change-Id: Icd60d7eff86e3bdf9907c573b6900c8eca96acf1

13 years agoAdd missing makefile to new filterpack.
Eino-Ville Talvala [Wed, 1 Jun 2011 19:05:33 +0000 (12:05 -0700)]
Add missing makefile to new filterpack.

Change-Id: I5a8e9020c2a0073d59ac64a6fc76f695f4fc5ea1

13 years agoMerge "Move Camara- and MediaSource filters to system/media."
Eino-Ville Talvala [Wed, 1 Jun 2011 18:47:32 +0000 (11:47 -0700)]
Merge "Move Camara- and MediaSource filters to system/media."

13 years agoMerge "Created abstract base class for frontend environments."
Marius Renn [Wed, 1 Jun 2011 01:25:31 +0000 (18:25 -0700)]
Merge "Created abstract base class for frontend environments."

13 years agoCreated abstract base class for frontend environments.
Marius Renn [Tue, 31 May 2011 22:58:24 +0000 (15:58 -0700)]
Created abstract base class for frontend environments.

Change-Id: Ib9c9396545e1b30aa621784f651ef6ffc0575adb

13 years agoMove Camara- and MediaSource filters to system/media.
Eino-Ville Talvala [Tue, 31 May 2011 22:01:12 +0000 (15:01 -0700)]
Move Camara- and MediaSource filters to system/media.

Change-Id: Ic7abc3ccc9424d6e563fa0b385b92e7993bbbb58

13 years agoCleanups of mobile filter framework core code.
Eino-Ville Talvala [Tue, 31 May 2011 19:14:42 +0000 (12:14 -0700)]
Cleanups of mobile filter framework core code.

- Eliminate basictypes.h
- Include what you use
- Consistent namespaces/header guards
- Copyright headers

Change-Id: I3658a4ce8268a58644e48544a162a910447123d1

13 years agoMerge "remove unneeded dependency"
Marius Renn [Sat, 28 May 2011 00:10:04 +0000 (17:10 -0700)]
Merge "remove unneeded dependency"

13 years agoremove unneeded dependency
Ruei-sung Lin [Fri, 27 May 2011 23:54:06 +0000 (16:54 -0700)]
remove unneeded dependency

Change-Id: I52f1b4b57e46138fe6eb5de138d7a9acbbe82538

13 years agoMerge "New audio effect API."
Eric Laurent [Fri, 27 May 2011 22:26:41 +0000 (15:26 -0700)]
Merge "New audio effect API."

13 years agoRenamed ObjectFrame to JavaFrame, FilterEnvironment to FilterContext.
Marius Renn [Fri, 27 May 2011 19:24:58 +0000 (12:24 -0700)]
Renamed ObjectFrame to JavaFrame, FilterEnvironment to FilterContext.

Also renamed Filter functions for input/output formatting.

Change-Id: I8303add0084dda718762edb635421dce7ca41313

13 years agoMinor fixes.
Marius Renn [Fri, 27 May 2011 16:54:42 +0000 (09:54 -0700)]
Minor fixes.

- Filter now has a getInputFormat() method.
- Requests for illegal filter ports now throws exceptions.
- More detailed toString() implementations for Frames.

Change-Id: I03e80ae30243256d8dd45665f172a46049aa2245

13 years agoRenamed filterfw2 lib to filterfw.
Marius Renn [Fri, 27 May 2011 00:05:40 +0000 (17:05 -0700)]
Renamed filterfw2 lib to filterfw.

Change-Id: Ib21cd71f1bbe3e7d65e4378fa158cbb4e0302cd6

13 years agoNew audio effect API.
Eric Laurent [Wed, 18 May 2011 02:22:27 +0000 (19:22 -0700)]
New audio effect API.

media/EffectApi.h header file has been moved and renamed to
hardware/audio_effect.h

Change-Id: Ie24295fb16f3925f1cc43577605d371fd9a18528

13 years agoAdd filterpacks' native base library.
Wei Hua [Wed, 25 May 2011 16:39:04 +0000 (09:39 -0700)]
Add filterpacks' native base library.

Change-Id: Ia83f68dee76eb9c5684f760380b48de9e146c3c5

13 years agoInitial public check-in of Mobile Filter Framework
Rodrigo Carceroni [Wed, 25 May 2011 01:17:00 +0000 (18:17 -0700)]
Initial public check-in of Mobile Filter Framework

Change-Id: I952e3b11c1742b861cc31d3f3ecf2713cfa434f8

13 years agoupdate for new audio.h header location
Dima Zavin [Wed, 11 May 2011 21:16:27 +0000 (14:16 -0700)]
update for new audio.h header location

Change-Id: I2140f1def08bedd8b2bd5170c6ac5edccb80035c
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoUpdate automated OpenSL ES test for playback from file path
Jean-Michel Trivi [Wed, 11 May 2011 18:12:13 +0000 (11:12 -0700)]
Update automated OpenSL ES test for playback from file path

Remove test where duration is queried after the player is realized
 but before prefetching has started: invalid test, duration isn't
 known at this time.

Changed wording of error messages to make test failures easier to
 identify

Added test to compare retrieved duration, and expected duration.

Fixed expected file duration: was 75s, should be 71s

Change-Id: I6230c00f0c945c6966e1f08ecfbc67452667cf33