OSDN Git Service

android-x86/system-media.git
12 years agoMerge "Test playbq: 8-bit and big-endian byte ordering"
Glenn Kasten [Fri, 19 Aug 2011 19:06:36 +0000 (12:06 -0700)]
Merge "Test playbq: 8-bit and big-endian byte ordering"

12 years agoMerge "Use XA instead of SL in type cast"
Glenn Kasten [Fri, 19 Aug 2011 16:01:51 +0000 (09:01 -0700)]
Merge "Use XA instead of SL in type cast"

12 years agoUse XA instead of SL in type cast
Glenn Kasten [Thu, 18 Aug 2011 21:59:20 +0000 (14:59 -0700)]
Use XA instead of SL in type cast

Change-Id: Icc8d678484f454860b32d8823d4a274d3d14d991

12 years agoMerge "Add backdropper to list of effects, and reformat documentation."
Eino-Ville Talvala [Thu, 18 Aug 2011 21:53:13 +0000 (14:53 -0700)]
Merge "Add backdropper to list of effects, and reformat documentation."

12 years agoAdd backdropper to list of effects, and reformat documentation.
Eino-Ville Talvala [Thu, 18 Aug 2011 20:06:30 +0000 (13:06 -0700)]
Add backdropper to list of effects, and reformat documentation.

Backdropper is still hidden, until we have the full list of effects.

Bug: 4966161
Change-Id: I95560615eb891c951da676beeb2dc3ac610dc07e

12 years agoMerge "Bug 5159291 lock safety"
Glenn Kasten [Thu, 18 Aug 2011 14:31:11 +0000 (07:31 -0700)]
Merge "Bug 5159291 lock safety"

12 years agoMerge "Bug 5161265 Recover from mediaserver process crash"
Glenn Kasten [Thu, 18 Aug 2011 14:30:57 +0000 (07:30 -0700)]
Merge "Bug 5161265 Recover from mediaserver process crash"

12 years agoTest playbq: 8-bit and big-endian byte ordering
Glenn Kasten [Wed, 10 Aug 2011 23:02:48 +0000 (16:02 -0700)]
Test playbq: 8-bit and big-endian byte ordering

Change-Id: Ic34f35226fee07945925cad8cfbc10c756092fee

12 years agoAvoid future circular dependency in framework libraries.
Eino-Ville Talvala [Tue, 16 Aug 2011 23:28:07 +0000 (16:28 -0700)]
Avoid future circular dependency in framework libraries.

Explictly list which framework libraries we depend on, instead of
accepting the default list (which will include this library in the
future).

Bug: 5098987
Change-Id: I781143f535d1e84122de460125915866420e8d07

12 years agoMerge "Bug 5147281 prefetch status deadlocks"
Eric Laurent [Tue, 16 Aug 2011 00:31:32 +0000 (17:31 -0700)]
Merge "Bug 5147281 prefetch status deadlocks"

12 years agoMerge "Remove dead code from backdropper filter shaders."
Eino-Ville Talvala [Mon, 15 Aug 2011 17:06:43 +0000 (10:06 -0700)]
Merge "Remove dead code from backdropper filter shaders."

12 years agoMerge "AAC buffer decode to PCM buffer queue"
Jean-Michel Trivi [Sun, 14 Aug 2011 21:24:43 +0000 (14:24 -0700)]
Merge "AAC buffer decode to PCM buffer queue"

12 years agoRemove dead code from backdropper filter shaders.
Eino-Ville Talvala [Sat, 13 Aug 2011 00:31:54 +0000 (17:31 -0700)]
Remove dead code from backdropper filter shaders.

The code is not approved of by all shader compilers, and is unused
in any case.

Bug: 5111139
Change-Id: I83af451b870d3c2cb1be5c8d0b780e700453e04c

12 years agoBug 5161265 Recover from mediaserver process crash
Glenn Kasten [Fri, 12 Aug 2011 23:24:09 +0000 (16:24 -0700)]
Bug 5161265 Recover from mediaserver process crash

Use the utility method IMediaDeathNotifier::getMediaPlayerService()
to get a reference to media player service.  It retries after errors,
and keeps a single global per-process reference to the service rather
than one per object.  If we still can't contact the media player service
after retries, handle it like an unsuccessful prepare.

Miscellaneous:
 - Remove unused field Parcel metadatafilter

Change-Id: I451a64bd76b4a7f157774abe967448ec081f1014

