OSDN Git Service

android-x86/system-media.git
12 years agoFix indentation and redundant whitespace
Glenn Kasten [Fri, 12 Aug 2011 21:29:12 +0000 (14:29 -0700)]
Fix indentation and redundant whitespace

Change-Id: I8e0193ad5aa9405f64203bf7814d8a9e434c5dde

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Wed, 7 Dec 2011 15:44:58 +0000 (07:44 -0800)]
Reconcile with ics-mr1-release

Change-Id: I2e44bc34002b9d53adf8f7df72c9980f612e6274

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 7 Dec 2011 00:55:14 +0000 (16:55 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 28cd3686: Merge "CTS-like Test for Face Effects recording support" into ics-mr1
Eddy Talvala [Wed, 7 Dec 2011 00:04:46 +0000 (16:04 -0800)]
am 28cd3686: Merge "CTS-like Test for Face Effects recording support" into ics-mr1

* commit '28cd368665e7e5576102edfa8fa67ec09a6d3c69':
  CTS-like Test for Face Effects recording support

12 years agoMerge "CTS-like Test for Face Effects recording support" into ics-mr1
Eddy Talvala [Tue, 6 Dec 2011 21:34:24 +0000 (13:34 -0800)]
Merge "CTS-like Test for Face Effects recording support" into ics-mr1

12 years agoam b7b605ff: Reconcile with ics-mr0-release
The Android Open Source Project [Tue, 6 Dec 2011 17:00:18 +0000 (09:00 -0800)]
am b7b605ff: Reconcile with ics-mr0-release

* commit 'b7b605ff5b4682bc650461c2b987aa031a1071ca':
  DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

12 years agoReconcile with ics-mr0-release
The Android Open Source Project [Tue, 6 Dec 2011 16:56:05 +0000 (08:56 -0800)]
Reconcile with ics-mr0-release

Change-Id: I5f6ea1b12b77924424ff87495db2b2a262f8f3f4

12 years agoDO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.
Eino-Ville Talvala [Thu, 17 Nov 2011 19:34:20 +0000 (11:34 -0800)]
DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

Minimal cherry-pick from MR1.

An asynchronous SurfaceTexture only sends out a frame available
callback the first time a new buffer comes in; if a onFrameAvailable-
listener is not registered at this point, the callback never happens
even when new frames come in.

SurfaceTextureSource was calling its onSurfaceTextureSourceReady-
listener with a newly created SurfaceTexture before hooking up the
SurfaceTexture's onFrameAvailable-listener. This opened a window of
time for the onSurfaceTextureSourceReady-listener to set up the
provider end of the SurfaceTexture, and for the provider to get
buffers into the SurfaceTexture queue before the
onFrameAvailable-listener was registered.

And as a result, no new frame callback ever fired, and
SurfaceTextureSource eventually times out, or goes into permanent
sleep.

This change simply makes sure the onFrameAvailable-listener is
registered before the onSurfaceTextureSourceReady callback is fired.

Bug: 5614661
Change-Id: I8d6a72444ffc36b5c48952d0b1edd530ecb76478

12 years agoCTS-like Test for Face Effects recording support
Pannag Sanketi [Mon, 28 Nov 2011 22:30:20 +0000 (14:30 -0800)]
CTS-like Test for Face Effects recording support

Vendors can run this test for checking if the device supports the
effects recording, which needs them to support a particular EGL
extension. That cannot be part of the actual cts test for now since that
part of the filterfw is not part of the  public api.

Related bug: 5584686
Change-Id: Ica444e54d1e6fb79721b401b67518f182e8616a6

12 years agoam 6b77115d: (-s ours) am 3e843769: DO NOT MERGE: Fix ordering of SurfaceTexture...
Eino-Ville Talvala [Wed, 30 Nov 2011 22:50:43 +0000 (14:50 -0800)]
am 6b77115d: (-s ours) am 3e843769: DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

* commit '6b77115da5de1e6d82a1e96e30ffdb3f1a90a54d':
  DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

12 years agoam 3e843769: DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSo...
Eino-Ville Talvala [Wed, 30 Nov 2011 22:46:19 +0000 (14:46 -0800)]
am 3e843769: DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

* commit '3e843769e46d3d53aa2565bf80af1e800a3bbf1e':
  DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

12 years agoDO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.
Eino-Ville Talvala [Thu, 17 Nov 2011 19:34:20 +0000 (11:34 -0800)]
DO NOT MERGE: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

Minimal cherry-pick from MR1.

An asynchronous SurfaceTexture only sends out a frame available
callback the first time a new buffer comes in; if a onFrameAvailable-
listener is not registered at this point, the callback never happens
even when new frames come in.

SurfaceTextureSource was calling its onSurfaceTextureSourceReady-
listener with a newly created SurfaceTexture before hooking up the
SurfaceTexture's onFrameAvailable-listener. This opened a window of
time for the onSurfaceTextureSourceReady-listener to set up the
provider end of the SurfaceTexture, and for the provider to get
buffers into the SurfaceTexture queue before the
onFrameAvailable-listener was registered.

And as a result, no new frame callback ever fired, and
SurfaceTextureSource eventually times out, or goes into permanent
sleep.

This change simply makes sure the onFrameAvailable-listener is
registered before the onSurfaceTextureSourceReady callback is fired.

Bug: 5614661
Change-Id: I8d6a72444ffc36b5c48952d0b1edd530ecb76478

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Wed, 30 Nov 2011 20:56:23 +0000 (12:56 -0800)]
Reconcile with ics-mr1-release

