OSDN Git Service

android-x86/frameworks-av.git
12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Wed, 7 Dec 2011 15:44:31 +0000 (07:44 -0800)]
Reconcile with ics-mr1-release

Change-Id: Ie377d01065e1c34c60a97df3725e56100bae3903

12 years agoam 6ee7bca1: (-s ours) am 3de8d36b: Reconcile with ics-mr0-release
The Android Open Source Project [Wed, 7 Dec 2011 15:29:38 +0000 (07:29 -0800)]
am 6ee7bca1: (-s ours) am 3de8d36b: Reconcile with ics-mr0-release

* commit '6ee7bca1ce7f93d33a70701bb7862c3d13e68b89':
  DO NOT MERGE: Remove the AVI extractor.
  Disable wifiwatchdog for now

12 years agoam 3de8d36b: Reconcile with ics-mr0-release
The Android Open Source Project [Wed, 7 Dec 2011 15:27:57 +0000 (07:27 -0800)]
am 3de8d36b: Reconcile with ics-mr0-release

* commit '3de8d36b6fd166cf63ca256c455c0ea26a849668':
  DO NOT MERGE: Remove the AVI extractor.
  Disable wifiwatchdog for now

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

Change-Id: I5341d7d7de8ec8dfa86095e8d8d45a912bb01a47

12 years agoMerge "Allow data uris to be data sources"
Narayan Kamath [Wed, 7 Dec 2011 12:15:43 +0000 (04:15 -0800)]
Merge "Allow data uris to be data sources"

12 years agoam 92860d5d: (-s ours) am 791a3183: Merge "Merge commit \'babb7200\' into manualmerge...
Andreas Huber [Wed, 7 Dec 2011 00:59:52 +0000 (16:59 -0800)]
am 92860d5d: (-s ours) am 791a3183: Merge "Merge commit \'babb7200\' into manualmerge" into ics-mr1

* commit '92860d5d4681e684d5f3936137c6c067c950121e':
  DO NOT MERGE: Remove the AVI extractor.

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

12 years agoam 791a3183: Merge "Merge commit \'babb7200\' into manualmerge" into ics-mr1
Andreas Huber [Wed, 7 Dec 2011 00:22:07 +0000 (16:22 -0800)]
am 791a3183: Merge "Merge commit \'babb7200\' into manualmerge" into ics-mr1

* commit '791a31832ab586f056c2bcab8e0515d4bb1e2f7a':
  DO NOT MERGE: Remove the AVI extractor.

12 years agoam 49782b81: (-s ours) am 6b8b5a0a: Merge "DO NOT MERGE - Consider I-Frame at zeroeth...
James Dong [Wed, 7 Dec 2011 00:04:38 +0000 (16:04 -0800)]
am 49782b81: (-s ours) am 6b8b5a0a: Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames" into ics-mr1

* commit '49782b8100a752056f044f6f3f1cf16a6a1f03b4':
  DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames

12 years agoam c4738293: (-s ours) am 05d63069: Merge "DO NOT MERGE: Remove the AVI extractor...
Andreas Huber [Wed, 7 Dec 2011 00:04:36 +0000 (16:04 -0800)]
am c4738293: (-s ours) am 05d63069: Merge "DO NOT MERGE: Remove the AVI extractor." into ics-mr1

* commit 'c4738293527618f9a228c3f0f645c0a0704ada9c':
  DO NOT MERGE: Remove the AVI extractor.

12 years agoMerge commit 'babb7200' into manualmerge
Andreas Huber [Tue, 6 Dec 2011 23:03:10 +0000 (15:03 -0800)]
Merge commit 'babb7200' into manualmerge

12 years agoDO NOT MERGE: Remove the AVI extractor.
Andreas Huber [Tue, 6 Dec 2011 18:59:48 +0000 (10:59 -0800)]
DO NOT MERGE: Remove the AVI extractor.