12 years agoBug 5159291 lock safety
Glenn Kasten [Fri, 12 Aug 2011 14:22:27 +0000 (07:22 -0700)]
Bug 5159291 lock safety

Change-Id: I56f5fd038d63d033954d794168df4cbcdade26f3

12 years agoBug 5147281 prefetch status deadlocks
Glenn Kasten [Wed, 10 Aug 2011 22:54:39 +0000 (15:54 -0700)]
Bug 5147281 prefetch status deadlocks

Fixed two deadlocks related to AudioTrack prefetch event callbacks:
 - if PrefetchStatus interface was initialized on an AudioPlayer,
   there was a deadlock at the point where it checked whether to do a callback
 - prefetch status callbacks are now called with the object unlocked,
   so they are permitted to do APIs on the object

Miscellaneous fixes:
 - SMP-safe locks for GetPrefetchStatus, GetFillLevel,
   GetCallbackEventsMask, SetFillUpdatePeriod, GetFillUpdatePeriod
 - SetCallbackEventsMask error handling for invalid bitmask
 - Enqueue sets prefetch fill level to 1000

Change-Id: Ic8b2c440aeb4efa3446a4a73d3422d934ceb0578

12 years agoAAC buffer decode to PCM buffer queue
Jean-Michel Trivi [Wed, 27 Jul 2011 17:00:04 +0000 (10:00 -0700)]
AAC buffer decode to PCM buffer queue

Implement AAC ADTS decode with buffers of compressed data being
 passed to the framework through an AndroidBufferQueue, and
 decoded PCM buffers being passed to the application through
 a BufferQueue (just like existing decode from URI/FD).

Change-Id: Id992a44a5ca7e404088b929f2b0afe9ca1f85223

12 years agoAdd timestamp as a port to GLTextureSource.
Eino-Ville Talvala [Wed, 10 Aug 2011 22:41:01 +0000 (15:41 -0700)]
Add timestamp as a port to GLTextureSource.

Allows filter chains using external texture sources to propagate
timestamps provided by the external source.

Bug: 5149729
Change-Id: Ic365257306636ea1083ad23a811a48a5e872bd5b

12 years agoMerge "Fixes to BackDropperEffect."
Eino-Ville Talvala [Wed, 10 Aug 2011 20:23:37 +0000 (13:23 -0700)]
Merge "Fixes to BackDropperEffect."

12 years agoMerge "Bugfix (5144111): Choose FBO pixel read over texture pixel read."
Marius Renn [Wed, 10 Aug 2011 17:13:54 +0000 (10:13 -0700)]
Merge "Bugfix (5144111): Choose FBO pixel read over texture pixel read."

12 years agoFixes to BackDropperEffect.
Eino-Ville Talvala [Tue, 9 Aug 2011 22:27:04 +0000 (15:27 -0700)]
Fixes to BackDropperEffect.

- Enable auto-wb
- Fixes to graph, filter references

Bug: 5039738
Change-Id: I9fb17659fb706920a4637f921a6e230984aa3051

12 years agoBugfix (5144111): Choose FBO pixel read over texture pixel read.
Marius Renn [Tue, 9 Aug 2011 22:35:35 +0000 (15:35 -0700)]
Bugfix (5144111): Choose FBO pixel read over texture pixel read.

Change-Id: Ibdae635445551c302d7edb3f6fd77369e43b7293

12 years agoMerge "add ImageSlicer and ImageStitcher filters."
Ruei-sung Lin [Tue, 9 Aug 2011 21:38:35 +0000 (14:38 -0700)]
Merge "add ImageSlicer and ImageStitcher filters."

12 years agoMerge "Initialize video decoder capabilities fields even when unknown"
Jean-Michel Trivi [Tue, 9 Aug 2011 21:33:35 +0000 (14:33 -0700)]
Merge "Initialize video decoder capabilities fields even when unknown"

12 years agoMerge "add customize option in SurfaceTectureTarget"
Ruei-sung Lin [Tue, 9 Aug 2011 20:51:14 +0000 (13:51 -0700)]
Merge "add customize option in SurfaceTectureTarget"

12 years agoInitialize video decoder capabilities fields even when unknown
Jean-Michel Trivi [Tue, 9 Aug 2011 19:34:53 +0000 (12:34 -0700)]
Initialize video decoder capabilities fields even when unknown

We only support the discovery of codecId, profile and level when
 using the VideoDecoderCapabilities interface. The other fields
 in the XAVideoCodecDescriptor structure need to be initialized
 even if they're not filled.