Change-Id: I028ce272d04e55877b502cfeaabe6bd7e59ca05e

12 years agoam 30f49ce0: Merge "Bug 5622637 missing XA_PLAYEVENT_HEADATPOS" into ics-mr1
Glenn Kasten [Wed, 30 Nov 2011 18:50:39 +0000 (10:50 -0800)]
am 30f49ce0: Merge "Bug 5622637 missing XA_PLAYEVENT_HEADATPOS" into ics-mr1

* commit '30f49ce0c8f9ee464e87552a6fb4fb3d6b09959c':
  Bug 5622637 missing XA_PLAYEVENT_HEADATPOS

12 years agoresolved conflicts for merge of 2917f475 to master
Jean-Michel Trivi [Wed, 30 Nov 2011 18:13:36 +0000 (10:13 -0800)]
resolved conflicts for merge of 2917f475 to master

Change-Id: I63f4689fabb2aee1682d785ad9c41f06de380396

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 30 Nov 2011 14:47:13 +0000 (06:47 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Bug 5622637 missing XA_PLAYEVENT_HEADATPOS" into ics-mr1
Glenn Kasten [Wed, 30 Nov 2011 00:43:28 +0000 (16:43 -0800)]
Merge "Bug 5622637 missing XA_PLAYEVENT_HEADATPOS" into ics-mr1

12 years agoam 7898a5c5: Reflect (internal) API changes made to the IStreamSource interface.
Andreas Huber [Wed, 30 Nov 2011 00:32:59 +0000 (16:32 -0800)]
am 7898a5c5: Reflect (internal) API changes made to the IStreamSource interface.

* commit '7898a5c5f283c9487da48ef92f623c149d8a7a72':
  Reflect (internal) API changes made to the IStreamSource interface.

12 years agoFix bug 5553055 support video only format change in MP2TS
Jean-Michel Trivi [Tue, 29 Nov 2011 22:20:42 +0000 (14:20 -0800)]
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

12 years agoMerge "Bug fixes and cleanup for video codec profiles"
Glenn Kasten [Tue, 29 Nov 2011 21:11:09 +0000 (13:11 -0800)]
Merge "Bug fixes and cleanup for video codec profiles"

12 years agoBug fixes and cleanup for video codec profiles
Glenn Kasten [Fri, 11 Nov 2011 20:10:41 +0000 (12:10 -0800)]
Bug fixes and cleanup for video codec profiles

Bug fixes:
 - removed the line VideoDecoderNbProfLevel[c] = 0;"
   it could overwrite the MPEG2 entry if only one codec implementation,
   or worse if there were multiple codec implementations
 - android_videoCodec_getProfileLevelCombinationNb was returning success
   and zero count if a decoder has zero profile/level combinations,
   but OpenMAX AL 1.0.1 spec says it must fail in that case.

Minor cleanup:
 - omx does not need to be global
 - We only use the first codec implementation for a given
   decoder ID / MIME type, so simplify the code that iterates through
   the array of codec implementations
 - Add some const
 - Add some comments

Also includes #if 0 code to restrict reported video codec profiles,
as a placeholder -- disabled for now.

Change-Id: I81991f164efaf3606beb5789e1a79cf76ad033a0

12 years agoReflect (internal) API changes made to the IStreamSource interface.
Andreas Huber [Tue, 29 Nov 2011 19:56:24 +0000 (11:56 -0800)]
Reflect (internal) API changes made to the IStreamSource interface.

Change-Id: I5cde6bc0d4bd9c62b4851d7e6375cd9216c7c062
related-to-bug: 5553055

12 years agoMerge "Remove AudioTrackProxy since AudioTrack is RefBase"
Glenn Kasten [Tue, 29 Nov 2011 18:05:44 +0000 (10:05 -0800)]
Merge "Remove AudioTrackProxy since AudioTrack is RefBase"

12 years agoMerge "Bug 5550980 test xaVideoDecoderCapabilities"
Glenn Kasten [Tue, 29 Nov 2011 18:04:12 +0000 (10:04 -0800)]
Merge "Bug 5550980 test xaVideoDecoderCapabilities"

12 years agoBug 5550980 test xaVideoDecoderCapabilities
Glenn Kasten [Tue, 29 Nov 2011 18:01:37 +0000 (10:01 -0800)]
Bug 5550980 test xaVideoDecoderCapabilities

Print video codec profiles and levels as strings in addition to numbers.

Change-Id: I88d84121fe15c1cc1ba84067ec6b6bdb3405d704

12 years agoBug 5622637 missing XA_PLAYEVENT_HEADATPOS
Glenn Kasten [Tue, 29 Nov 2011 16:52:13 +0000 (08:52 -0800)]
Bug 5622637 missing XA_PLAYEVENT_HEADATPOS

Fix problem with a missing XA_PLAYEVENT_HEADATPOS after seek backwards,
due to a race condition between getPosition and onSeekComplete.

Change-Id: I408c8675df8a9b3cbd2874435fbeccdca355bc46

12 years agoMerge "Bugfix for B5582675: FaceLift on 2x2 images"
Marius Renn [Mon, 28 Nov 2011 22:10:51 +0000 (14:10 -0800)]
Merge "Bugfix for B5582675: FaceLift on 2x2 images"

12 years agoaudio utils: fix resampler frame count calculation
Eric Laurent [Mon, 28 Nov 2011 18:57:39 +0000 (10:57 -0800)]
audio utils: fix resampler frame count calculation

The calculation of the number of input frames needed by
resampler_resample_from_provider() for a given number of output frames
is broken. The consequence is that we request too many frames when upsampling
causing unecessary buffering and delay and too few frames when downsampling causing
more calls to provider->get_next_buffer() than necessary.

Change-Id: I74b6a1708f347f45ca3c12312bf1b47320823742

12 years agoBugfix for B5582675: FaceLift on 2x2 images
Marius Renn [Thu, 10 Nov 2011 01:49:22 +0000 (17:49 -0800)]
Bugfix for B5582675: FaceLift on 2x2 images

Any image that was smaller than 4 in width would cause an exception. This
edge case is now handled properly.

Change-Id: I7316a3f99070ab43ccba824d3cbccef4b613fc03

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Tue, 22 Nov 2011 21:26:36 +0000 (13:26 -0800)]
Reconcile with ics-mr1-release