Change-Id: Ib9cb4a48bd817da703ef53eb14932616d2973ee0

12 years agoam 6b8b5a0a: Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searchin...
James Dong [Tue, 6 Dec 2011 20:55:39 +0000 (12:55 -0800)]
am 6b8b5a0a: Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames" into ics-mr1

* commit '6b8b5a0a4183c0f8d1d5ceacc9e50194589a77d3':
  DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames

12 years agoMerge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync...
James Dong [Tue, 6 Dec 2011 20:52:52 +0000 (12:52 -0800)]
Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames" into ics-mr1

12 years agoam 05d63069: Merge "DO NOT MERGE: Remove the AVI extractor." into ics-mr1
Andreas Huber [Tue, 6 Dec 2011 20:46:46 +0000 (12:46 -0800)]
am 05d63069: Merge "DO NOT MERGE: Remove the AVI extractor." into ics-mr1

* commit '05d630691127c022befd071b2bede87c707112a9':
  DO NOT MERGE: Remove the AVI extractor.

12 years agoDO NOT MERGE: Remove the AVI extractor.
Andreas Huber [Tue, 6 Dec 2011 18:01:27 +0000 (10:01 -0800)]
DO NOT MERGE: Remove the AVI extractor.

Change-Id: Ifce6c0d3d87aad2f5cc7f40ad6304936cbfa795e

12 years agoDO NOT MERGE: Remove the AVI extractor.
Andreas Huber [Tue, 6 Dec 2011 18:59:48 +0000 (10:59 -0800)]
DO NOT MERGE: Remove the AVI extractor.

Change-Id: Ib9cb4a48bd817da703ef53eb14932616d2973ee0

12 years agoAllow data uris to be data sources
Narayan Kamath [Wed, 16 Nov 2011 15:57:29 +0000 (15:57 +0000)]
Allow data uris to be data sources

bug:5571010
Change-Id: I0b6ae6c729ac34d46e9990fcceb08294eb4f7c58

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Tue, 6 Dec 2011 17:02:57 +0000 (09:02 -0800)]
Reconcile with ics-mr1-release