Change-Id: I8833437b3b23748a50076b65baf5b9a250290b86

12 years agoMerge "Bug 5126938 dependency and miscellaneous bug fixes"
Glenn Kasten [Tue, 9 Aug 2011 17:52:56 +0000 (10:52 -0700)]
Merge "Bug 5126938 dependency and miscellaneous bug fixes"

12 years agoMerge "Updates to slesTestRecBuffQueue test app"
Glenn Kasten [Tue, 9 Aug 2011 17:52:01 +0000 (10:52 -0700)]
Merge "Updates to slesTestRecBuffQueue test app"

12 years agoMerge "Bug 4603165 playback rate change"
Glenn Kasten [Tue, 9 Aug 2011 17:50:48 +0000 (10:50 -0700)]
Merge "Bug 4603165 playback rate change"

12 years agoMerge "Bug (5106403): Serialize filter input values across threads."
Marius Renn [Tue, 9 Aug 2011 16:40:30 +0000 (09:40 -0700)]
Merge "Bug (5106403): Serialize filter input values across threads."

12 years agoMerge "Bugfix (5088434): Accessing bitmap data on non-RGBA native frames."
Marius Renn [Tue, 9 Aug 2011 16:40:11 +0000 (09:40 -0700)]
Merge "Bugfix (5088434): Accessing bitmap data on non-RGBA native frames."

12 years agoUpdates to slesTestRecBuffQueue test app
Glenn Kasten [Mon, 8 Aug 2011 23:24:34 +0000 (16:24 -0700)]
Updates to slesTestRecBuffQueue test app

Allow the preset number to be specified on command line,
or to use default.

Change-Id: Ia4e996f8726a6bd8ca781bba5930b63bcba854bc

12 years agoMerge "Add background replacement Effect."
Eino-Ville Talvala [Mon, 8 Aug 2011 23:08:36 +0000 (16:08 -0700)]
Merge "Add background replacement Effect."

12 years agoMerge "Add background replacement filter to mobile filter framework."
Eino-Ville Talvala [Mon, 8 Aug 2011 23:08:35 +0000 (16:08 -0700)]
Merge "Add background replacement filter to mobile filter framework."

12 years agoMerge "Bug 5135150 Fix ifdef C++"
Glenn Kasten [Mon, 8 Aug 2011 21:22:21 +0000 (14:22 -0700)]
Merge "Bug 5135150 Fix ifdef C++"

12 years agoMerge "Add playback rate to buffer queue test player"
Glenn Kasten [Mon, 8 Aug 2011 21:22:10 +0000 (14:22 -0700)]
Merge "Add playback rate to buffer queue test player"

12 years agoBug 5126938 dependency and miscellaneous bug fixes
Glenn Kasten [Mon, 8 Aug 2011 16:40:34 +0000 (09:40 -0700)]
Bug 5126938 dependency and miscellaneous bug fixes

Fixing bug 5126938 will involve adding the IAndroidConfiguration interface
to CMediaPlayer object.  In the process of doing this, I found a few
miscellaneous bugs in the error handling for IAndroidConfiguration.  This
CL fixes those bugs, and prepares for adding the interface CMediaPlayer
by making it easier to support new objects with the interface.

Details:

 - Generic error handling:
   Move some error checks from the object-specific code into the generic
     IAndroidConfiguration.c.
   Fix bug in SetConfiguration and GetConfiguration where we were not
     checking configKey for NULL
   Return SL_RESULT_FEATURE_UNSUPPORTED instead of
      SL_RESULT_PARAMETER_INVALID if IAConfig interface is exposed on
      an object which doesn't really support it (this could if the classes.c
      interfaces table was updated before the cases were updated).
      Compare with IMuteSolo for non-AudioPlayer.

 - Object-specific error handling:
   Fix bug where we weren't returning the actual value size in
     audioPlayer_getConfig when pValueSize was non-NULL and pConfigValue
     was NULL.
   Return result SL_RESULT_BUFFER_INSUFFICIENT instead of
     SL_RESULT_PARAMETER_INVALID when output buffer is specified
     as non-NULL but available space is too small.  Compare with
     IAudioIODeviceCapabilities.
   Return result SL_RESULT_SUCCESS instead of SL_RESULT_PARAMETER_INVALID
     when output buffer is specified as NULL; this is intended to allow
     the application to discover the required space.  Compare with
     IAudioIODeviceCapabilities.

  - Use 'switch' instead of 'if' for checking object types, to improve
    readability when adding more object types