Change-Id: I75bc4cd928873b79be9bf0d8561f765f61e6fbde

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Tue, 22 Nov 2011 19:57:11 +0000 (11:57 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Fri, 18 Nov 2011 23:43:45 +0000 (15:43 -0800)]
Reconcile with ics-mr1-release

Change-Id: I65e29d550f42cd3614ad170b79589cec9a5a1d93

12 years agoMerge "Bug 5238515 AndroidBufferQueue miscellaneous"
Glenn Kasten [Fri, 18 Nov 2011 00:16:12 +0000 (16:16 -0800)]
Merge "Bug 5238515 AndroidBufferQueue miscellaneous"

12 years agoam b47a61dd: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.
Eino-Ville Talvala [Thu, 17 Nov 2011 23:56:24 +0000 (15:56 -0800)]
am b47a61dd: Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

* commit 'b47a61dddc87d4ccc2cfc1031991172a043b906a':
  Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

12 years agoFix ordering of SurfaceTexture startup in SurfaceTextureSource.
Eino-Ville Talvala [Thu, 17 Nov 2011 19:34:20 +0000 (11:34 -0800)]
Fix ordering of SurfaceTexture startup in SurfaceTextureSource.

An asynchronous SurfaceTexture only sends out a frame available
callback the first time a new buffer comes in; if a onFrameAvailable-
listener is not registered at this point, the callback never happens
even when new frames come in.

SurfaceTextureSource was calling its
onSurfaceTextureSourceReady-listener with a newly created
SurfaceTexture before hooking up the SurfaceTexture's
onFrameAvailable-listener. This opened a window of time for the
onSurfaceTextureSourceReady-listener to set up the provider end of the
SurfaceTexture, and for the provider to get buffers into the
SurfaceTexture queue before the onFrameAvailable-listener was
registered.

And as a result, no new frame callback ever fired, and
SurfaceTextureSource eventually times out, or goes into permanent
sleep.

