summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Enable hdcp for WiFi displayJames Dong2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | o related-to-bug: 7055369 Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0
* | | Merge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-devEino-Ville Talvala2012-10-031-0/+4
|\ \ \ | |_|/ |/| |
| * | Camera2: Properly update FPS range when FPS is set.Eino-Ville Talvala2012-10-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise a getParameters followed by setParameters will trigger an incorrect reversion in FPS parameters. Bug: 7279267 Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832
* | | Camera2: Fix prematurely clearing stream requestAlex Ray2012-10-032-7/+8
|/ / | | | | | | | | | | | | | | | | 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
* | Camera2: Fix trying to release HAL stream twiceIgor Murashkin2012-10-031-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Camera2: Handle client processes dying by closing camera resourcesIgor Murashkin2012-10-0311-28/+121
| | | | | | | | | | | | | | | | | | 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
* | Camera2: Don't change state when reconnect is calledIgor Murashkin2012-10-032-3/+10
| | | | | | | | | | Bug: 7252802 Change-Id: Ibed4f59a96bef75bf84b1aaf1235fb87e94102ef
* | Merge "Drop video bitrate to 2.5mbps." into jb-mr1-devAndreas Huber2012-10-031-1/+1
|\ \
| * | Drop video bitrate to 2.5mbps.Dave Burke2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Camera2: Use ZSL format quirk." into jb-mr1-devEino-Ville Talvala2012-10-034-2/+40
|\ \ \ | |/ / |/| |
| * | Camera2: Use ZSL format quirk.Eino-Ville Talvala2012-10-024-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Better power savings with wifi display code." into jb-mr1-devAndreas Huber2012-10-034-22/+104
|\ \ \
| * | | Better power savings with wifi display code.Andreas Huber2012-10-034-22/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
* | | | Merge "Increase polling frequency again temporarily to fix A/V issues" into ↵Andreas Huber2012-10-032-14/+24
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | jb-mr1-dev
| * | Increase polling frequency again temporarily to fix A/V issuesAndreas Huber2012-10-032-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Camera2: Use scene mode override parameter" into jb-mr1-devEino-Ville Talvala2012-10-024-47/+260
|\ \ \ | | |/ | |/|
| * | Camera2: Use scene mode override parameterEino-Ville Talvala2012-10-024-47/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into ↵Jean-Michel Trivi2012-10-021-5/+37
|\ \ \ | |_|/ |/| | | | | jb-mr1-dev
| * | Bug 7170947 Configure AAC decoder for mobile DRC settingsJean-Michel Trivi2012-10-021-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Enable silence detection and don't driver the audio encoder" into ↵Andreas Huber2012-10-022-12/+77
|\ \ \ | | | | | | | | | | | | jb-mr1-dev
| * | | Enable silence detection and don't driver the audio encoderAndreas Huber2012-10-022-12/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Now back to 30fps, suspend updates if surface flinger didn't send us" ↵Andreas Huber2012-10-026-30/+106
|\ \ \ \ | |/ / / | | | | | | | | into jb-mr1-dev
| * | | Now back to 30fps, suspend updates if surface flinger didn't send usAndreas Huber2012-10-026-30/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | any new frames for one second or longer. Change-Id: I1c2ec349b0a4b7c4eb9dcdde483362ec87dd69fa related-to-bug: 7248248
* | | | Merge "More power savings: No need to keep a history of outgoing packets" ↵Andreas Huber2012-10-022-2/+9
|\ \ \ \ | |/ / / | | | | | | | | into jb-mr1-dev
| * | | More power savings: No need to keep a history of outgoing packetsAndreas Huber2012-10-022-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if we're not enabling retransmission anyway. Change-Id: I361120607974a2fab758c28b5033716213aef88e related-to-bug: 7248248
* | | | Merge "Increase converter polling interval." into jb-mr1-devAndreas Huber2012-10-021-1/+1
|\ \ \ \ | |/ / /
| * | | Increase converter polling interval.Andreas Huber2012-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I455005086a63c70883a71e189753a117b195f22f related-to-bug: 7248248
* | | | Merge "Take advantage of the hardware encoder's ability to prepend SPS/PPS" ↵Andreas Huber2012-10-025-18/+12
|\ \ \ \ | |/ / / | | / / | |/ / |/| | into jb-mr1-dev
| * | Take advantage of the hardware encoder's ability to prepend SPS/PPSAndreas Huber2012-10-025-18/+12
| |/ | | | | | | | | | | | | to IDR frames instead of doing it manually. Change-Id: I994cfbd6539013406dd610393ba1f0b9a0dbf4d5 related-to-bug: 7245308
* | Fix video continuityMarco Nelissen2012-10-021-0/+2
|/ | | | | | | Fixes "pixelation" seen after seeking in Netflix. b/7211673 Change-Id: Id675acaef1e5fd7151fdfa7bd79e2f25990e1ecd
* Merge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-devJeff Tinker2012-10-021-11/+7
|\
| * [WVDRM] Fix for stuttering on low bandwidthJeff Tinker2012-10-011-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Use incremental updates sent by surface flingerAndreas Huber2012-10-013-7/+5
| | | | | | | | | | | | | | instead of running at a fixed framerate. Change-Id: Ia3f36aa449e2e952bf3263ffbb709a9b79b09c26 related-to-bug: 7266398
* | Merge "ALooper::GetNowUs() now relies on systemTime instead of ↵Andreas Huber2012-10-0111-80/+32
|\ \ | | | | | | | | | gettimeofday." into jb-mr1-dev
| * | ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.Andreas Huber2012-10-0111-80/+32
| | | | | | | | | | | | | | | Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3 related-to-bug: 7266324
* | | Merge "Optionally have SurfaceMediaSource return absolute timestamps" into ↵Andreas Huber2012-10-012-3/+15
|\ \ \ | |/ / | | | | | | jb-mr1-dev
| * | Optionally have SurfaceMediaSource return absolute timestampsAndreas Huber2012-10-012-3/+15
| | | | | | | | | | | | | | | | | | | | | based on systemTime(). Change-Id: I2eff15dd149a4b737d6e7473d1907cf0c80b6b38 related-to-bug: 7266706
* | | Inform DisplayManager that we're running over a secure channel (HDCP)Andreas Huber2012-10-011-1/+6
|/ / | | | | | | | | | | | | if that's the case. Change-Id: I5f16cad04a6937a3fb65600a971866a77e0ae9fc related-to-bug: 7265406
* | Perform an orderly shutdown if possible, force disconnect if necessaryAndreas Huber2012-10-013-7/+71
| | | | | | | | | | | | | | | | 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
* | Remove double negatives from SurfaceMediaSourceAndreas Huber2012-10-012-9/+12
| | | | | | | | | | | | | | ensure mStarted actually reflects the state of SurfaceMediaSource Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc related-to-bug: 7258622
* | Make sure we still handle shutdown-related message even if we'reAndreas Huber2012-10-011-20/+7
| | | | | | | | | | | | | | in error-state. Change-Id: Ie12dd1a63306b4020b9de9eae007f6d768f02df6 related-to-bug: 7262673
* | Disable audio watchdogGlenn Kasten2012-09-302-2/+12
| | | | | | | | | | | | | | It's not critical, and is wasting power Bug: 7241714 Change-Id: I6ad4375f0000c92529688723dbe0ff0caa809c5d
* | Merge "Even cleaner shutdown." into jb-mr1-devDave Burke2012-09-305-25/+38
|\ \
| * | Even cleaner shutdown.Andreas Huber2012-09-285-25/+38
| |/ | | | | | | | | Change-Id: I5a76f83db3a5e43f55eb4e04269d890c2015bae7 related-to-bug: 7247918
* | Merge "bug 7253033 clean up before closing an output" into jb-mr1-devJean-Michel Trivi2012-09-302-0/+16
|\ \
| * | bug 7253033 clean up before closing an outputJean-Michel Trivi2012-09-302-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An output can only be closed if there is no lock contention that prevents ThreadBase::exit() from being blocked. If an output device is waiting for an operation to complete (here a write in the remote_submix module, because the pipe is full), signal the module that it's entering the "exiting" state. Change-Id: I8248add60da543e90c25a4c809866cdb26255651
* | | Merge "Enable write side of MonoPipe to be shutdown" into jb-mr1-devGlenn Kasten2012-09-302-2/+26
|\ \ \ | |/ /
| * | Enable write side of MonoPipe to be shutdownGlenn Kasten2012-09-282-2/+26
| | | | | | | | | | | | | | | Bug: 7253033 Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
* | | Camera2: Refactor preview/recording management to separate class.Eino-Ville Talvala2012-09-287-533/+794
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Untangle preview/recording management from main class to simplify callpaths; in preparation for fixing several HAL/app interactions bugs. Bug: 7172543 Bug: 7159577 Bug: 7107220 Change-Id: Iab5503f66b35d88a1524111536a484c9e33fd934
* | | DO NOT MERGE: Remove experimental parameters for burst modeJames Painter2012-09-284-32/+0
| | | | | | | | | | | | | | | Bug: 7248756 Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d