Change-Id: I8b2cdd506a36bfa9b1326a8a9966a6633bbbba6d

12 years agoMerge "Miscellaneous loop test improvements"
Glenn Kasten [Mon, 8 Aug 2011 17:53:48 +0000 (10:53 -0700)]
Merge "Miscellaneous loop test improvements"

12 years agoBug 5135150 Fix ifdef C++
Glenn Kasten [Mon, 8 Aug 2011 17:20:39 +0000 (10:20 -0700)]
Bug 5135150 Fix ifdef C++

Change-Id: Ic28452ce6b0c717722098699092f1797424a6d9b

12 years agoMiscellaneous loop test improvements
Glenn Kasten [Tue, 2 Aug 2011 20:07:34 +0000 (13:07 -0700)]
Miscellaneous loop test improvements

Enable HEADATEND event to see whether looping causes that event.
Recover from prefetch errors using the new approach of condition signal rather than polling.
Check result returned by GetFillLevel.

Other changes:
 - Make assert work.
 - Pass NULL as 3rd parameter to RegisterCallback when context is not needed.
 - Use CheckErr instead of assert when checking result codes.
 - Add comments.

Change-Id: I972b9eca9836e62141b6a078345f091e60689321

12 years agoAdd playback rate to buffer queue test player
Glenn Kasten [Wed, 3 Aug 2011 21:33:43 +0000 (14:33 -0700)]
Add playback rate to buffer queue test player

Change-Id: I831290c1d70bbd66031f609a63549801b7c7f57b

12 years agoAdd background replacement Effect.
Eino-Ville Talvala [Thu, 4 Aug 2011 20:43:52 +0000 (13:43 -0700)]
Add background replacement Effect.

Bug: 5061093
Change-Id: I8db69381627c89eb9851a3383e3715ce8ee934df

12 years agoAdd background replacement filter to mobile filter framework.
Eino-Ville Talvala [Wed, 3 Aug 2011 22:00:44 +0000 (15:00 -0700)]
Add background replacement filter to mobile filter framework.

Bug: 5098987
Change-Id: I242d2a13403b3d1ace74b8b41bd23734ce0333e2

12 years agoMerge "Revert "Add background replacement Effect.""
Eddy Talvala [Fri, 5 Aug 2011 17:12:19 +0000 (10:12 -0700)]
Merge "Revert "Add background replacement Effect.""

12 years agoMerge "Revert "Add background replacement filter to mobile filter framework.""
Eddy Talvala [Fri, 5 Aug 2011 17:12:18 +0000 (10:12 -0700)]
Merge "Revert "Add background replacement filter to mobile filter framework.""

12 years agoRevert "Add background replacement Effect."
Eddy Talvala [Fri, 5 Aug 2011 16:39:22 +0000 (09:39 -0700)]
Revert "Add background replacement Effect."

This reverts commit 3aeb06f571d69db6e7dcdca85f328b022c041f90

12 years agoRevert "Add background replacement filter to mobile filter framework."
Eddy Talvala [Fri, 5 Aug 2011 16:39:19 +0000 (09:39 -0700)]
Revert "Add background replacement filter to mobile filter framework."

This reverts commit b07371016b15886136e88f1ec62d53daa3c5053f

12 years agoMerge "Add background replacement Effect."
Eino-Ville Talvala [Fri, 5 Aug 2011 16:21:43 +0000 (09:21 -0700)]
Merge "Add background replacement Effect."

12 years agoMerge "Add background replacement filter to mobile filter framework."
Eino-Ville Talvala [Fri, 5 Aug 2011 16:21:42 +0000 (09:21 -0700)]
Merge "Add background replacement filter to mobile filter framework."

12 years agoMerge "Bug 5903270 play interface, events, markers, etc."
Glenn Kasten [Fri, 5 Aug 2011 15:53:20 +0000 (08:53 -0700)]
Merge "Bug 5903270 play interface, events, markers, etc."

12 years agoAdd background replacement Effect.
Eino-Ville Talvala [Thu, 4 Aug 2011 20:43:52 +0000 (13:43 -0700)]
Add background replacement Effect.

Bug: 5061093
Change-Id: Icdcf7597c9ce2ee9e6443d3b9eeaf9c99b57c809

