OSDN Git Service

android-x86/frameworks-av.git
11 years agoam 1f915a85: Merge "Optionally emit LPCM audio instead of using AAC in wifi display...
Andreas Huber [Thu, 4 Oct 2012 21:50:45 +0000 (14:50 -0700)]
am 1f915a85: Merge "Optionally emit LPCM audio instead of using AAC in wifi display code" into jb-mr1-dev

* commit '1f915a85fedc14757c91e59a62ea6d612ce548bf':
  Optionally emit LPCM audio instead of using AAC in wifi display code

11 years agoMerge "Optionally emit LPCM audio instead of using AAC in wifi display code" into...
Andreas Huber [Thu, 4 Oct 2012 21:45:55 +0000 (14:45 -0700)]
Merge "Optionally emit LPCM audio instead of using AAC in wifi display code" into jb-mr1-dev

11 years agoOptionally emit LPCM audio instead of using AAC in wifi display code
Andreas Huber [Thu, 4 Oct 2012 18:46:29 +0000 (11:46 -0700)]
Optionally emit LPCM audio instead of using AAC in wifi display code

related-to-bug: 7248248

May decrease power usage at the cost of significantly increasing audio bitrate.

Use "adb shell setprop media.wfd.use-pcm-audio true"

to turn it on (must be done before connecting).

Change-Id: I7ebeadf3209e01522a2644948287b23d7c383c7e

11 years agoam 7ffab293: Merge "Integrate improved coefficient sinc resampler: VHQ" into jb-mr1-dev
Glenn Kasten [Thu, 4 Oct 2012 18:20:14 +0000 (11:20 -0700)]
am 7ffab293: Merge "Integrate improved coefficient sinc resampler: VHQ" into jb-mr1-dev

* commit '7ffab2933bfc50ee0b64ea586b663dcb9275d593':
  Integrate improved coefficient sinc resampler: VHQ

11 years agoMerge "Integrate improved coefficient sinc resampler: VHQ" into jb-mr1-dev
Glenn Kasten [Thu, 4 Oct 2012 18:16:36 +0000 (11:16 -0700)]
Merge "Integrate improved coefficient sinc resampler: VHQ" into jb-mr1-dev

11 years agoam f66cc52c: Merge "Camera2: Fix deadlock while zooming during record" into jb-mr1-dev
Igor Murashkin [Thu, 4 Oct 2012 17:00:47 +0000 (10:00 -0700)]
am f66cc52c: Merge "Camera2: Fix deadlock while zooming during record" into jb-mr1-dev

* commit 'f66cc52cc5a075b86b585cf72c4a41f6907b2142':
  Camera2: Fix deadlock while zooming during record

11 years agoMerge "Camera2: Fix deadlock while zooming during record" into jb-mr1-dev
Igor Murashkin [Thu, 4 Oct 2012 16:56:44 +0000 (09:56 -0700)]
Merge "Camera2: Fix deadlock while zooming during record" into jb-mr1-dev

11 years agoIntegrate improved coefficient sinc resampler: VHQ
Glenn Kasten [Mon, 1 Oct 2012 21:04:31 +0000 (14:04 -0700)]
Integrate improved coefficient sinc resampler: VHQ

Summary:
Very high quality is enabled only for 44.1 -> 48 or 48 -> 44.1,
  and uses low quality for all other use cases.
Track estimated CPU load and throttles the quality based on load;
  as currently configured it should allow up to 2 instances of very high quality.
Medium quality and high quality are currently disabled unless explicitly requested.

Details:
Only load .so the first time it is needed.
Cleanup code style: formatting, indentation, whitespace.
Restore medium quality resampler, but it is not used (see next line).
Fix memory leak for sinc resampler.
Check sample rate in resampler constructor.
Add logs for debugging.
Rename DEFAULT to DEFAULT_QUALITY for consistency with other quality levels.
Renumber VERY_HIGH_QUALITY from 255 to 4.
Use enum src_quality consistently.
Improve parsing of property af.resampler.quality.
Fix reentrancy bug - allow an instance of high quality and an instance
  of very high quality to both be active concurrently.