Change-Id: I2790bcf28bdac1335b4106138fc6ad471ac40516

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Tue, 6 Dec 2011 04:36:01 +0000 (20:36 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 5433e25f: am 7b6aff23: Merge "audioflinger: fix audio skipping over A2DP" into...
Eric Laurent [Tue, 6 Dec 2011 01:25:37 +0000 (17:25 -0800)]
am 5433e25f: am 7b6aff23: Merge "audioflinger: fix audio skipping over A2DP" into ics-mr1

* commit '5433e25f6ce013860ff2a074ad8d1158cc39ab91':
  audioflinger: fix audio skipping over A2DP

12 years agoam 7b6aff23: Merge "audioflinger: fix audio skipping over A2DP" into ics-mr1
Eric Laurent [Tue, 6 Dec 2011 01:22:58 +0000 (17:22 -0800)]
am 7b6aff23: Merge "audioflinger: fix audio skipping over A2DP" into ics-mr1

* commit '7b6aff23735a9ef8759c5ecb4427784413e9b85b':
  audioflinger: fix audio skipping over A2DP

12 years agoMerge "audioflinger: fix audio skipping over A2DP" into ics-mr1
Eric Laurent [Tue, 6 Dec 2011 01:20:53 +0000 (17:20 -0800)]
Merge "audioflinger: fix audio skipping over A2DP" into ics-mr1

12 years agoDO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames
James Dong [Mon, 5 Dec 2011 20:41:06 +0000 (12:41 -0800)]
DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames

The current logic does not check the I-frame at zeroeth position and therefore
for the files with only 1 I-Frame at zeroeth postion does not play.

Originally authored by Braganza Sam Robertsh <sam.braganza@samsung.com>

Do not merge to master branch since we made some improvement to SampleTable.cpp in the master branch.

Change-Id: I068184dec71986f14a586f769c2af1f52b4bcf94
related-to-bug: 5711942

12 years agoresolved conflicts for merge of 07bacabe to master
Andreas Huber [Mon, 5 Dec 2011 21:30:52 +0000 (13:30 -0800)]
resolved conflicts for merge of 07bacabe to master

Change-Id: Idb56996f7c1b78d96e3d3d3f08419c4d122db0b1

12 years agoam f2e12498: Merge "Properly identify how much metadata we need to cache in order...
Andreas Huber [Mon, 5 Dec 2011 20:03:41 +0000 (12:03 -0800)]
am f2e12498: Merge "Properly identify how much metadata we need to cache in order to instantiate" into ics-mr1

* commit 'f2e1249846a17c69d728189a8dc67f37261f0a59':
  Properly identify how much metadata we need to cache in order to instantiate

12 years agoProperly identify how much metadata we need to cache in order to instantiate
Andreas Huber [Mon, 5 Dec 2011 19:34:43 +0000 (11:34 -0800)]
Properly identify how much metadata we need to cache in order to instantiate

the extractor without blocking (and therefore be able to abort).

Change-Id: Id2acdde897e02baaeabadae70b7c95b66c9041b3
related-to-bug: 5666532

12 years agoaudioflinger: fix audio skipping over A2DP
Eric Laurent [Mon, 5 Dec 2011 17:47:19 +0000 (09:47 -0800)]
audioflinger: fix audio skipping over A2DP

The maximum sleep time allowed in the mixer thread when audio tracks
are enabled but not ready for mixing is derived from the latency
reported by the output stream.
This does not work for A2DP where the latency also reflects encoding, decoding
and transfer time.

Modified activeSleepTimeUs() to take A2DP case into account.

Issue 5682206.

Change-Id: I3784ac01fb6f836b5a6ce6f764fb15347586de35

12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Mon, 5 Dec 2011 16:53:06 +0000 (08:53 -0800)]
Reconcile with ics-mr1-release

Change-Id: I35fea7fba390129cec15616718e2880bfa3b414c

12 years agoam 9f3f3c2f: (-s ours) am 1a3ece9f: Merge "MTP: Add support for restricting PTP to...
Mike Lockwood [Sat, 3 Dec 2011 01:57:19 +0000 (17:57 -0800)]
am 9f3f3c2f: (-s ours) am 1a3ece9f: Merge "MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE" into ics-mr1

* commit '9f3f3c2fbe23a4d9360cffc9975e5cc99f67107e':
  MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE

12 years agoam 7bbc3c4b: (-s ours) am 7f87d9cf: Merge "MTP: Don\'t attempt to read more than...
Mike Lockwood [Sat, 3 Dec 2011 01:57:17 +0000 (17:57 -0800)]
am 7bbc3c4b: (-s ours) am 7f87d9cf: Merge "MTP: Don\'t attempt to read more than 16K at a time from the MTP driver DO NOT MERGE" into ics-mr1