12 years agoBugfix (5088434): Accessing bitmap data on non-RGBA native frames.
Marius Renn [Thu, 4 Aug 2011 22:17:33 +0000 (15:17 -0700)]
Bugfix (5088434): Accessing bitmap data on non-RGBA native frames.

Change-Id: I8db22b6d78c5350815c043acbc55e578bee1a8a0

12 years agoMerge "Fix race in reverb test"
Glenn Kasten [Thu, 4 Aug 2011 21:50:10 +0000 (14:50 -0700)]
Merge "Fix race in reverb test"

12 years agoMerge "Bug 5110581 SL_PLAYEVENT_HEADATEND while looping"
Glenn Kasten [Thu, 4 Aug 2011 21:49:56 +0000 (14:49 -0700)]
Merge "Bug 5110581 SL_PLAYEVENT_HEADATEND while looping"

12 years agoAdd background replacement filter to mobile filter framework.
Eino-Ville Talvala [Wed, 3 Aug 2011 22:00:44 +0000 (15:00 -0700)]
Add background replacement filter to mobile filter framework.

Bug: 5098987
Change-Id: Ib96da73756b736f2960b39cdc47673b52134e881

12 years agoBug 4603165 playback rate change
Glenn Kasten [Thu, 4 Aug 2011 17:32:46 +0000 (10:32 -0700)]
Bug 4603165 playback rate change

Non-trivial implementation is only for AudioTrack with rate range 500
to 2000 per mille and property SL_RATEPROP_NOPITCHCORAUDIO; for Android
MediaPlayer the rate range is 1000 to 1000 per mille.

Details:
 - no multi-range
 - fix SMP races in GetRate, SetPropertyConstraints, GetProperties
 - SetRate only updates mRate if successful
 - Rate_SetPropertyConstraints only updates mProperties if successful
 - return SL_RESULT_FEATURE_UNSUPPORTED for non-AudioPlayers
   which have this interface (currently only MidiPlayer)
 - for Android, atomically set playback rate and constraints
   and simplify to use hard-coded constraints rather than querying
 - per the spec, SetPropertyConstraints now returns
   SL_RESULT_PARAMETER_INVALID if the constraints are out of range,
   or SL_RESULT_FEATURE_UNSUPPORTED if the constraints are in range but
   not supported by this implementation

Change-Id: I051ff92b20f3845ffa12bccec778937d42823e5d

12 years agoBug 5903270 play interface, events, markers, etc.
Glenn Kasten [Fri, 29 Jul 2011 14:39:25 +0000 (07:39 -0700)]
Bug 5903270 play interface, events, markers, etc.

As the media framework does not directly support marker and periodic
callbacks, we use a retriggerable one-shot timer at application level
to emulate this.  This has the advantage of being faster, but is also
less accurate than if it were in the framework.

Details:
 - Get position is now synchronous and (mostly) lock-free
 - Fix regression in SL_PLAYEVENT_HEADATMARKER and SL_PLAYEVENTHEADATNEWPOS
 - Fix SMP races in GetPlayState, GetCallbackEventsMask, GetMarkerPosition,
   GetPositionUpdatePeriod
 - AudioSfDecoder was not updating mPositionMsec when getPositionUsec failed
 - Updating attributes is relatively expensive, so only do it when a significant change
    in SetMarkerPosition, ClearMarkerPosition, SetPositionUpdatePeriod
 - Error on unknown message type in onMessageReceived
 - Delete an obsolete FIXME
 - "Clearing" a marker is now equivalent to disabling the marker event,
   and the default marker position is cleared.
 - use Android time units and types (int32_t, ANDROID_UNKNOWN_TIME, etc.) where appropriate
   instead of SLmillisecond and SL_TIME_UNKNOWN

Change-Id: Ib78bafa20d883b8d927364769663837389b6ea1d

12 years agoadd ImageSlicer and ImageStitcher filters.
Ruei-sung Lin [Thu, 4 Aug 2011 00:42:44 +0000 (17:42 -0700)]
add ImageSlicer and ImageStitcher filters.

Change-Id: Id47e121aa783d02ef7f63b6b1c8d724fa4e2d57b

12 years agoMerge "Fix for 5117329: Stored frames which are externally visible check validity."
Marius Renn [Thu, 4 Aug 2011 03:07:44 +0000 (20:07 -0700)]
Merge "Fix for 5117329: Stored frames which are externally visible check validity."