Bug: 7229644
Change-Id: I0ce6b913b05038889f50462a38830b61a602a9f7

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 4 Oct 2012 14:48:05 +0000 (07:48 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: If88cdd28e163c84b5d6e64eb82b1c322d665a382

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 4 Oct 2012 13:59:31 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam d69fd4d2: Merge "Enable hdcp for WiFi display" into jb-mr1-dev
James Dong [Thu, 4 Oct 2012 00:02:28 +0000 (17:02 -0700)]
am d69fd4d2: Merge "Enable hdcp for WiFi display" into jb-mr1-dev

* commit 'd69fd4d2567f9fce02252ce10d7ae3a28fc79e04':
  Enable hdcp for WiFi display

11 years agoMerge "Enable hdcp for WiFi display" into jb-mr1-dev
James Dong [Wed, 3 Oct 2012 23:57:35 +0000 (16:57 -0700)]
Merge "Enable hdcp for WiFi display" into jb-mr1-dev

11 years agoCamera2: Fix deadlock while zooming during record
Igor Murashkin [Wed, 3 Oct 2012 23:02:09 +0000 (16:02 -0700)]
Camera2: Fix deadlock while zooming during record

Acquired SharedParameters before mMutex in StreamingProcessor,
this avoids any potential deadlocks since Camera2Client code would
always acquire SharedParameters first before invoking StreamingProcessor.

Bug: 7275259
Change-Id: Ia741162c455300378bee049f063590ece5328b95

11 years agoCamera2: Properly update FPS range when FPS is set.
Eino-Ville Talvala [Wed, 3 Oct 2012 21:59:29 +0000 (14:59 -0700)]
Camera2: Properly update FPS range when FPS is set.

Otherwise a getParameters followed by setParameters will trigger an
incorrect reversion in FPS parameters.

Bug: 7279267
Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832

11 years agoDrop video bitrate to 2.5mbps.
Dave Burke [Wed, 3 Oct 2012 01:39:39 +0000 (18:39 -0700)]
Drop video bitrate to 2.5mbps.

We have too much corruption/loss at higher bitrates. Reviewed quality
trade-off with jdong@. We can increase in the future if we have a
better packet loss concealment solution.

Bug: 7241844
Change-Id: I3b500a9c3a4429e834fb4c5ca04164d4e106fa9e

11 years agoBetter power savings with wifi display code.
Andreas Huber [Wed, 3 Oct 2012 17:16:58 +0000 (10:16 -0700)]
Better power savings with wifi display code.

No more polling the encoder for work to do, the encoder instead notifies
if there's activity.

Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778
related-to-bug: 7248248

11 years agoIncrease polling frequency again temporarily to fix A/V issues
Andreas Huber [Wed, 3 Oct 2012 16:01:11 +0000 (09:01 -0700)]
Increase polling frequency again temporarily to fix A/V issues

Fixes a bug in the silence detection and increases the timeout after which
we enter "silent mode" to 10 secs.

Change-Id: I802b058f054becd5c377186664437f7b3970193f
related-to-bug: 7248248

11 years agoam ce953ce4: Merge "Camera2: Properly update FPS range when FPS is set." into jb...
Eino-Ville Talvala [Wed, 3 Oct 2012 22:24:19 +0000 (15:24 -0700)]
am ce953ce4: Merge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-dev

* commit 'ce953ce4d698155c50356df093712df1dea76051':
  Camera2: Properly update FPS range when FPS is set.

11 years agoMerge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-dev
Eino-Ville Talvala [Wed, 3 Oct 2012 22:20:38 +0000 (15:20 -0700)]
Merge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-dev

11 years agoCamera2: Properly update FPS range when FPS is set.
Eino-Ville Talvala [Wed, 3 Oct 2012 21:59:29 +0000 (14:59 -0700)]
Camera2: Properly update FPS range when FPS is set.

Otherwise a getParameters followed by setParameters will trigger an
incorrect reversion in FPS parameters.

Bug: 7279267
Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832

11 years agoam c2063056: Camera2: Fix prematurely clearing stream request
Alex Ray [Wed, 3 Oct 2012 21:32:35 +0000 (14:32 -0700)]
am c2063056: Camera2: Fix prematurely clearing stream request

* commit 'c20630569431234db23b6182dd17102023dee68e':
  Camera2: Fix prematurely clearing stream request

11 years agoCamera2: Fix prematurely clearing stream request
Alex Ray [Wed, 3 Oct 2012 06:30:07 +0000 (23:30 -0700)]
Camera2: Fix prematurely clearing stream request

Zsl handling was clearing the stream request before a capture request
was ready to be sent to the HAL, which would cause capture delays and
timeouts in certain conditions.

Bug: 7259520
Change-Id: Idde8bc4fc58b8b426c6985feac87759740e338ea

11 years agoam b3e97b34: Camera2: Fix trying to release HAL stream twice
Igor Murashkin [Wed, 3 Oct 2012 20:54:12 +0000 (13:54 -0700)]
am b3e97b34: Camera2: Fix trying to release HAL stream twice

* commit 'b3e97b347dceb882983427ac872b772e25f3f166':
  Camera2: Fix trying to release HAL stream twice

11 years agoEnable hdcp for WiFi display
James Dong [Wed, 3 Oct 2012 19:08:40 +0000 (12:08 -0700)]
Enable hdcp for WiFi display

o related-to-bug: 7055369

Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0

11 years agoam ecf17e82: Camera2: Handle client processes dying by closing camera resources
Igor Murashkin [Wed, 3 Oct 2012 18:56:04 +0000 (11:56 -0700)]
am ecf17e82: Camera2: Handle client processes dying by closing camera resources

* commit 'ecf17e82505fdb60d59e00b6dd59036df93de655':
  Camera2: Handle client processes dying by closing camera resources

11 years agoCamera2: Fix trying to release HAL stream twice
Igor Murashkin [Tue, 2 Oct 2012 22:21:31 +0000 (15:21 -0700)]
Camera2: Fix trying to release HAL stream twice

When we fail to disconnect the native window, StreamAdapter::release
would fail and remain in the old (ALLOCATED) state, thus it thinks that
we haven't released the HAL stream yet.

With this change, ignore DEAD_OBJECT native window disconnect failures,
so the state transitions to RELEASED and we don't double release HAL
streams.

Bug: 7258314
Change-Id: I524893e4b4d6463d7b0a7ce32fb6f658afba8e11

11 years agoCamera2: Handle client processes dying by closing camera resources
Igor Murashkin [Tue, 2 Oct 2012 23:05:11 +0000 (16:05 -0700)]
Camera2: Handle client processes dying by closing camera resources

CameraService now subscribes to binder death notifications
for each client, and disconnects the client if the death happened
without cleanly shutting down the client first.

Bug: 7258314
Change-Id: I7803836b589fd8f0dfe00f6c28a707b82012e751

11 years agoam 22d58d37: Camera2: Don\'t change state when reconnect is called
Igor Murashkin [Wed, 3 Oct 2012 18:37:23 +0000 (11:37 -0700)]
am 22d58d37: Camera2: Don\'t change state when reconnect is called

* commit '22d58d37db6b5f48a10b3a19f69ffda09943c125':
  Camera2: Don't change state when reconnect is called

11 years agoCamera2: Don't change state when reconnect is called
Igor Murashkin [Wed, 3 Oct 2012 02:07:14 +0000 (19:07 -0700)]
Camera2: Don't change state when reconnect is called

Bug: 7252802
Change-Id: Ibed4f59a96bef75bf84b1aaf1235fb87e94102ef

11 years agoam 9f9d7de7: Merge "Drop video bitrate to 2.5mbps." into jb-mr1-dev
Andreas Huber [Wed, 3 Oct 2012 17:58:12 +0000 (10:58 -0700)]
am 9f9d7de7: Merge "Drop video bitrate to 2.5mbps." into jb-mr1-dev

* commit '9f9d7de77beb65ab51e73e55eea6f0b3a4e75bd2':
  Drop video bitrate to 2.5mbps.

11 years agoam 1bac8972: Merge "Camera2: Use ZSL format quirk." into jb-mr1-dev
Eino-Ville Talvala [Wed, 3 Oct 2012 17:56:22 +0000 (10:56 -0700)]
am 1bac8972: Merge "Camera2: Use ZSL format quirk." into jb-mr1-dev

* commit '1bac89725021fee46f953d7d5f35690ff01e91f2':
  Camera2: Use ZSL format quirk.

11 years agoMerge "Drop video bitrate to 2.5mbps." into jb-mr1-dev
Andreas Huber [Wed, 3 Oct 2012 17:54:30 +0000 (10:54 -0700)]
Merge "Drop video bitrate to 2.5mbps." into jb-mr1-dev

11 years agoMerge "Camera2: Use ZSL format quirk." into jb-mr1-dev
Eino-Ville Talvala [Wed, 3 Oct 2012 17:52:12 +0000 (10:52 -0700)]
Merge "Camera2: Use ZSL format quirk." into jb-mr1-dev

11 years agoam 4401091b: Merge "Better power savings with wifi display code." into jb-mr1-dev
Andreas Huber [Wed, 3 Oct 2012 17:47:17 +0000 (10:47 -0700)]
am 4401091b: Merge "Better power savings with wifi display code." into jb-mr1-dev

* commit '4401091bc89fc69b7fc7df58cf6b403776f2698a':
  Better power savings with wifi display code.

11 years agoDrop video bitrate to 2.5mbps.
Dave Burke [Wed, 3 Oct 2012 01:39:39 +0000 (18:39 -0700)]
Drop video bitrate to 2.5mbps.

We have too much corruption/loss at higher bitrates. Reviewed quality
trade-off with jdong@. We can increase in the future if we have a
better packet loss concealment solution.

Bug: 7241844
Change-Id: I3b500a9c3a4429e834fb4c5ca04164d4e106fa9e

11 years agoMerge "Better power savings with wifi display code." into jb-mr1-dev
Andreas Huber [Wed, 3 Oct 2012 17:43:33 +0000 (10:43 -0700)]
Merge "Better power savings with wifi display code." into jb-mr1-dev

11 years agoBetter power savings with wifi display code.
Andreas Huber [Wed, 3 Oct 2012 17:16:58 +0000 (10:16 -0700)]
Better power savings with wifi display code.

No more polling the encoder for work to do, the encoder instead notifies
if there's activity.

Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778
related-to-bug: 7248248

11 years agoam 3a555c19: Merge "Increase polling frequency again temporarily to fix A/V issues...
Andreas Huber [Wed, 3 Oct 2012 16:54:32 +0000 (09:54 -0700)]
am 3a555c19: Merge "Increase polling frequency again temporarily to fix A/V issues" into jb-mr1-dev

* commit '3a555c19dbd6ae7bf0d63cb9879befb22773770d':
  Increase polling frequency again temporarily to fix A/V issues

11 years agoMerge "Increase polling frequency again temporarily to fix A/V issues" into jb-mr1-dev
Andreas Huber [Wed, 3 Oct 2012 16:50:51 +0000 (09:50 -0700)]
Merge "Increase polling frequency again temporarily to fix A/V issues" into jb-mr1-dev

11 years agoIncrease polling frequency again temporarily to fix A/V issues
Andreas Huber [Wed, 3 Oct 2012 16:01:11 +0000 (09:01 -0700)]
Increase polling frequency again temporarily to fix A/V issues

Fixes a bug in the silence detection and increases the timeout after which
we enter "silent mode" to 10 secs.

Change-Id: I802b058f054becd5c377186664437f7b3970193f
related-to-bug: 7248248

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 3 Oct 2012 14:33:50 +0000 (07:33 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I9de953cb5d49ea43902882573b01bc91f74d4953

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 3 Oct 2012 13:59:31 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoCamera2: Use ZSL format quirk.
Eino-Ville Talvala [Wed, 3 Oct 2012 01:14:49 +0000 (18:14 -0700)]
Camera2: Use ZSL format quirk.

Switch service to using HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED,
unless ZSL quirk is set.

This is important for compatibility across multiple implementations.

Bug: 6243944
Change-Id: Iea74671cbb44890a07e4f99cd757b0a5423d447a

11 years agoam ee40d832: Merge "Camera2: Use scene mode override parameter" into jb-mr1-dev
Eino-Ville Talvala [Wed, 3 Oct 2012 00:40:05 +0000 (17:40 -0700)]
am ee40d832: Merge "Camera2: Use scene mode override parameter" into jb-mr1-dev

* commit 'ee40d832e55847182412b0f56da652af054d7c06':
  Camera2: Use scene mode override parameter

11 years agoMerge "Camera2: Use scene mode override parameter" into jb-mr1-dev
Eino-Ville Talvala [Wed, 3 Oct 2012 00:36:25 +0000 (17:36 -0700)]
Merge "Camera2: Use scene mode override parameter" into jb-mr1-dev

11 years agoam 2808b590: Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into...
Jean-Michel Trivi [Wed, 3 Oct 2012 00:25:16 +0000 (17:25 -0700)]
am 2808b590: Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into jb-mr1-dev

* commit '2808b5902a4dd70be231fcb2e3131eb1944807da':
  Bug 7170947 Configure AAC decoder for mobile DRC settings

11 years agoMerge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into jb-mr1-dev
Jean-Michel Trivi [Wed, 3 Oct 2012 00:21:09 +0000 (17:21 -0700)]
Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into jb-mr1-dev

11 years agoBug 7170947 Configure AAC decoder for mobile DRC settings
Jean-Michel Trivi [Tue, 2 Oct 2012 18:18:16 +0000 (11:18 -0700)]
Bug 7170947 Configure AAC decoder for mobile DRC settings

Configure the AAC decoder to use the modile DRC settings when
 decoding streams with DRC metadata.
 Settings are:
 - target reference level of -12dB
 - DRC compression factor (attenuation) at max
These settings can be overridden by platform properties if the
 default values are to be modified.

Change-Id: If329fe566497685b735abe4e4b9a5e01697c063b

11 years agoCamera2: Use scene mode override parameter
Eino-Ville Talvala [Tue, 2 Oct 2012 20:30:04 +0000 (13:30 -0700)]
Camera2: Use scene mode override parameter

- Read in SCENE_MODE_OVERRIDES static parameter if available.
  Use it to select AF/AE/AWB modes when a scene mode is set.
- Add quirks structure to parameters; not yet used
- Fix desynchronization between range and single FPS value.
  Still need to sort out best way to convert from one to another.

Bug: 7259959
Bug: 7159577
Bug: 7172543

Change-Id: I0d07c31d5f21fbc4b0ec2fa23f7f778073d2d6e0

11 years agoam 47aa9c47: Merge "Enable silence detection and don\'t driver the audio encoder...
Andreas Huber [Tue, 2 Oct 2012 21:45:40 +0000 (14:45 -0700)]
am 47aa9c47: Merge "Enable silence detection and don\'t driver the audio encoder" into jb-mr1-dev

* commit '47aa9c47a0796bb695d09aa307b2d1c2c913f0eb':
  Enable silence detection and don't driver the audio encoder

11 years agoam 805b3ae3: Merge "Now back to 30fps, suspend updates if surface flinger didn\'t...
Andreas Huber [Tue, 2 Oct 2012 21:44:13 +0000 (14:44 -0700)]
am 805b3ae3: Merge "Now back to 30fps, suspend updates if surface flinger didn\'t send us" into jb-mr1-dev

* commit '805b3ae300ea414ce5973e60a9b544169da0ac44':
  Now back to 30fps, suspend updates if surface flinger didn't send us

11 years agoam f5aa7aa9: Merge "More power savings: No need to keep a history of outgoing packets...
Andreas Huber [Tue, 2 Oct 2012 21:42:34 +0000 (14:42 -0700)]
am f5aa7aa9: Merge "More power savings: No need to keep a history of outgoing packets" into jb-mr1-dev

* commit 'f5aa7aa94465e774ccdb07039690a5f42de1518a':
  More power savings: No need to keep a history of outgoing packets

11 years agoam 16461dca: Merge "Increase converter polling interval." into jb-mr1-dev
Andreas Huber [Tue, 2 Oct 2012 21:42:33 +0000 (14:42 -0700)]
am 16461dca: Merge "Increase converter polling interval." into jb-mr1-dev

* commit '16461dca0ba8ac1850463db6245d20dc1699279d':
  Increase converter polling interval.

11 years agoam f1b95045: Merge "Take advantage of the hardware encoder\'s ability to prepend...
Andreas Huber [Tue, 2 Oct 2012 21:42:32 +0000 (14:42 -0700)]
am f1b95045: Merge "Take advantage of the hardware encoder\'s ability to prepend SPS/PPS" into jb-mr1-dev

* commit 'f1b9504587b04d8a7067aca90b1f0575ccf74bb9':
  Take advantage of the hardware encoder's ability to prepend SPS/PPS

11 years agoMerge "Enable silence detection and don't driver the audio encoder" into jb-mr1-dev
Andreas Huber [Tue, 2 Oct 2012 21:40:52 +0000 (14:40 -0700)]
Merge "Enable silence detection and don't driver the audio encoder" into jb-mr1-dev

11 years agoMerge "Now back to 30fps, suspend updates if surface flinger didn't send us" into...
Andreas Huber [Tue, 2 Oct 2012 21:39:20 +0000 (14:39 -0700)]
Merge "Now back to 30fps, suspend updates if surface flinger didn't send us" into jb-mr1-dev

11 years agoMerge "More power savings: No need to keep a history of outgoing packets" into jb...
Andreas Huber [Tue, 2 Oct 2012 21:39:07 +0000 (14:39 -0700)]
Merge "More power savings: No need to keep a history of outgoing packets" into jb-mr1-dev

11 years agoMerge "Increase converter polling interval." into jb-mr1-dev
Andreas Huber [Tue, 2 Oct 2012 21:38:55 +0000 (14:38 -0700)]
Merge "Increase converter polling interval." into jb-mr1-dev

11 years agoMerge "Take advantage of the hardware encoder's ability to prepend SPS/PPS" into...
Andreas Huber [Tue, 2 Oct 2012 21:38:42 +0000 (14:38 -0700)]
Merge "Take advantage of the hardware encoder's ability to prepend SPS/PPS" into jb-mr1-dev

11 years agoEnable silence detection and don't driver the audio encoder
Andreas Huber [Tue, 2 Oct 2012 21:17:38 +0000 (14:17 -0700)]
Enable silence detection and don't driver the audio encoder

or send any audio out over the network if we've seen at least one second
of silence.

Change-Id: Ic2bca4ce7d55bd246283dc669f5f5cb6106d88ea
related-to-bug: 7248248

11 years agoNow back to 30fps, suspend updates if surface flinger didn't send us
Andreas Huber [Tue, 2 Oct 2012 19:49:33 +0000 (12:49 -0700)]
Now back to 30fps, suspend updates if surface flinger didn't send us

any new frames for one second or longer.

Change-Id: I1c2ec349b0a4b7c4eb9dcdde483362ec87dd69fa
related-to-bug: 7248248

11 years agoam 0389cc09: Fix video continuity
Marco Nelissen [Tue, 2 Oct 2012 18:03:42 +0000 (11:03 -0700)]
am 0389cc09: Fix video continuity

* commit '0389cc09f7b90f155a8942a0d2e1925cad1dbe2d':
  Fix video continuity

11 years agoMore power savings: No need to keep a history of outgoing packets
Andreas Huber [Tue, 2 Oct 2012 17:47:48 +0000 (10:47 -0700)]
More power savings: No need to keep a history of outgoing packets

if we're not enabling retransmission anyway.

Change-Id: I361120607974a2fab758c28b5033716213aef88e
related-to-bug: 7248248

11 years agoFix video continuity
Marco Nelissen [Tue, 2 Oct 2012 17:47:39 +0000 (10:47 -0700)]
Fix video continuity

Fixes "pixelation" seen after seeking in Netflix.
b/7211673

Change-Id: Id675acaef1e5fd7151fdfa7bd79e2f25990e1ecd

11 years agoIncrease converter polling interval.
Andreas Huber [Tue, 2 Oct 2012 17:31:46 +0000 (10:31 -0700)]
Increase converter polling interval.

Change-Id: I455005086a63c70883a71e189753a117b195f22f
related-to-bug: 7248248

11 years agoTake advantage of the hardware encoder's ability to prepend SPS/PPS
Andreas Huber [Tue, 2 Oct 2012 17:16:47 +0000 (10:16 -0700)]
Take advantage of the hardware encoder's ability to prepend SPS/PPS

to IDR frames instead of doing it manually.

Change-Id: I994cfbd6539013406dd610393ba1f0b9a0dbf4d5
related-to-bug: 7245308

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 2 Oct 2012 16:18:11 +0000 (09:18 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I2158d0cd4ff2c94fad7af68bc20e2ca2ca03a2dd

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 2 Oct 2012 13:59:28 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam bd710197: Merge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-dev
Jeff Tinker [Tue, 2 Oct 2012 08:29:08 +0000 (01:29 -0700)]
am bd710197: Merge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-dev

* commit 'bd710197a47e3772763c48bfb5d6be21df173a7f':
  [WVDRM] Fix for stuttering on low bandwidth

11 years agoMerge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-dev
Jeff Tinker [Tue, 2 Oct 2012 08:25:40 +0000 (01:25 -0700)]
Merge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-dev

11 years agoam ee178668: Use incremental updates sent by surface flinger
Andreas Huber [Mon, 1 Oct 2012 23:46:35 +0000 (16:46 -0700)]
am ee178668: Use incremental updates sent by surface flinger

* commit 'ee178668818eb4f43ff40735405f8fc42372620f':
  Use incremental updates sent by surface flinger

11 years agoam 1c730d33: Merge "ALooper::GetNowUs() now relies on systemTime instead of gettimeof...
Andreas Huber [Mon, 1 Oct 2012 23:45:06 +0000 (16:45 -0700)]
am 1c730d33: Merge "ALooper::GetNowUs() now relies on systemTime instead of gettimeofday." into jb-mr1-dev

* commit '1c730d33da2fa861000b3990b5e6c9ff69291387':
  ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.

11 years agoam 1a0d1670: Merge "Optionally have SurfaceMediaSource return absolute timestamps...
Andreas Huber [Mon, 1 Oct 2012 23:45:05 +0000 (16:45 -0700)]
am 1a0d1670: Merge "Optionally have SurfaceMediaSource return absolute timestamps" into jb-mr1-dev

* commit '1a0d1670b4304f294530f4ca9ce68defad6445dc':
  Optionally have SurfaceMediaSource return absolute timestamps

11 years agoUse incremental updates sent by surface flinger
Andreas Huber [Mon, 1 Oct 2012 23:38:26 +0000 (16:38 -0700)]
Use incremental updates sent by surface flinger

instead of running at a fixed framerate.

Change-Id: Ia3f36aa449e2e952bf3263ffbb709a9b79b09c26
related-to-bug: 7266398

11 years agoMerge "ALooper::GetNowUs() now relies on systemTime instead of gettimeofday." into...
Andreas Huber [Mon, 1 Oct 2012 23:40:03 +0000 (16:40 -0700)]
Merge "ALooper::GetNowUs() now relies on systemTime instead of gettimeofday." into jb-mr1-dev

11 years agoMerge "Optionally have SurfaceMediaSource return absolute timestamps" into jb-mr1-dev
Andreas Huber [Mon, 1 Oct 2012 23:39:50 +0000 (16:39 -0700)]
Merge "Optionally have SurfaceMediaSource return absolute timestamps" into jb-mr1-dev

11 years agoPerform an orderly shutdown if possible, force disconnect if necessary
Andreas Huber [Mon, 1 Oct 2012 18:26:30 +0000 (11:26 -0700)]
Perform an orderly shutdown if possible, force disconnect if necessary

wait for up to 2 secs for the dongle to send us a "TEARDOWN", after that
forcibly shutdown the connection.

Change-Id: Ie049857cd468b7af6986d6305f725c54571b2276
related-to-bug: 7258622

11 years agoRemove double negatives from SurfaceMediaSource
Andreas Huber [Mon, 1 Oct 2012 18:22:05 +0000 (11:22 -0700)]
Remove double negatives from SurfaceMediaSource

ensure mStarted actually reflects the state of SurfaceMediaSource

Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc
related-to-bug: 7258622

11 years agoMake sure we still handle shutdown-related message even if we're
Andreas Huber [Mon, 1 Oct 2012 17:43:55 +0000 (10:43 -0700)]
Make sure we still handle shutdown-related message even if we're

in error-state.

Change-Id: Ie12dd1a63306b4020b9de9eae007f6d768f02df6
related-to-bug: 7262673

11 years agoALooper::GetNowUs() now relies on systemTime instead of gettimeofday.
Andreas Huber [Mon, 1 Oct 2012 23:03:44 +0000 (16:03 -0700)]
ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.

Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3
related-to-bug: 7266324

11 years agoOptionally have SurfaceMediaSource return absolute timestamps
Andreas Huber [Mon, 1 Oct 2012 22:59:54 +0000 (15:59 -0700)]
Optionally have SurfaceMediaSource return absolute timestamps

based on systemTime().

Change-Id: I2eff15dd149a4b737d6e7473d1907cf0c80b6b38
related-to-bug: 7266706

11 years agoam 0cb47712: Inform DisplayManager that we\'re running over a secure channel (HDCP)
Andreas Huber [Mon, 1 Oct 2012 21:58:53 +0000 (14:58 -0700)]
am 0cb47712: Inform DisplayManager that we\'re running over a secure channel (HDCP)

* commit '0cb47712a4fc0e01ad8680ee6ac3a5d72eafe0ba':
  Inform DisplayManager that we're running over a secure channel (HDCP)

11 years agoInform DisplayManager that we're running over a secure channel (HDCP)
Andreas Huber [Mon, 1 Oct 2012 21:26:42 +0000 (14:26 -0700)]
Inform DisplayManager that we're running over a secure channel (HDCP)

if that's the case.

Change-Id: I5f16cad04a6937a3fb65600a971866a77e0ae9fc
related-to-bug: 7265406

11 years ago[WVDRM] Fix for stuttering on low bandwidth
Jeff Tinker [Mon, 1 Oct 2012 19:57:48 +0000 (12:57 -0700)]
[WVDRM] Fix for stuttering on low bandwidth

Reintroduces the play/pause rebuffering logic we eliminated
in JB zero day to fix double spins and slow startup - but
activates that logic only based on a comparison of the
current bandwidth measurement and the lowest bitrate track
in the movie.

Needs to be submitted with related changes in /vendor/widevine

bug: 7230071
Change-Id: If4f5ecda36c4858ce8bf5c4abb722f90a329ecdb

11 years agoam ad0d97c7: Perform an orderly shutdown if possible, force disconnect if necessary
Andreas Huber [Mon, 1 Oct 2012 18:42:52 +0000 (11:42 -0700)]
am ad0d97c7: Perform an orderly shutdown if possible, force disconnect if necessary

* commit 'ad0d97c7cf620e96a0b088dd9461645a3f8900b7':
  Perform an orderly shutdown if possible, force disconnect if necessary

11 years agoam 0e1d7164: Remove double negatives from SurfaceMediaSource
Andreas Huber [Mon, 1 Oct 2012 18:42:51 +0000 (11:42 -0700)]
am 0e1d7164: Remove double negatives from SurfaceMediaSource

* commit '0e1d71641624c641a0a1abe4098943f5a42c6f94':
  Remove double negatives from SurfaceMediaSource

11 years agoam 6360758c: Make sure we still handle shutdown-related message even if we\'re
Andreas Huber [Mon, 1 Oct 2012 18:42:50 +0000 (11:42 -0700)]
am 6360758c: Make sure we still handle shutdown-related message even if we\'re

* commit '6360758ce2d171169d2a21e30266547ee4ac0fec':
  Make sure we still handle shutdown-related message even if we're

11 years agoPerform an orderly shutdown if possible, force disconnect if necessary
Andreas Huber [Mon, 1 Oct 2012 18:26:30 +0000 (11:26 -0700)]
Perform an orderly shutdown if possible, force disconnect if necessary

wait for up to 2 secs for the dongle to send us a "TEARDOWN", after that
forcibly shutdown the connection.

Change-Id: Ie049857cd468b7af6986d6305f725c54571b2276
related-to-bug: 7258622

11 years agoRemove double negatives from SurfaceMediaSource
Andreas Huber [Mon, 1 Oct 2012 18:22:05 +0000 (11:22 -0700)]
Remove double negatives from SurfaceMediaSource

ensure mStarted actually reflects the state of SurfaceMediaSource

Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc
related-to-bug: 7258622

11 years agoMake sure we still handle shutdown-related message even if we're
Andreas Huber [Mon, 1 Oct 2012 17:43:55 +0000 (10:43 -0700)]
Make sure we still handle shutdown-related message even if we're

in error-state.

Change-Id: Ie12dd1a63306b4020b9de9eae007f6d768f02df6
related-to-bug: 7262673

11 years agoam 087dd8e7: Disable audio watchdog
Glenn Kasten [Mon, 1 Oct 2012 17:15:53 +0000 (10:15 -0700)]
am 087dd8e7: Disable audio watchdog

* commit '087dd8e7232e4c009e9121ab7e8c37985522c9ad':
  Disable audio watchdog

11 years agoam 4769f0b8: Merge "Even cleaner shutdown." into jb-mr1-dev
Dave Burke [Mon, 1 Oct 2012 17:15:11 +0000 (10:15 -0700)]
am 4769f0b8: Merge "Even cleaner shutdown." into jb-mr1-dev

* commit '4769f0b873030bbaa6977fe18696961d1d1b26ba':
  Even cleaner shutdown.

11 years agoam 7165491b: Merge "bug 7253033 clean up before closing an output" into jb-mr1-dev
Jean-Michel Trivi [Mon, 1 Oct 2012 17:15:10 +0000 (10:15 -0700)]
am 7165491b: Merge "bug 7253033 clean up before closing an output" into jb-mr1-dev

* commit '7165491b8fe140609ab987b510ad1a55715856e9':
  bug 7253033 clean up before closing an output

11 years agoam d13df246: Merge "Enable write side of MonoPipe to be shutdown" into jb-mr1-dev
Glenn Kasten [Mon, 1 Oct 2012 17:15:08 +0000 (10:15 -0700)]
am d13df246: Merge "Enable write side of MonoPipe to be shutdown" into jb-mr1-dev

* commit 'd13df2463bd09d8c1fc5b20050d3262a4e89512d':
  Enable write side of MonoPipe to be shutdown

11 years agoam 73bbd1f1: Camera2: Refactor preview/recording management to separate class.
Eino-Ville Talvala [Mon, 1 Oct 2012 17:13:35 +0000 (10:13 -0700)]
am 73bbd1f1: Camera2: Refactor preview/recording management to separate class.

* commit '73bbd1f1c493835f191ea2b0b72439292496b40a':
  Camera2: Refactor preview/recording management to separate class.

11 years agoam 0517e304: DO NOT MERGE: Remove experimental parameters for burst mode
James Painter [Mon, 1 Oct 2012 17:13:06 +0000 (10:13 -0700)]
am 0517e304: DO NOT MERGE: Remove experimental parameters for burst mode

* commit '0517e304d0cce25653a033e3cb00172d54ba251d':
  DO NOT MERGE: Remove experimental parameters for burst mode

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 1 Oct 2012 01:17:32 +0000 (18:17 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoDisable audio watchdog
Glenn Kasten [Thu, 27 Sep 2012 20:49:02 +0000 (13:49 -0700)]
Disable audio watchdog

It's not critical, and is wasting power

Bug: 7241714
Change-Id: I6ad4375f0000c92529688723dbe0ff0caa809c5d

11 years agoMerge "Even cleaner shutdown." into jb-mr1-dev
Dave Burke [Sun, 30 Sep 2012 19:14:20 +0000 (12:14 -0700)]
Merge "Even cleaner shutdown." into jb-mr1-dev

11 years agoMerge "bug 7253033 clean up before closing an output" into jb-mr1-dev
Jean-Michel Trivi [Sun, 30 Sep 2012 18:57:35 +0000 (11:57 -0700)]
Merge "bug 7253033 clean up before closing an output" into jb-mr1-dev