* commit '7bbc3c4bbe9e542abba2ad30072efb1b25fd9ea2':
  MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Sat, 3 Dec 2011 00:21:23 +0000 (16:21 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoam 1a3ece9f: Merge "MTP: Add support for restricting PTP to only certain subdirectori...
Mike Lockwood [Fri, 2 Dec 2011 21:22:17 +0000 (13:22 -0800)]
am 1a3ece9f: Merge "MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE" into ics-mr1

* commit '1a3ece9f871c94eb524543ae618a2a1c88cab2cd':
  MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE

12 years agoam 7f87d9cf: Merge "MTP: Don\'t attempt to read more than 16K at a time from the...
Mike Lockwood [Fri, 2 Dec 2011 21:22:15 +0000 (13:22 -0800)]
am 7f87d9cf: Merge "MTP: Don\'t attempt to read more than 16K at a time from the MTP driver DO NOT MERGE" into ics-mr1

* commit '7f87d9cf666c38b9f43b7b2d99acbd9c8f91d8d1':
  MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE

12 years agoMTP: Add support for restricting PTP to only certain subdirectories of the storage...
Mike Lockwood [Thu, 1 Dec 2011 21:58:41 +0000 (16:58 -0500)]
MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE

Bug: 5527220

Change-Id: I81d6de590ea3002118ba46eb4b6d5fe9061c998c
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE
Mike Lockwood [Thu, 1 Dec 2011 23:36:06 +0000 (18:36 -0500)]
MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I10f85f0ce32df39f46b0a984361958c0a13f6800
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMerge "MTP: Add support for restricting PTP to only certain subdirectories of the...
Mike Lockwood [Fri, 2 Dec 2011 16:17:33 +0000 (08:17 -0800)]
Merge "MTP: Add support for restricting PTP to only certain subdirectories of the storage"

12 years agoMerge "MTP: Don't attempt to read more than 16K at a time from the MTP driver"
Mike Lockwood [Fri, 2 Dec 2011 16:10:03 +0000 (08:10 -0800)]
Merge "MTP: Don't attempt to read more than 16K at a time from the MTP driver"

12 years agoMTP: Add support for restricting PTP to only certain subdirectories of the storage
Mike Lockwood [Thu, 1 Dec 2011 21:58:41 +0000 (16:58 -0500)]
MTP: Add support for restricting PTP to only certain subdirectories of the storage

Bug: 5527220

Change-Id: If68e7481617ecb62abd24e2d89e6b7dfdf95ba2b
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoReconcile with ics-mr1-release
The Android Open Source Project [Fri, 2 Dec 2011 15:53:10 +0000 (07:53 -0800)]
Reconcile with ics-mr1-release

Change-Id: I1c603308272f9b00174c3f9046171e069ffee566

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Fri, 2 Dec 2011 00:45:56 +0000 (16:45 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoMTP: Don't attempt to read more than 16K at a time from the MTP driver
Mike Lockwood [Thu, 1 Dec 2011 23:36:06 +0000 (18:36 -0500)]
MTP: Don't attempt to read more than 16K at a time from the MTP driver

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I4d316c7e2e558d3dd861d39accae6514fd9a62f5
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoam 10526a0b: am 2c2ed7be: Merge "Fixes a typo in AVIExtractor that would advertise...
Andreas Huber [Thu, 1 Dec 2011 18:22:19 +0000 (10:22 -0800)]
am 10526a0b: am 2c2ed7be: Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

* commit '10526a0bfe070ac4d1e550a81ed68be35d261b16':
  Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

12 years agoam 2c2ed7be: Merge "Fixes a typo in AVIExtractor that would advertise the wrong video...
Andreas Huber [Thu, 1 Dec 2011 18:20:09 +0000 (10:20 -0800)]
am 2c2ed7be: Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

* commit '2c2ed7bef931f43dc0701ab723beb0cbed2cb630':
  Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

12 years agoFixes a typo in AVIExtractor that would advertise the wrong video dimensions
Andreas Huber [Thu, 1 Dec 2011 18:02:37 +0000 (10:02 -0800)]
Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

Change-Id: I587a5ce259b04c973ed2d7614e874cb74c521aab
related-to-bug: 5696324

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

Change-Id: I00b8d5eecea650df527aa3c21bb4a7270a196401

12 years agoam c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into...
Jamie Gennis [Wed, 30 Nov 2011 18:50:49 +0000 (10:50 -0800)]
am c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

* commit 'c040e1e77923d81050f2d3dbdac5d07e01be72f6':
  SurfaceMediaSource: use the vid enc usage bit

12 years agoresolved conflicts for merge of 3d630e86 to master
Andreas Huber [Wed, 30 Nov 2011 17:53:40 +0000 (09:53 -0800)]
resolved conflicts for merge of 3d630e86 to master

Change-Id: I9eb7b7c1668b5f0de85ec8b1e9257cf1ec4d8b9e

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

12 years agoMerge "Add camera focus move callback."
Wu-cheng Li [Wed, 30 Nov 2011 02:45:06 +0000 (18:45 -0800)]
Merge "Add camera focus move callback."

12 years agoFix the broken build
James Dong [Wed, 30 Nov 2011 01:59:29 +0000 (17:59 -0800)]
Fix the broken build

Change-Id: Ib508514891474d24f14ac69d721b0c9c700a0c3f

12 years agoam 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
Jamie Gennis [Wed, 30 Nov 2011 01:26:32 +0000 (17:26 -0800)]
am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

* commit '6f1dd757cb158d17c76baeb170f7db2271802ef8':
  SurfaceMediaSource: use the vid enc usage bit

12 years agoMerge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
Jamie Gennis [Wed, 30 Nov 2011 01:25:09 +0000 (17:25 -0800)]
Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

12 years agoam 52607c53: am d12dc284: Merge "If an error occurs that prevents us from reallocatin...
Andreas Huber [Wed, 30 Nov 2011 00:33:04 +0000 (16:33 -0800)]
am 52607c53: am d12dc284: Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

* commit '52607c5364446df6ac5b2f55cb50e146e6023a4f':
  If an error occurs that prevents us from reallocating buffers during a format change

12 years agoam 074133b2: am 351143fb: Merge "Updated (internal) API for IStreamSource to signal...
Andreas Huber [Wed, 30 Nov 2011 00:33:02 +0000 (16:33 -0800)]
am 074133b2: am 351143fb: Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

* commit '074133b260f8d12e484e93b9aa5a33a4983b7349':
  Updated (internal) API for IStreamSource to signal discontinuities

12 years agoresolved conflicts for merge of 998a929a to master
Andreas Huber [Tue, 29 Nov 2011 23:14:44 +0000 (15:14 -0800)]
resolved conflicts for merge of 998a929a to master

Change-Id: Id5cfbcf20e5ec28782cc88075040cf9edebfdfe8

12 years agoam 564fee36: Merge "Make sure we can properly shutdown even if" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:12:21 +0000 (14:12 -0800)]
am 564fee36: Merge "Make sure we can properly shutdown even if" into ics-mr1

* commit '564fee36667e2699c59a29102136220dc2f65862':
  Make sure we can properly shutdown even if

12 years agoam d12dc284: Merge "If an error occurs that prevents us from reallocating buffers...
Andreas Huber [Tue, 29 Nov 2011 22:12:20 +0000 (14:12 -0800)]
am d12dc284: Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

* commit 'd12dc28460f622ab29e83fa688ad83a8263e9417':
  If an error occurs that prevents us from reallocating buffers during a format change

12 years agoam 351143fb: Merge "Updated (internal) API for IStreamSource to signal discontinuitie...
Andreas Huber [Tue, 29 Nov 2011 22:12:18 +0000 (14:12 -0800)]
am 351143fb: Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

* commit '351143fb0e2fcfb7dc2ef1045d693c71eb0ea329':
  Updated (internal) API for IStreamSource to signal discontinuities

12 years agoam 405a4e34: Merge "Finer granularity discontinuity support." into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:10:09 +0000 (14:10 -0800)]
am 405a4e34: Merge "Finer granularity discontinuity support." into ics-mr1