12 years agoMerge "Fix for 5117999: Make isEffectSupported() a static method."
Marius Renn [Thu, 4 Aug 2011 01:59:09 +0000 (18:59 -0700)]
Merge "Fix for 5117999: Make isEffectSupported() a static method."

12 years agoMerge "Fix for 5117285: Stream-based filters no longer close streams."
Marius Renn [Thu, 4 Aug 2011 00:59:44 +0000 (17:59 -0700)]
Merge "Fix for 5117285: Stream-based filters no longer close streams."

12 years agoFix for 5117285: Stream-based filters no longer close streams.
Marius Renn [Thu, 4 Aug 2011 00:40:02 +0000 (17:40 -0700)]
Fix for 5117285: Stream-based filters no longer close streams.

Stream-based filters should not close streams, as they do not open them.

Change-Id: I01688fecde4d80e6089fb4c2fd017144dfc88408

12 years agoadd customize option in SurfaceTectureTarget
Ruei-sung Lin [Wed, 3 Aug 2011 17:45:50 +0000 (10:45 -0700)]
add customize option in SurfaceTectureTarget

Change-Id: I297168c0f67928b2180f2d0ce95c2f6d3bbbf107

12 years agoMerge "Fix structgen script to build Java directory hierarchies."
Eino-Ville Talvala [Thu, 4 Aug 2011 00:34:14 +0000 (17:34 -0700)]
Merge "Fix structgen script to build Java directory hierarchies."

12 years agoFix for 5117999: Make isEffectSupported() a static method.
Marius Renn [Thu, 4 Aug 2011 00:29:43 +0000 (17:29 -0700)]
Fix for 5117999: Make isEffectSupported() a static method.

This is required for applications such as GTalk, which need to verify that
certain effects are available before they setup an EffectContext.

Change-Id: I0f22b2ef378ebf0cb916305bc2a9f6b093b0f715

12 years agoBug (5106403): Serialize filter input values across threads.
Marius Renn [Wed, 3 Aug 2011 22:35:40 +0000 (15:35 -0700)]
Bug (5106403): Serialize filter input values across threads.

Change-Id: I973cfc681f4e9a53fcdee15acf55d1935d9a9676

12 years agoFix for 5117329: Stored frames which are externally visible check validity.
Marius Renn [Wed, 3 Aug 2011 22:30:10 +0000 (15:30 -0700)]
Fix for 5117329: Stored frames which are externally visible check validity.

This patch adds callbacks to Frames to let them prepare frames for storage,
and validate them on retrieval.
Also includes some name changes to badly named functions in gl_frame.cpp.

Change-Id: Ie25ef5136a6f583cbb8f70d7c2f1c418b4bceb83

12 years agoMerge "Added FilterGraphEffect."
Wei Hua [Wed, 3 Aug 2011 22:29:05 +0000 (15:29 -0700)]
Merge "Added FilterGraphEffect."

12 years agoFix structgen script to build Java directory hierarchies.
Eino-Ville Talvala [Wed, 3 Aug 2011 22:01:46 +0000 (15:01 -0700)]
Fix structgen script to build Java directory hierarchies.

Bug: 509898
Change-Id: I27a1ee3dd3f3fcfa82c5f2620e5e30193327105d

12 years agoFix race in reverb test
Glenn Kasten [Sun, 24 Jul 2011 20:57:21 +0000 (13:57 -0700)]
Fix race in reverb test

Was setting play state to PAUSED before enabling prefetch callbacks

Change-Id: Idc3d19d87799afe7e8314199c1317cf2cea2c449

12 years agoMerge "Increase MediaSource's startup timeout."
Eino-Ville Talvala [Wed, 3 Aug 2011 21:01:17 +0000 (14:01 -0700)]
Merge "Increase MediaSource's startup timeout."

12 years agoAdded FilterGraphEffect.
Wei Hua [Wed, 3 Aug 2011 20:55:24 +0000 (13:55 -0700)]
Added FilterGraphEffect.

Make the texId in GLTextureTarget not final
Bug: 4966161

Change-Id: I0935194c957ef2c490d3661f4247ad1ea23a3512

12 years agoBug 5110581 SL_PLAYEVENT_HEADATEND while looping
Glenn Kasten [Tue, 2 Aug 2011 22:18:56 +0000 (15:18 -0700)]
Bug 5110581 SL_PLAYEVENT_HEADATEND while looping

Change-Id: Ia4d0433b4a6589bfda2f88addbe5b7eb3d0d9789