This change simply makes sure the onFrameAvailable-listener is
registered before the onSurfaceTextureSourceReady callback is fired.

Bug: 5614661
Change-Id: I8d6a72444ffc36b5c48952d0b1edd530ecb76478

12 years agoRemove AudioTrackProxy since AudioTrack is RefBase
Glenn Kasten [Tue, 15 Nov 2011 21:54:02 +0000 (13:54 -0800)]
Remove AudioTrackProxy since AudioTrack is RefBase

Change-Id: I4a1f755178699e0fdedf58e1f3cbd82e6067e071

12 years agoBug 5238515 AndroidBufferQueue miscellaneous
Glenn Kasten [Thu, 15 Sep 2011 22:59:24 +0000 (15:59 -0700)]
Bug 5238515 AndroidBufferQueue miscellaneous

AndroidBufferQueue:
 - errors found by setItems are now hard errors, and cause Enqueue to
   return an error result (e.g. PARAMETER_INVALID or PRECONDITIONS_VIOLATED)
 - disallow EOS with non-zero data
 - disallow Enqueue after EOS
 - Enqueue checks MPEG-2 sync byte of first packet to reduce chance of downstream failures
 - use MPEG-2 terminology "packet" instead of "block"
 - Clear and init don't need to erase buffer content, as it is inaccessible
 - put placeholder in IAndroidBufferQueue_SetCallbackEventsMask
   for additional events beyond SL_ANDROIDBUFFERQUEUEEVENT_PROCESSED
 - comment unused field mBufferState in AdvancedBufferHeader
 - fix a minor typo
 - add dump method, #if 0 out by default

Change-Id: I11921e3784bfdb30e2cebaa1dabb705ea5ab0b92

12 years agoMerge "Remove private ANativeWindow_fromSurfaceTexture"
Glenn Kasten [Tue, 15 Nov 2011 23:24:47 +0000 (15:24 -0800)]
Merge "Remove private ANativeWindow_fromSurfaceTexture"

12 years agoAAC decode test additions
Glenn Kasten [Wed, 28 Sep 2011 00:09:30 +0000 (17:09 -0700)]
AAC decode test additions

Add prefetch status check: believe it or not, this can actually fail if
the first AAC frame is invalid (I found this out the hard way).

Use SL_PLAYEVENT_HEADATEND event to detect end of decode.
No more sleeps!

Fix typos in checking the per-buffer context.

Display message when corrupt AAC frame, and display frame sizes.

Add option to enable raw output, on by default.

Use same naming conventions as other tests: slesTest_decodeAac.

Clean up the comments.

Move metadata key queries (but not values!) to before prefetch started.

Change-Id: I69e89f3c67c5310e45117dffd08c55bed9f5914a

12 years agoMerge "Simplify code for the AAC decode use case"
Glenn Kasten [Tue, 15 Nov 2011 18:51:46 +0000 (10:51 -0800)]
Merge "Simplify code for the AAC decode use case"

12 years agoSimplify code for the AAC decode use case
Glenn Kasten [Thu, 29 Sep 2011 16:40:50 +0000 (09:40 -0700)]
Simplify code for the AAC decode use case

Details:

AacBqToPcmCbRenderer constructor
now takes an additional parameter: the IAndroidBufferQueue * interface.

So now there is no need to register a callback after construction,
and AacBqToPcmCbRenderer::registerSourceQueueCallback
can be deleted.

This allows android_audioPlayer_androidBufferQueue_registerCallback_l
to be deleted.

AacBqToPcmCbRenderer::mBqSource is always non-NULL and const, so this
allows removal of mBqSourceLock and some error-checking code.

BufferQueueSource source constructor now takes the IAndroidBufferQueue *
interface instead of the list [user, context, caller].

This allows mAndroidBufferQueueSource to be const, which then allows
more code to be deleted in IAndroidBufferQueue_RegisterCallback.

new AacAdtsExtractor can't fail.

Change-Id: I1f39ccc1e69833fe6df616feb76edbe4ce82fca7