* commit '405a4e34032f8a07028138266fe9f79f6753b466':
  Finer granularity discontinuity support.

12 years agoMerge "Make sure we can properly shutdown even if" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:09:10 +0000 (14:09 -0800)]
Merge "Make sure we can properly shutdown even if" into ics-mr1

12 years agoMerge "If an error occurs that prevents us from reallocating buffers during a format...
Andreas Huber [Tue, 29 Nov 2011 22:09:03 +0000 (14:09 -0800)]
Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

12 years agoMerge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:08:45 +0000 (14:08 -0800)]
Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

12 years agoUpdated (internal) API for IStreamSource to signal discontinuities
Andreas Huber [Tue, 29 Nov 2011 19:57:35 +0000 (11:57 -0800)]
Updated (internal) API for IStreamSource to signal discontinuities

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

12 years agoAdd camera focus move callback.
Wu-cheng Li [Mon, 14 Nov 2011 12:30:14 +0000 (20:30 +0800)]
Add camera focus move callback.

bug:5534973
Change-Id: Iaadcb2738ad040f94849be30ee531326f6199431

12 years agoFiner granularity discontinuity support.
Andreas Huber [Mon, 28 Nov 2011 20:36:11 +0000 (12:36 -0800)]
Finer granularity discontinuity support.

No clients can signal a format change on either audio or video track (or both)
and a time discontinuity (timestamps changed) independantly.

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