12 years agoMinor API implementation fixes.
Marius Renn [Wed, 3 Aug 2011 01:52:03 +0000 (18:52 -0700)]
Minor API implementation fixes.

- Documentation fixes.
- Private package lookup fix.
- Exception fix.

Change-Id: Ibae80a0b9c5eacdd95ec4c699e12eaec46b552c1

12 years agoMerge "Initial commit of the high-level public MFF effects SDK implementation."
Marius Renn [Wed, 3 Aug 2011 01:12:26 +0000 (18:12 -0700)]
Merge "Initial commit of the high-level public MFF effects SDK implementation."

12 years agoMerge "Bug 5109153 Remove log spam"
Glenn Kasten [Tue, 2 Aug 2011 23:23:21 +0000 (16:23 -0700)]
Merge "Bug 5109153 Remove log spam"

12 years agoMerge "Bug 5108531 Report the correct API level"
Glenn Kasten [Tue, 2 Aug 2011 23:23:06 +0000 (16:23 -0700)]
Merge "Bug 5108531 Report the correct API level"

12 years agoInitial commit of the high-level public MFF effects SDK implementation.
Marius Renn [Tue, 2 Aug 2011 20:55:34 +0000 (13:55 -0700)]
Initial commit of the high-level public MFF effects SDK implementation.

Includes fixes required for the Effects API:
- Explicit tear-down of MFF components.
- Better reuse of GL frames with external bindings.
- Fixed memory leaks.

Change-Id: I3a7397be1943361f6a8981cdf8313fd1670b26c8

12 years agoIncrease MediaSource's startup timeout.
Eino-Ville Talvala [Tue, 2 Aug 2011 20:43:51 +0000 (13:43 -0700)]
Increase MediaSource's startup timeout.

When streaming network URLs, the initial timeout of 5 seconds is
too short. Increasing to 10 seconds seems sufficient.

Bug: 5110877

Change-Id: I8071a7fee0bf0f5c28faef8fa69ab6790f110267

12 years agoMerge "Bug 5080320 MediaPlayer volume"
Glenn Kasten [Tue, 2 Aug 2011 19:35:13 +0000 (12:35 -0700)]
Merge "Bug 5080320 MediaPlayer volume"

12 years agoBug 5109153 Remove log spam
Glenn Kasten [Tue, 2 Aug 2011 16:08:40 +0000 (09:08 -0700)]
Bug 5109153 Remove log spam

Change-Id: I6c0c742bfa3f0078968dc5e2ea3578ad786067c5

12 years agoBug 5108531 Report the correct API level
Glenn Kasten [Tue, 2 Aug 2011 15:22:38 +0000 (08:22 -0700)]
Bug 5108531 Report the correct API level

Use build macro PLATFORM_SDK_VERSION to automatically update the reported
value, however the test program will still need manual updates.

Change-Id: Iae044605db65021c7d1e9825aab80ab5d6b552a8

12 years agoMerge "Bugfix (5085850): Added function to allow easy initialization of program host...
Marius Renn [Tue, 2 Aug 2011 00:05:49 +0000 (17:05 -0700)]
Merge "Bugfix (5085850): Added function to allow easy initialization of program host variables."

12 years agoMerge "Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA."
Marius Renn [Tue, 2 Aug 2011 00:05:39 +0000 (17:05 -0700)]
Merge "Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA."

12 years agoMerge "Fix makefile function call syntax"
Ying Wang [Mon, 1 Aug 2011 20:04:27 +0000 (13:04 -0700)]
Merge "Fix makefile function call syntax"

12 years agoBugfix (5085850): Added function to allow easy initialization of program host variables.
Marius Renn [Mon, 1 Aug 2011 19:29:33 +0000 (12:29 -0700)]
Bugfix (5085850): Added function to allow easy initialization of program host variables.

Change-Id: If7d88a015b75937d5f49cdb51120de5f75ee6d17

Changed 2 filters to use new simplified method.

Note: This requires that other affected filters are updated to make
use of the new functionality.

12 years agoBugfix (5064211): Fix uniform access and lookups to work on non-TEGRA.
Marius Renn [Mon, 1 Aug 2011 18:47:58 +0000 (11:47 -0700)]
Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA.

Change-Id: I75f80db09d9836754c7071ed8fd3c88ab317d989

12 years agoBug 5080320 MediaPlayer volume
Glenn Kasten [Thu, 28 Jul 2011 15:45:22 +0000 (08:45 -0700)]
Bug 5080320 MediaPlayer volume