12 years agoMerge "More logging of media events for debugging"
Glenn Kasten [Tue, 15 Nov 2011 18:21:09 +0000 (10:21 -0800)]
Merge "More logging of media events for debugging"

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Tue, 15 Nov 2011 14:46:51 +0000 (06:46 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam e75ba3ef: Merge "Bug 5201321 recover from mediaserver crash" into ics-mr1
Glenn Kasten [Mon, 14 Nov 2011 15:48:56 +0000 (07:48 -0800)]
am e75ba3ef: Merge "Bug 5201321 recover from mediaserver crash" into ics-mr1

* commit 'e75ba3eff247622fdf36974d2216dcaff269ea5c':
  Bug 5201321 recover from mediaserver crash

12 years agoMerge "Bug 5201321 recover from mediaserver crash" into ics-mr1
Glenn Kasten [Mon, 14 Nov 2011 15:23:59 +0000 (07:23 -0800)]
Merge "Bug 5201321 recover from mediaserver crash" into ics-mr1

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Sun, 13 Nov 2011 14:47:52 +0000 (06:47 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 760eb949: Fixing mirrored background video in camera effects
Pannag Sanketi [Sat, 12 Nov 2011 02:46:47 +0000 (18:46 -0800)]
am 760eb949: Fixing mirrored background video in camera effects

* commit '760eb949cf0abe299e6c6710cda5c52364945ae0':
  Fixing mirrored background video in camera effects

12 years agoRemove private ANativeWindow_fromSurfaceTexture
Glenn Kasten [Sat, 12 Nov 2011 01:03:59 +0000 (17:03 -0800)]
Remove private ANativeWindow_fromSurfaceTexture

ANativeWindow_fromSurfaceTexture was a private API that is now deprecated
and is being removed in a separate CL.  This change replaces all the
known uses by the preferred API ANativeWindow_fromSurface.

Note: a Surface can be derived from a SurfaceTexture by:

    SurfaceTexture st = ...;
    Surface s = new Surface(st);
    // use s
    s.release();

Change-Id: Ia55c023fc1487177ec76ae406ed77193083c9eac

12 years agoFixing mirrored background video in camera effects
Pannag Sanketi [Wed, 9 Nov 2011 00:00:45 +0000 (16:00 -0800)]
Fixing mirrored background video in camera effects

The MediaSource is set to rotate so that it adjusts to the
rotation of the device, and displays upright. The backdropper does not
have to do any rotation except for the mirroring in case of front
camera.
Bug: 5490654
Change-Id: I36124c7ca7cce73b24683277370227abab97d55b

12 years agoMerge "MediaPlayer kEventPrepared similar to AudioPlayer"
Glenn Kasten [Thu, 10 Nov 2011 23:16:15 +0000 (15:16 -0800)]
Merge "MediaPlayer kEventPrepared similar to AudioPlayer"

12 years agoBug 5201321 recover from mediaserver crash
Glenn Kasten [Thu, 10 Nov 2011 02:13:31 +0000 (18:13 -0800)]
Bug 5201321 recover from mediaserver crash

Add a media player death notifier to recover from media server crashes.
Downgrade some logs.
Destructors should be protected.

Change-Id: I7774733bcb12fc7fbfe237bdbeffca1adde46e78

12 years agoMediaPlayer kEventPrepared similar to AudioPlayer
Glenn Kasten [Fri, 30 Sep 2011 18:34:07 +0000 (11:34 -0700)]
MediaPlayer kEventPrepared similar to AudioPlayer

Now that AudioPlayer kEventPrepared logic for successful/unsuccessful
prepare completion has been combined, make MediaPlayer work the same
way.  This will make it easier to merge similar code AudioPlayer and
MediaPlayer in an upcoming CL.

Change-Id: Iaa58dcc85b0ede82036c0a5f45d61d0e7853fe0b

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Thu, 10 Nov 2011 22:36:39 +0000 (14:36 -0800)]
Reconcile with ics-mr1-release

Change-Id: I448b449f721790e8a952fedb8696dfffa5daccb3

12 years agoam e0746488: Merge "Bug 5353078: Reduce foreground holes in Backdropper." into ics-mr1
Eddy Talvala [Thu, 10 Nov 2011 16:14:55 +0000 (16:14 +0000)]
am e0746488: Merge "Bug 5353078: Reduce foreground holes in Backdropper." into ics-mr1

* commit 'e07464884a4bcb4d1548e7408015364dc037bdc1':
  Bug 5353078: Reduce foreground holes in Backdropper.

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Thu, 10 Nov 2011 14:47:42 +0000 (06:47 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 5696c8a7: Merge "Bug 5585323 Authorize audio decode for system" into ics-mr1
Jean-Michel Trivi [Thu, 10 Nov 2011 05:42:37 +0000 (05:42 +0000)]
am 5696c8a7: Merge "Bug 5585323 Authorize audio decode for system" into ics-mr1

* commit '5696c8a7a0e2fde4b051230544a58db853d3551f':
  Bug 5585323 Authorize audio decode for system

12 years agoam b9217405: Merge "Bug 5578928 Fix race in stop for destroy" into ics-mr1
Glenn Kasten [Thu, 10 Nov 2011 01:11:23 +0000 (01:11 +0000)]
am b9217405: Merge "Bug 5578928 Fix race in stop for destroy" into ics-mr1

* commit 'b921740510e15a4e403e2819f1a8f0a9a6c03da9':
  Bug 5578928 Fix race in stop for destroy

12 years agoMerge "Bug 5353078: Reduce foreground holes in Backdropper." into ics-mr1
Eddy Talvala [Wed, 9 Nov 2011 22:27:31 +0000 (14:27 -0800)]
Merge "Bug 5353078: Reduce foreground holes in Backdropper." into ics-mr1

12 years agoam e8c04ee9: Merge "Fixing the mirroring in MediaSource Filter" into ics-mr1
Pannag Sanketi [Wed, 9 Nov 2011 21:50:49 +0000 (21:50 +0000)]
am e8c04ee9: Merge "Fixing the mirroring in MediaSource Filter" into ics-mr1

* commit 'e8c04ee9ea63b90667aaf5be6fbb3475ecd93520':
  Fixing the mirroring in MediaSource Filter

12 years agoBug 5353078: Reduce foreground holes in Backdropper.
Rodrigo Carceroni [Fri, 4 Nov 2011 02:09:29 +0000 (19:09 -0700)]
Bug 5353078: Reduce foreground holes in Backdropper.

Change-Id: I77b84e4c345bad237af13b82989f2f8119770bd3

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 9 Nov 2011 18:06:37 +0000 (10:06 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Bug 5585323 Authorize audio decode for system" into ics-mr1
Jean-Michel Trivi [Wed, 9 Nov 2011 16:58:10 +0000 (08:58 -0800)]
Merge "Bug 5585323 Authorize audio decode for system" into ics-mr1

12 years agoMerge "Bug 5578928 Fix race in stop for destroy" into ics-mr1
Glenn Kasten [Wed, 9 Nov 2011 15:17:38 +0000 (07:17 -0800)]
Merge "Bug 5578928 Fix race in stop for destroy" into ics-mr1

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 9 Nov 2011 14:48:05 +0000 (06:48 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Fixing the mirroring in MediaSource Filter" into ics-mr1
Pannag Sanketi [Wed, 9 Nov 2011 00:20:14 +0000 (16:20 -0800)]
Merge "Fixing the mirroring in MediaSource Filter" into ics-mr1

12 years agoFixing the mirroring in MediaSource Filter
Pannag Sanketi [Tue, 8 Nov 2011 23:55:13 +0000 (15:55 -0800)]
Fixing the mirroring in MediaSource Filter

MediaSource Filter was outputing mirrored video.
Bug:5585630

Change-Id: If87ee799c0fccff783d3db7cf04080160a5a5ac4

12 years agoBug 5585323 Authorize audio decode for system
Jean-Michel Trivi [Mon, 7 Nov 2011 23:59:51 +0000 (15:59 -0800)]
Bug 5585323 Authorize audio decode for system

Authorize the use of specific audio codecs for audio decoding
by the system, which guarantees audio is decoded for playback,
when the appropriate system permission is used.

Change-Id: I0633b04b4d0aebe89804ef48752bf05d72abc56d

12 years agoam e87e28c3: Merge "Remove MediaPlayer::setVideoSurface legacy." into ics-mr1
Andreas Huber [Tue, 8 Nov 2011 16:52:17 +0000 (16:52 +0000)]
am e87e28c3: Merge "Remove MediaPlayer::setVideoSurface legacy." into ics-mr1

* commit 'e87e28c32f35ed40a12b18ef51cc6af0f44ec270':
  Remove MediaPlayer::setVideoSurface legacy.

12 years agoMerge "Remove MediaPlayer::setVideoSurface legacy." into ics-mr1
Andreas Huber [Tue, 8 Nov 2011 16:48:24 +0000 (08:48 -0800)]
Merge "Remove MediaPlayer::setVideoSurface legacy." into ics-mr1

12 years agoBug 5578928 Fix race in stop for destroy
Glenn Kasten [Mon, 7 Nov 2011 20:20:31 +0000 (12:20 -0800)]
Bug 5578928 Fix race in stop for destroy

Change-Id: Ic5c84406bffa372a2fd3e92ad1aca1f6f5185026

12 years agoMerge "CT and spec errata for MuteSolo::GetNumChannels"
Glenn Kasten [Mon, 7 Nov 2011 17:36:25 +0000 (09:36 -0800)]
Merge "CT and spec errata for MuteSolo::GetNumChannels"

12 years agoMerge "Comments"
Glenn Kasten [Mon, 7 Nov 2011 17:35:55 +0000 (09:35 -0800)]
Merge "Comments"

12 years agoComments
Glenn Kasten [Fri, 29 Jul 2011 14:53:06 +0000 (07:53 -0700)]
Comments

Change-Id: I1592d1979ce5f5811ff5a47b4b60db93e8670313

12 years agoMerge "Fix line length"
Glenn Kasten [Mon, 7 Nov 2011 17:27:12 +0000 (09:27 -0800)]
Merge "Fix line length"

12 years agoFix line length
Glenn Kasten [Thu, 21 Jul 2011 16:28:36 +0000 (09:28 -0700)]
Fix line length

And add explanation for -p# option of slesTest_recBuffQueue

Change-Id: I32a06caf633c6796e263a1beeec93513cd775096

12 years agoMerge "xaplay test additions"
Glenn Kasten [Mon, 7 Nov 2011 17:20:26 +0000 (09:20 -0800)]
Merge "xaplay test additions"

12 years agoCT and spec errata for MuteSolo::GetNumChannels
Glenn Kasten [Wed, 28 Sep 2011 19:53:22 +0000 (12:53 -0700)]
CT and spec errata for MuteSolo::GetNumChannels

The question of what to return when channel count is unknown was dicussed
by Khronos working group.  They decided to return zero channel count
and success if unknown.  Both the spec errata and CT have been updated for this.

Change-Id: I820291271f83bad2142046372d9b22e4d05faf07

12 years agoMerge "DataSource::getSize() returns ERROR_UNSUPPORTED"
Glenn Kasten [Mon, 7 Nov 2011 16:41:23 +0000 (08:41 -0800)]
Merge "DataSource::getSize() returns ERROR_UNSUPPORTED"

12 years agoxaplay test additions
Glenn Kasten [Tue, 30 Aug 2011 21:05:14 +0000 (14:05 -0700)]
xaplay test additions

Allow playing a subset of input file.
Add format change test.
Call gComposerClient->dispose before exit.
Remove dead code related to re-initializing the engine.
Add position, seek, loop tests.
Force callback failures with -c option.
Don't enqueue EOS more than once.
Add STOPPED at end of xaplay.
Add temporary set play state to paused.
Added discontinuity test.
More stream information queries and printfs.
Shorter marker to make it easier to hit when looping.
Add explanation of command line options.

Change-Id: I5b425a52f9afc2c8f9083badb6de0773f711c6d9

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Fri, 4 Nov 2011 15:31:47 +0000 (08:31 -0700)]
Reconcile with ics-mr1-release

Change-Id: I3217d6a7871bd15bfa77f492f01d343237ed4dff

12 years agoMerge "Fix build errors and warnings on native"
Glenn Kasten [Thu, 3 Nov 2011 18:16:50 +0000 (11:16 -0700)]
Merge "Fix build errors and warnings on native"

12 years agoam 762f1065: am c157a9c2: Bug 5544082 Filter out unsupported codecs in OpenSL ES
Jean-Michel Trivi [Wed, 2 Nov 2011 17:29:59 +0000 (17:29 +0000)]
am 762f1065: am c157a9c2: Bug 5544082 Filter out unsupported codecs in OpenSL ES

* commit '762f10659c2ac6fb66afd09be5bddd7ffebbf9df':
  Bug 5544082 Filter out unsupported codecs in OpenSL ES

12 years agoAudioPlayback_Parameters cleanup
Glenn Kasten [Fri, 7 Oct 2011 16:06:41 +0000 (09:06 -0700)]
AudioPlayback_Parameters cleanup

Use AudioPlayback_Parameters more consistently in parameter list of
constructors.  Also, StreamPlayer::StreamPlayer was over-assigning to
mPlaybackParams (already assigned by its superclass's constructor).

Move initialization of AudioPlayback_Parameters from each case
to before the switch, as it is shared by each use case.

Remove old asserts.

Change-Id: I8925d36da031c80308457c7e940418d3a4e47b62

12 years agoMerge "Finish out the StreamInformation interface"
Glenn Kasten [Wed, 2 Nov 2011 14:18:09 +0000 (07:18 -0700)]
Merge "Finish out the StreamInformation interface"

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 2 Nov 2011 13:47:11 +0000 (06:47 -0700)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMerge "Reverb comply with OpenSL ES 1.0.1 spec"
Glenn Kasten [Tue, 1 Nov 2011 21:19:26 +0000 (14:19 -0700)]
Merge "Reverb comply with OpenSL ES 1.0.1 spec"

12 years agoam c157a9c2: Bug 5544082 Filter out unsupported codecs in OpenSL ES
Jean-Michel Trivi [Tue, 1 Nov 2011 15:41:40 +0000 (15:41 +0000)]
am c157a9c2: Bug 5544082 Filter out unsupported codecs in OpenSL ES

* commit 'c157a9c259474d4e1736c4f9ccccad10b5000734':
  Bug 5544082 Filter out unsupported codecs in OpenSL ES

12 years agoBug 5544082 Filter out unsupported codecs in OpenSL ES
Jean-Michel Trivi [Mon, 31 Oct 2011 23:21:49 +0000 (16:21 -0700)]
Bug 5544082 Filter out unsupported codecs in OpenSL ES

When decoding compressed audio data, disregard tracks
 encoded with unsupported codecs.

Change-Id: If0535013990923c6859829106ccf9e92e5856f90

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Mon, 31 Oct 2011 20:19:40 +0000 (13:19 -0700)]
Reconcile with ics-mr1-release

Change-Id: I89995f978dbd3c063c1f5f6a815c609f7e962d87

12 years agoRemove MediaPlayer::setVideoSurface legacy.
Andreas Huber [Wed, 26 Oct 2011 21:44:29 +0000 (14:44 -0700)]
Remove MediaPlayer::setVideoSurface legacy.

Change-Id: I95aa181f39b375087b30ac65fea37589108c9f16

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Sun, 30 Oct 2011 13:48:41 +0000 (06:48 -0700)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 13ffc7f7: am d0b07222: Merge "Bug 5526807 inform client of errors after prepare...
Glenn Kasten [Fri, 28 Oct 2011 02:18:10 +0000 (02:18 +0000)]
am 13ffc7f7: am d0b07222: Merge "Bug 5526807 inform client of errors after prepare" into ics-mr0

* commit '13ffc7f7c69e2fabf1ef70ebb2ea81489be9bd74':
  Bug 5526807 inform client of errors after prepare

12 years agoam d0b07222: Merge "Bug 5526807 inform client of errors after prepare" into ics-mr0
Glenn Kasten [Fri, 28 Oct 2011 02:14:09 +0000 (02:14 +0000)]
am d0b07222: Merge "Bug 5526807 inform client of errors after prepare" into ics-mr0

* commit 'd0b0722276aea9a06a118a64abfc8b3e9498e931':
  Bug 5526807 inform client of errors after prepare

12 years agoMerge "Bug 5526807 inform client of errors after prepare" into ics-mr0
Glenn Kasten [Fri, 28 Oct 2011 01:18:44 +0000 (18:18 -0700)]
Merge "Bug 5526807 inform client of errors after prepare" into ics-mr0

12 years agoam 21b2f0ce: am d7762ba2: Bug 5526272 ignore player events during destroy
Glenn Kasten [Thu, 27 Oct 2011 21:54:22 +0000 (21:54 +0000)]
am 21b2f0ce: am d7762ba2: Bug 5526272 ignore player events during destroy

* commit '21b2f0ce677aa42c34df65995eefb30e20f2c3aa':
  Bug 5526272 ignore player events during destroy

12 years agoam d7762ba2: Bug 5526272 ignore player events during destroy
Glenn Kasten [Thu, 27 Oct 2011 21:46:58 +0000 (21:46 +0000)]
am d7762ba2: Bug 5526272 ignore player events during destroy

* commit 'd7762ba20bc7d13e1af73539d7a2a75183e2960b':
  Bug 5526272 ignore player events during destroy

12 years agoBug 5526807 inform client of errors after prepare
Glenn Kasten [Thu, 27 Oct 2011 21:16:20 +0000 (14:16 -0700)]
Bug 5526807 inform client of errors after prepare

Change-Id: Ic5c88f8e1c8e7d6226a7a71a2a89a70f0fa876f8

12 years agoBug 5526272 ignore player events during destroy
Glenn Kasten [Thu, 27 Oct 2011 18:49:31 +0000 (11:49 -0700)]
Bug 5526272 ignore player events during destroy

Change-Id: I45c67660c7cbfabcf66b0ffffbaedf56c17453d7

12 years agoam 9a371a20: Merge remote branch \'goog/ics-mr0\' into ics-mr1
Ed Heyl [Wed, 26 Oct 2011 14:43:25 +0000 (14:43 +0000)]
am 9a371a20: Merge remote branch \'goog/ics-mr0\' into ics-mr1

* commit '9a371a201366ff0c0c132a31029a6c2357400b3e':

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Wed, 26 Oct 2011 14:05:38 +0000 (07:05 -0700)]
merge in ics-mr1-release history after reset to ics-mr1