12 years agoMake sure we can properly shutdown even if
Andreas Huber [Tue, 29 Nov 2011 00:27:35 +0000 (16:27 -0800)]
Make sure we can properly shutdown even if

a) one of the two decoders has a pending discontinuity
b) the renderer holds on to all output buffers for that decoder
c) the renderer is paused

if all three conditions are met the decoder won't ask for more input data
and therefore never see the discontinuity.

To avoid this we briefly resume the renderer just before shutting down.

Change-Id: I9e08af2a1eb4298d1cd00497d6aa33f4ad184e9a
related-to-bug: 5655016

12 years agosplit ComposerService out of SurfaceComposerClient.h
Mathias Agopian [Fri, 18 Nov 2011 01:48:35 +0000 (17:48 -0800)]
split ComposerService out of SurfaceComposerClient.h

Change-Id: I1eb691f7ca263d5895d871ab675bb5826e0323c6

12 years agoMerge "Make AudioTrack a RefBase so wrappers not needed"
Glenn Kasten [Mon, 28 Nov 2011 22:54:28 +0000 (14:54 -0800)]
Merge "Make AudioTrack a RefBase so wrappers not needed"

12 years agomerge in ics-mr1-release history after reset to ics-mr1
The Android Automerger [Mon, 28 Nov 2011 20:22:27 +0000 (12:22 -0800)]
merge in ics-mr1-release history after reset to ics-mr1

12 years agoIf an error occurs that prevents us from reallocating buffers during a format change
Andreas Huber [Mon, 28 Nov 2011 18:54:12 +0000 (10:54 -0800)]
If an error occurs that prevents us from reallocating buffers during a format change

we need to transition to executing state anyway to be able to properly flush/shutdown
in the future.

Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f
related-to-bug: 5655016

12 years agoam f6422f5f: am 20398fac: Merge "audioflinger: reduce sleep time to avoid underrun...
Eric Laurent [Wed, 23 Nov 2011 20:35:01 +0000 (12:35 -0800)]
am f6422f5f: am 20398fac: Merge "audioflinger: reduce sleep time to avoid underrun" into ics-mr1

* commit 'f6422f5f5d04aab47f8f36a0ea92e2140bed0105':
  audioflinger: reduce sleep time to avoid underrun

12 years agoam 20398fac: Merge "audioflinger: reduce sleep time to avoid underrun" into ics-mr1
Eric Laurent [Wed, 23 Nov 2011 20:32:53 +0000 (12:32 -0800)]
am 20398fac: Merge "audioflinger: reduce sleep time to avoid underrun" into ics-mr1

* commit '20398fac99ff78cb3ec3dd122930e45d409e0524':
  audioflinger: reduce sleep time to avoid underrun

12 years agoaudioflinger: reduce sleep time to avoid underrun
Eric Laurent [Wed, 23 Nov 2011 02:50:29 +0000 (18:50 -0800)]
audioflinger: reduce sleep time to avoid underrun

