summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-07audioflinger/resampler: add build source for libaudio-resamplerty.lee
Bug: 7229644 Change-Id: I93bde36be1c3ec84174a4c98423e28f8b3d8782f Signed-off-by: ty.lee <ty.lee@lge.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-10-07merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-06Camera2: Fix off-by-one error in ZSL selection.Eino-Ville Talvala
Bug: 7258126 Change-Id: Ie6da4645c46a7bb0dbd11d7c6183e904f41f74fd
2012-10-05Camera2: Report getMaxNumFocusAreas 0 for fixed focus camerasIgor Murashkin
Bug: 7298805 Change-Id: I7499b80a9416bf454c8ea80c31ea4fdd3c4ee2d7
2012-10-05Camera2: Unconditionally shut down streams on disconnect.Eino-Ville Talvala
stopPreviewL may do nothing in certain states. Stop streams directly to avoid those failures, so that we always maintain the HAL interface invariant that streams referenced by in-flight requests are never deleted. Bug: 7276954 Change-Id: Ic4cffc43036f4944684d941981a43d6dd1dce7af
2012-10-05Camera2: Fix metering regions to take into account the current zoom/crop regionIgor Murashkin
Also adds a quirk to disable this fix to work around for incompliant HALs Bug: 7246065 Change-Id: I80bad25e56ba59149270238e5639bb33cae495ae
2012-10-05Camera2: Don't promote weak IBinder ptrs to strong onesIgor Murashkin
The Binder driver does not support promoting weak pointers into strong pointers. Occassionally the system would lock up when trying to do this (when closing the camera app). Bug: 7289040 Change-Id: I8bc0b5c48616bf0b7f4eed1878ad4994ee635871
2012-10-05Camera2: Change policy for calculating previewFpsRange from previewFpsIgor Murashkin
Bug: 7259959 Change-Id: I759a559d7115201264f88db1f23edc2d6aef6c43
2012-10-05Merge "Camera2: Don't promote weak IBinder ptrs to strong ones" into jb-mr1-devIgor Murashkin
2012-10-05Camera2: Don't promote weak IBinder ptrs to strong onesIgor Murashkin
The Binder driver does not support promoting weak pointers into strong pointers. Occassionally the system would lock up when trying to do this (when closing the camera app). Bug: 7289040 Change-Id: I8bc0b5c48616bf0b7f4eed1878ad4994ee635871
2012-10-05merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-04Camera2: Fix deadlock while zooming during recordIgor Murashkin
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
2012-10-04Camera2: Use the triggerAfWithAuto quirkEino-Ville Talvala
When this quirk is set, and a scene mode is enabled, do AF calls with AF mode AUTO instead of whatever the scene more override AF mode is. Bug: 7159577 Change-Id: I3ea6b8386abc0968047fc9bba3a35c5db5bdcfd3
2012-10-04Camera2: Synchronize mode changes and triggersEino-Ville Talvala
Make sure that changes to various parameters have reached the HAL before triggering asynchronous events like autofocus or precapture metering. Bug: 7107220 Change-Id: I3c50038de1671968eb32004ce538435121934e7e
2012-10-04Merge "Camera2: Include JPEG settings in ZSL requests." into jb-mr1-devEino-Ville Talvala
2012-10-04Merge "Optionally emit LPCM audio instead of using AAC in wifi display code" ↵Andreas Huber
into jb-mr1-dev
2012-10-04Camera2: Include JPEG settings in ZSL requests.Eino-Ville Talvala
Bug: 7287743 Change-Id: I1aba81b228451c3df712ce1f42b7aab79cac575f
2012-10-04Optionally emit LPCM audio instead of using AAC in wifi display codeAndreas Huber
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
2012-10-04Merge "Integrate improved coefficient sinc resampler: VHQ" into jb-mr1-devGlenn Kasten
2012-10-04Merge "Camera2: Fix deadlock while zooming during record" into jb-mr1-devIgor Murashkin
2012-10-04Integrate improved coefficient sinc resampler: VHQGlenn Kasten
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
2012-10-04merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-03Merge "Enable hdcp for WiFi display" into jb-mr1-devJames Dong
2012-10-03Camera2: Fix deadlock while zooming during recordIgor Murashkin
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
2012-10-03Camera2: Properly update FPS range when FPS is set.Eino-Ville Talvala
Otherwise a getParameters followed by setParameters will trigger an incorrect reversion in FPS parameters. Bug: 7279267 Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832
2012-10-03Drop video bitrate to 2.5mbps.Dave Burke
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
2012-10-03Better power savings with wifi display code.Andreas Huber
No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
2012-10-03Increase polling frequency again temporarily to fix A/V issuesAndreas Huber
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
2012-10-03Merge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-devEino-Ville Talvala
2012-10-03Camera2: Properly update FPS range when FPS is set.Eino-Ville Talvala
Otherwise a getParameters followed by setParameters will trigger an incorrect reversion in FPS parameters. Bug: 7279267 Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832
2012-10-03Camera2: Fix prematurely clearing stream requestAlex Ray
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
2012-10-03Enable hdcp for WiFi displayJames Dong
o related-to-bug: 7055369 Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0
2012-10-03Camera2: Fix trying to release HAL stream twiceIgor Murashkin
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
2012-10-03Camera2: Handle client processes dying by closing camera resourcesIgor Murashkin
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
2012-10-03Camera2: Don't change state when reconnect is calledIgor Murashkin
Bug: 7252802 Change-Id: Ibed4f59a96bef75bf84b1aaf1235fb87e94102ef
2012-10-03Merge "Drop video bitrate to 2.5mbps." into jb-mr1-devAndreas Huber
2012-10-03Merge "Camera2: Use ZSL format quirk." into jb-mr1-devEino-Ville Talvala
2012-10-03Drop video bitrate to 2.5mbps.Dave Burke
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
2012-10-03Merge "Better power savings with wifi display code." into jb-mr1-devAndreas Huber
2012-10-03Better power savings with wifi display code.Andreas Huber
No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
2012-10-03Merge "Increase polling frequency again temporarily to fix A/V issues" into ↵Andreas Huber
jb-mr1-dev
2012-10-03Increase polling frequency again temporarily to fix A/V issuesAndreas Huber
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
2012-10-03merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger
2012-10-02Camera2: Use ZSL format quirk.Eino-Ville Talvala
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
2012-10-02Merge "Camera2: Use scene mode override parameter" into jb-mr1-devEino-Ville Talvala
2012-10-02Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into ↵Jean-Michel Trivi
jb-mr1-dev
2012-10-02Bug 7170947 Configure AAC decoder for mobile DRC settingsJean-Michel Trivi
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
2012-10-02Camera2: Use scene mode override parameterEino-Ville Talvala
- 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
2012-10-02Merge "Enable silence detection and don't driver the audio encoder" into ↵Andreas Huber
jb-mr1-dev
2012-10-02Merge "Now back to 30fps, suspend updates if surface flinger didn't send us" ↵Andreas Huber
into jb-mr1-dev