Details:
 - re-factor volume-related code yet again
 - remove dead variables mAmplFromVolLevel, mAmplFromStereoPos, mDirectLevel
 - add placeholders for kEventPrefetchFillLevelUpdate and kEventPrefetchStatusChange

Known issues:
 - MPEG-2 TS doesn't yet implement the ability to query channel count, so default to stereo

Change-Id: Ic0f2297b267dc3d380755e8d314e1d5f0f659d7c

12 years agoMerge "Bug 5082191 fix slesTest_decodeToBuffQueue assert"
Glenn Kasten [Fri, 29 Jul 2011 22:40:46 +0000 (15:40 -0700)]
Merge "Bug 5082191 fix slesTest_decodeToBuffQueue assert"

12 years agoMerge "Bug 5092976 no spurious callbacks on prefetch fail"
Glenn Kasten [Fri, 29 Jul 2011 14:19:36 +0000 (07:19 -0700)]
Merge "Bug 5092976 no spurious callbacks on prefetch fail"

12 years agoMerge "Bug 5081346 fix whole file looping"
Glenn Kasten [Fri, 29 Jul 2011 14:18:10 +0000 (07:18 -0700)]
Merge "Bug 5081346 fix whole file looping"

12 years agoMerge "Adding MediaEncoderFilter for encoding GLFrames"
Pannag Sanketi [Fri, 29 Jul 2011 01:48:00 +0000 (18:48 -0700)]
Merge "Adding MediaEncoderFilter for encoding GLFrames"

12 years agoFix bug in CameraSource resolution selection.
Eino-Ville Talvala [Thu, 28 Jul 2011 23:01:56 +0000 (16:01 -0700)]
Fix bug in CameraSource resolution selection.

Bug: 5083927

Change-Id: I2ff78b717e8092c14f73fc51bb3802a275d08bbf

12 years agoBug 5081346 fix whole file looping
Glenn Kasten [Tue, 26 Jul 2011 21:26:47 +0000 (14:26 -0700)]
Bug 5081346 fix whole file looping

Change-Id: If4e233f9007d7e48225a342a43f06df7f66cdea7

12 years agoBug 5092976 no spurious callbacks on prefetch fail
Glenn Kasten [Thu, 28 Jul 2011 22:14:27 +0000 (15:14 -0700)]
Bug 5092976 no spurious callbacks on prefetch fail

Change-Id: I754085b4d1e43c4d10bea36e0fb683d8113844e9

12 years agoAdding MediaEncoderFilter for encoding GLFrames
Pannag Sanketi [Fri, 8 Jul 2011 18:31:00 +0000 (11:31 -0700)]
Adding MediaEncoderFilter for encoding GLFrames

Added MediaEncoderFilter inside MFF which can record GLFrames. It uses
MediaRecorder underneath. GLEnvironment gets a native window handle
using the MediaRecorder object, and creates an EGLSurface using that.
Any frames rendered to that frame are forwarded to the
StageFrightRecorder via the native window handle obtained from
MediaRecorder.

Related to bug id: 4529323

Change-Id: I0322e8dfa29ba47741222fcb8accf18eab7c050b

12 years agoBug 5082191 fix slesTest_decodeToBuffQueue assert
Glenn Kasten [Wed, 27 Jul 2011 00:36:51 +0000 (17:36 -0700)]
Bug 5082191 fix slesTest_decodeToBuffQueue assert

Change-Id: I2ec181cc7eba000847bd28e6d04733d3496d74d9

12 years agoBug 4599730 fix mute solo, channel count, volume
Glenn Kasten [Mon, 25 Jul 2011 16:27:01 +0000 (09:27 -0700)]
Bug 4599730 fix mute solo, channel count, volume

Change-Id: I1624c744168233c4ef79f2cd3090447b8aa7d53b

12 years agoFix makefile function call syntax
Ying Wang [Thu, 28 Jul 2011 00:05:58 +0000 (17:05 -0700)]
Fix makefile function call syntax

Before this change, the newline character will be carried to the shell
command. So no file name will be returned.

Change-Id: I54ce7da62711bf8e0bd35831e361cbf4eedbcee8

12 years agoMerge "Report last decoded position as AudioPlayer position for PCM decode"
Jean-Michel Trivi [Wed, 27 Jul 2011 23:13:55 +0000 (16:13 -0700)]
Merge "Report last decoded position as AudioPlayer position for PCM decode"