Progressively reduce the sleep time applied in MixerThread::threadLoop()
in case of consecutive application underruns to avoid starving the audio HAL.
As the default sleep time is longer than the duration of an audio buffer
we ended up writing less data than needed by the audio HAL if
the condition persisted.

Issue 5553055.

Change-Id: I2b23ee79c032efa945025db228beaecd1e07a2e5

12 years agoMerge "Fix a subtitle bug: multiple blank lines in SubRip(srt) file."
James Dong [Wed, 23 Nov 2011 01:36:45 +0000 (17:36 -0800)]
Merge "Fix a subtitle bug: multiple blank lines in SubRip(srt) file."

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

Change-Id: I3200e581a74858b3b7728db974f10c2ed68004ad

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

12 years agoam 31626b30: am cb6fbc89: Merge "Report a runtime error instead of asserting on malfo...
Andreas Huber [Tue, 22 Nov 2011 16:43:28 +0000 (08:43 -0800)]
am 31626b30: am cb6fbc89: Merge "Report a runtime error instead of asserting on malformed avc configuration data." into ics-mr1

* commit '31626b3075335f4cf579342e99436bb45870cf55':
  Report a runtime error instead of asserting on malformed avc configuration data.

12 years agoam cb6fbc89: Merge "Report a runtime error instead of asserting on malformed avc...
Andreas Huber [Tue, 22 Nov 2011 16:41:04 +0000 (08:41 -0800)]
am cb6fbc89: Merge "Report a runtime error instead of asserting on malformed avc configuration data." into ics-mr1

* commit 'cb6fbc89c25298643ab342b4a228e772b0e56978':
  Report a runtime error instead of asserting on malformed avc configuration data.

12 years agoMerge "Report a runtime error instead of asserting on malformed avc configuration...
Andreas Huber [Tue, 22 Nov 2011 16:39:11 +0000 (08:39 -0800)]
Merge "Report a runtime error instead of asserting on malformed avc configuration data." into ics-mr1

12 years agoFix a subtitle bug: multiple blank lines in SubRip(srt) file.
Insun Kang [Tue, 22 Nov 2011 11:59:31 +0000 (20:59 +0900)]
Fix a subtitle bug: multiple blank lines in SubRip(srt) file.

TimedTextParser should handle multiple blank lines between subtitles
in SRT format.

Change-Id: Id81e0a14d9984141f68b9f0919942c85562301b3

12 years agoam d0a25456: am 02740dc4: Merge "Fix log spamming during time lapse video recording...
James Dong [Tue, 22 Nov 2011 05:08:55 +0000 (21:08 -0800)]
am d0a25456: am 02740dc4: Merge "Fix log spamming during time lapse video recording" into ics-mr1

* commit 'd0a254566f5f0be5607b4d64839a575c888c94f6':
  Fix log spamming during time lapse video recording

12 years agoam 02740dc4: Merge "Fix log spamming during time lapse video recording" into ics-mr1
James Dong [Tue, 22 Nov 2011 04:29:59 +0000 (20:29 -0800)]
am 02740dc4: Merge "Fix log spamming during time lapse video recording" into ics-mr1

* commit '02740dc49df86fc94c872454aa9db98737d5e8c8':
  Fix log spamming during time lapse video recording

12 years agoSurfaceMediaSource: use the vid enc usage bit
Jamie Gennis [Tue, 22 Nov 2011 00:51:47 +0000 (16:51 -0800)]
SurfaceMediaSource: use the vid enc usage bit

This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when
allocating its GraphicBuffers rather than the HW_TEXTURE bit.

Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb

12 years agoFix log spamming during time lapse video recording
James Dong [Sun, 20 Nov 2011 17:45:44 +0000 (09:45 -0800)]
Fix log spamming during time lapse video recording

Change-Id: I4fc0809203684ebb02eaf217d7abad00aefc898f

related-to-bug: 5626569

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

Change-Id: I31643242d240b4d1efef685583ec21934a88cc02

12 years agoam a1cd09e0: am 7ff7821a: am d4b22ab4: status_t != bool
Marco Nelissen [Fri, 18 Nov 2011 23:35:00 +0000 (15:35 -0800)]
am a1cd09e0: am 7ff7821a: am d4b22ab4: status_t != bool

* commit 'a1cd09e0e6a239eafa5112c0e8a09b7efc154a78':
  status_t != bool

12 years agoam 7ff7821a: am d4b22ab4: status_t != bool
Marco Nelissen [Fri, 18 Nov 2011 23:10:54 +0000 (15:10 -0800)]
am 7ff7821a: am d4b22ab4: status_t != bool

* commit '7ff7821a601a39fffb318e29873957b4a3703c46':
  status_t != bool

12 years agoam d4b22ab4: status_t != bool
Marco Nelissen [Fri, 18 Nov 2011 23:07:21 +0000 (15:07 -0800)]
am d4b22ab4: status_t != bool

* commit 'd4b22ab4889f9b1885bfc0dc45667c846a171a98':
  status_t != bool

12 years agostatus_t != bool
Marco Nelissen [Fri, 18 Nov 2011 21:10:56 +0000 (13:10 -0800)]
status_t != bool

b/5567433

Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e

12 years agostatus_t != bool
Marco Nelissen [Fri, 18 Nov 2011 21:10:56 +0000 (13:10 -0800)]
status_t != bool

b/5567433

Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e

12 years agoReport a runtime error instead of asserting on malformed avc configuration data.
Andreas Huber [Fri, 18 Nov 2011 20:22:59 +0000 (12:22 -0800)]
Report a runtime error instead of asserting on malformed avc configuration data.

Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845
related-to-bug: 5641069

12 years agoMerge "Bug 5522189 re-enable ARM opts but disable inline"
Glenn Kasten [Thu, 17 Nov 2011 22:08:31 +0000 (14:08 -0800)]
Merge "Bug 5522189 re-enable ARM opts but disable inline"

12 years agoBug 5522189 re-enable ARM opts but disable inline
Glenn Kasten [Thu, 17 Nov 2011 21:27:22 +0000 (13:27 -0800)]
Bug 5522189 re-enable ARM opts but disable inline

PIE did not work together with inlining.  This change combines (almost
all of) the performance benefits of ARM optimizations together with PIE.

Change-Id: I4594d33ae5a0a7bac327ae08e30fb35343a06256

12 years agoam 624efe45: am c1b1709b: Merge "Make sure not to cancel pending seek/EOS notificatio...
Andreas Huber [Thu, 17 Nov 2011 21:20:16 +0000 (13:20 -0800)]
am 624efe45: am c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

* commit '624efe45671131903fb5165f6133ba39486092ab':
  Make sure not to cancel pending seek/EOS notifications on a cache underrun...

12 years agoam c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache...
Andreas Huber [Thu, 17 Nov 2011 17:07:36 +0000 (09:07 -0800)]
am c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

* commit 'c1b1709b2faa985fb9c2b273ca2191b5bfba5fdd':
  Make sure not to cancel pending seek/EOS notifications on a cache underrun...

12 years agoMerge "Make sure not to cancel pending seek/EOS notifications on a cache underrun...
Andreas Huber [Thu, 17 Nov 2011 17:05:17 +0000 (09:05 -0800)]
Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

12 years agoMerge "MidiFile uses C++ Thread not createThreadEtc"
Glenn Kasten [Thu, 17 Nov 2011 15:14:41 +0000 (07:14 -0800)]
Merge "MidiFile uses C++ Thread not createThreadEtc"

12 years agoMerge "JetPlayer uses C++ Thread not createThreadEtc"
Glenn Kasten [Thu, 17 Nov 2011 15:14:29 +0000 (07:14 -0800)]
Merge "JetPlayer uses C++ Thread not createThreadEtc"

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