OSDN Git Service
The Android Automerger [Sun, 30 Sep 2012 13:59:27 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eino-Ville Talvala [Wed, 26 Sep 2012 17:45:47 +0000 (10:45 -0700)]
Camera2: Refactor preview/recording management to separate class.
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
James Painter [Fri, 28 Sep 2012 07:09:12 +0000 (00:09 -0700)]
DO NOT MERGE: Remove experimental parameters for burst mode
Bug:
7248756
Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
Andreas Huber [Fri, 28 Sep 2012 22:13:18 +0000 (15:13 -0700)]
Fix shutdown if HDCP was never instantiated.
Change-Id: Icdf6785880180f417c5432dff54c7e0fb12ef84d
related-to-bug:
7247918
Alex Ray [Fri, 28 Sep 2012 20:12:28 +0000 (13:12 -0700)]
Merge "Camera2: Use new JPEG transport header" into jb-mr1-dev
Andreas Huber [Fri, 28 Sep 2012 18:34:41 +0000 (11:34 -0700)]
Tell the encoder to emit SPS/PPS before IDR frames in wifi display code.
Change-Id: Ic40e09b66784dd2e370d30b688d50561a47ab85a
related-to-bug:
7245308
Andreas Huber [Fri, 28 Sep 2012 18:01:42 +0000 (11:01 -0700)]
Merge "Various improvements to a cleaner shutdown of the wifi display connection." into jb-mr1-dev
Alex Ray [Fri, 28 Sep 2012 17:30:38 +0000 (10:30 -0700)]
Merge "Camera2: Re-entering preview state on v2 Device" into jb-mr1-dev
Andreas Huber [Fri, 28 Sep 2012 17:23:51 +0000 (10:23 -0700)]
Various improvements to a cleaner shutdown of the wifi display connection.
Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239
related-to-bug:
7247918
The Android Automerger [Fri, 28 Sep 2012 13:59:20 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Alex Ray [Thu, 27 Sep 2012 23:06:48 +0000 (16:06 -0700)]
Camera2: Use new JPEG transport header
Check for new JPEG transport header at the end of the stream buffer
instead of at the beginning.
Bug:
7108816
Change-Id: I26c52267cb406dae50c9d0ee01e6c26359ba84aa
Eino-Ville Talvala [Fri, 28 Sep 2012 01:08:20 +0000 (18:08 -0700)]
Camera2: Only _some_ FPS values in the old API are scaled.
The (deprecated) single-FPS parameter is not scaled by 1000.
Bug:
7230239
Change-Id: I5664cce90f9cb01e57e39f1a1f7c8eb730501da3
Eino-Ville Talvala [Thu, 27 Sep 2012 23:36:15 +0000 (16:36 -0700)]
Merge "Camera2: Fix FPS value scaling between HAL2 and API" into jb-mr1-dev
Andreas Huber [Thu, 27 Sep 2012 21:27:42 +0000 (14:27 -0700)]
wfd_presentation_url should not include the port number according to wfd specs
Change-Id: I9c0e0174f6ab4cb24c6eafcaae853e432b3dffb9
related-to-bug:
7247490
Andreas Huber [Thu, 27 Sep 2012 21:31:04 +0000 (14:31 -0700)]
Merge "Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit." into jb-mr1-dev
Andreas Huber [Thu, 27 Sep 2012 21:30:49 +0000 (14:30 -0700)]
Merge "Prepend SPS/PPS manually before encryption in HDCP mode. This is" into jb-mr1-dev
Andreas Huber [Thu, 27 Sep 2012 21:13:05 +0000 (14:13 -0700)]
Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.
Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f
related-to-bug:
7247584
Eino-Ville Talvala [Thu, 27 Sep 2012 21:18:13 +0000 (14:18 -0700)]
Camera2: Fix FPS value scaling between HAL2 and API
API assumes FPS values are in fixed-point with LSB 0.001; HAL2 just
uses ints with no fractional part.
HAL should probably use floats or something similar, but for now, fix
scaling so the two agree on FPS values.
Bug:
7230239
Change-Id: Ie18a4f11fc9d17d9ae2d04781511a273213eda55
Dave Burke [Thu, 27 Sep 2012 19:54:57 +0000 (12:54 -0700)]
Tune WFD audio bitrate (did some listening tests).
Bug:
7241844
Change-Id: I5243f7a771871e650c6c2f380e0e81e7671c7bac
Andreas Huber [Thu, 27 Sep 2012 15:53:23 +0000 (08:53 -0700)]
Prepend SPS/PPS manually before encryption in HDCP mode. This is
a temporary change that will go away once the encoder can take care
of this.
Change-Id: Id65218f8a250d8c8fe3e8987b522065b5f5d7dca
related-to-bug:
7245308
The Android Automerger [Thu, 27 Sep 2012 13:59:33 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Alex Ray [Wed, 26 Sep 2012 22:52:50 +0000 (15:52 -0700)]
Camera2: Re-entering preview state on v2 Device
Bug:
7240891
Change-Id: I6a01b27197b4ee89a68f06f4375d315a716b67ae
Iliyan Malchev [Thu, 27 Sep 2012 03:22:12 +0000 (20:22 -0700)]
Merge changes Ia4414241,I34f5d36a into jb-mr1-dev
* changes:
audioflinger: use resample coefficients from audio-resampler library.
audioflinger/resampler: Add VERY_HIGH_QUALITY audio-resampler
SathishKumar Mani [Tue, 17 Jan 2012 18:49:47 +0000 (10:49 -0800)]
audioflinger: use resample coefficients from audio-resampler library.
-Add a separate quality VERY_HIGH_QUALITY in resampler
-Use resample coefficients audio-resampler library for
quality VERY_HIGH_QUALITY.
-This improves the quality of resampled output.
Bug:
7024293
Change-Id: Ia44142413bed5f5963d7eab7846eec877a2415e4
Signed-off-by: Iliyan Malchev <malchev@google.com>
SathishKumar Mani [Mon, 24 Sep 2012 18:48:11 +0000 (11:48 -0700)]
audioflinger/resampler: Add VERY_HIGH_QUALITY audio-resampler
Change-Id: I34f5d36ae60010ec64222d6660d10a84da3bf566
Bug:
7024293
Signed-off-by: Iliyan Malchev <malchev@google.com>
Dave Burke [Thu, 27 Sep 2012 00:56:37 +0000 (17:56 -0700)]
Tune iframe interval to 1sec.
Bug:
7241844
Change-Id: Iae0d73ecc680f6fa69d82ee2e8fac18ebece7782
Andreas Huber [Wed, 26 Sep 2012 21:30:33 +0000 (14:30 -0700)]
720p24 i-frames every 2 secs.
related-to-bug:
7239971
Change-Id: I4cbf7e9b878b180b0683656e9e8c0a6bb18e06dc
Andreas Huber [Wed, 26 Sep 2012 21:11:26 +0000 (14:11 -0700)]
Merge "Make sure we only release the HDCP module once shutdown has completed." into jb-mr1-dev
Andreas Huber [Wed, 26 Sep 2012 19:54:26 +0000 (12:54 -0700)]
Make sure we only release the HDCP module once shutdown has completed.
Change-Id: I4b614afe2b55ac53b4aa63311e5bea8fd6c4462e
related-to-bug:
7223555
Alex Ray [Tue, 25 Sep 2012 19:37:14 +0000 (12:37 -0700)]
Camera2: Fix JPEG Transport Header offset
Use offset into start of buffer after transport header
Bug:
7108816
Change-Id: I6f9778db313856eaeee31f6999e4e55678b09b26
Andreas Huber [Wed, 26 Sep 2012 18:00:49 +0000 (11:00 -0700)]
Merge "Fix shutdown and eliminate those annoying "failed to post..." logs." into jb-mr1-dev
Andreas Huber [Wed, 26 Sep 2012 18:00:10 +0000 (11:00 -0700)]
Merge "Logic to include HDCP specific PES extra header data was backwards." into jb-mr1-dev
Andreas Huber [Wed, 26 Sep 2012 17:19:18 +0000 (10:19 -0700)]
Logic to include HDCP specific PES extra header data was backwards.
Change-Id: I85ab02f0c3ab945093b27210da1e36a31c022da5
related-to-bug:
7237850
Andreas Huber [Wed, 26 Sep 2012 17:16:56 +0000 (10:16 -0700)]
Fix shutdown and eliminate those annoying "failed to post..." logs.
Change-Id: I963e0712f59070f83a26946c494fdeb3558aa0e3
related-to-bug:
7230886
Glenn Kasten [Wed, 26 Sep 2012 15:34:10 +0000 (08:34 -0700)]
Revert "Don't wait for presentation complete if terminated"
This reverts commit
44cda3a4e7ca3de0db9cb49145def3803b03ebb4
Change-Id: I7fd29b77690dab057ac966a42fb198b2772f092c
The Android Automerger [Wed, 26 Sep 2012 13:59:25 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Glenn Kasten [Mon, 24 Sep 2012 18:27:18 +0000 (11:27 -0700)]
Implement android.media.AudioManager.getProperty()
Bug:
6635041
Change-Id: I3386a4a6c226bc4eceaf65556119e4fb15f73224
Andreas Huber [Tue, 25 Sep 2012 23:16:06 +0000 (16:16 -0700)]
Merge "Better transport stream timestamp handling." into jb-mr1-dev
Andreas Huber [Tue, 25 Sep 2012 23:15:52 +0000 (16:15 -0700)]
Merge "Add some more logging, reduce startup delay to 1 sec." into jb-mr1-dev
Andreas Huber [Tue, 25 Sep 2012 21:20:08 +0000 (14:20 -0700)]
Better transport stream timestamp handling.
Properly emit PCR and PMT/PAT updates every 0.1 secs.
Don't stream RTCP unless requested by the dongle.
related-to-bug:
7232540
Change-Id: Ie9a6949a074d86ab022adfab5d2811294ba746aa
Eino-Ville Talvala [Mon, 24 Sep 2012 20:44:07 +0000 (13:44 -0700)]
Camera2: Make sure to clean out reprocess streams on shutdown as well.
Otherwise, streams may persist past expected lifetime.
Bug:
6243944
Change-Id: I901971b78baf9d577ea3812588dec3885232e7ef
The Android Automerger [Tue, 25 Sep 2012 18:05:51 +0000 (11:05 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eino-Ville Talvala [Mon, 24 Sep 2012 16:46:53 +0000 (09:46 -0700)]
Camera2: Debug and logging fixes.
- Fix LOG_TAGs to work with standard logcat filtering.
- Add ATRACE to Camera2Device
- Shorten thread names to fit in 16 characters
- Remove some ATRACEs to avoid flooding trace unnecessarily
Bug:
7220520
Change-Id: Ief8d677b5c8bb35d94e0f21b11b86505e83169ea
Eric Laurent [Mon, 24 Sep 2012 22:02:17 +0000 (15:02 -0700)]
audioflinger: improve record start and thread exit
Use broadcast() instead of signal() on the
thread wake up condition when starting record or requesting thread
exit to make sure that if another thread is waiting for the same
condition (e.g binder thread calling setParameters()) the mixer
thread will be woken up.
Bug
7184317.
Change-Id: I3154a4509ca7af6ffae5236e522b0fab8e75ed06
Andreas Huber [Mon, 24 Sep 2012 21:33:18 +0000 (14:33 -0700)]
Add some more logging, reduce startup delay to 1 sec.
Change-Id: Ic24a3d9e3e645288411efb46f7004d89e7a0a4b7
The Android Automerger [Tue, 25 Sep 2012 13:59:36 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Dave Burke [Mon, 24 Sep 2012 23:42:14 +0000 (16:42 -0700)]
Tune video bitrate to 5 mbps.
Change-Id: Ieb7ab1675db6fb21087a1258465f866ecdc5475b
Igor Murashkin [Mon, 24 Sep 2012 22:19:04 +0000 (15:19 -0700)]
Merge "Camera2: Emit ShutterCallback/RawCallback events after takePicture" into jb-mr1-dev
Igor Murashkin [Mon, 24 Sep 2012 22:18:41 +0000 (15:18 -0700)]
Merge "Camera2: Fix cropRegion sometimes exceeding the sensor array size" into jb-mr1-dev
Glenn Kasten [Mon, 24 Sep 2012 20:51:58 +0000 (13:51 -0700)]
Merge "Check clock_gettime(CLOCK_MONOTONIC) for failure" into jb-mr1-dev
Igor Murashkin [Thu, 20 Sep 2012 22:18:50 +0000 (15:18 -0700)]
Camera2: Emit ShutterCallback/RawCallback events after takePicture
Bug:
7176692
Change-Id: I50e8f9511f1770d97a42d1fa208c04b1bbcfba6b
Igor Murashkin [Wed, 19 Sep 2012 01:23:49 +0000 (18:23 -0700)]
Camera2: Fix cropRegion sometimes exceeding the sensor array size
Bug:
7155264
Bug:
7120431
Change-Id: I92a9c695b97ec40acf26dbdaa877964e41a9fd4c
Glenn Kasten [Mon, 24 Sep 2012 18:29:00 +0000 (11:29 -0700)]
Check clock_gettime(CLOCK_MONOTONIC) for failure
Bug:
7100774
Change-Id: I15a84a19bb6d6ef1d9dac4beaa03587638196404
Eric Laurent [Mon, 24 Sep 2012 17:38:23 +0000 (10:38 -0700)]
Merge "fix end of track presentation on suspended output" into jb-mr1-dev
Alex Ray [Mon, 24 Sep 2012 17:33:32 +0000 (10:33 -0700)]
Merge "Camera2: Truncate JPEG images" into jb-mr1-dev
Andreas Huber [Fri, 21 Sep 2012 23:02:39 +0000 (16:02 -0700)]
Attempt an orderly shutdown of the wifi display connection if possible.
Shutdown the session if the encoder signals an error.
related-to-bug:
7207481
Change-Id: Id78000a336f8bb8904e7d2102f8f81a4139cdd61
Alex Ray [Fri, 21 Sep 2012 07:58:03 +0000 (00:58 -0700)]
Camera2: Truncate JPEG images
Check for JPEG size hint from HAL, use if applicable. Otherwise
read until end of JPEG image to find appropriate file size.
Bug:
7108816
Change-Id: Idfd194133eb6c293ab08c9466f59606e62ba56b6
The Android Automerger [Mon, 24 Sep 2012 01:59:44 +0000 (18:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eric Laurent [Sun, 23 Sep 2012 22:20:50 +0000 (15:20 -0700)]
fix end of track presentation on suspended output
The code detecting the end of an audio track presentation before
removing it from the active track list is based on the
count of audio frames sent to audio HAL. When an output stream
is suspended (e.g. A2DP when SCO is active), this count does not
change and a track in stopped state will never be removed from
active track list causing the mixer thread to never release
the wake lock.
The fix consists in incrementing the audio HAL frame count even
if the output is suspended.
Also fix a problem in getRenderPosition() when the output is suspended.
Bug
7167534.
Change-Id: I3be836cbbea29b65dc087199cac6a1cd84c0a41d
James Dong [Sun, 23 Sep 2012 17:01:19 +0000 (10:01 -0700)]
Merge "Bug fix: MediaPlayer's deselectTrack() for subtitle." into jb-mr1-dev
The Android Automerger [Sat, 22 Sep 2012 16:41:41 +0000 (09:41 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eino-Ville Talvala [Sat, 22 Sep 2012 01:34:43 +0000 (18:34 -0700)]
Merge "Camera2: Don't use ZSL when flash is on force fire mode." into jb-mr1-dev
Eino-Ville Talvala [Fri, 21 Sep 2012 23:30:42 +0000 (16:30 -0700)]
Camera2: Don't use ZSL when flash is on force fire mode.
Bug:
7213907
Change-Id: I120b187c1886d85f4b2b5d3a6f28a28936424e8e
Igor Murashkin [Fri, 21 Sep 2012 22:11:55 +0000 (15:11 -0700)]
Merge "Camera2: Emit FaceDetection events for all except repeating 0-face frames" into jb-mr1-dev
Igor Murashkin [Thu, 20 Sep 2012 23:27:54 +0000 (16:27 -0700)]
Camera2: Emit FaceDetection events for all except repeating 0-face frames
Bug:
7205311
Change-Id: I570209445acf3a26f2246c3fe886d56bb63bd2f8
Andreas Huber [Thu, 20 Sep 2012 23:00:17 +0000 (16:00 -0700)]
Remove legacy code and APIs in wifi display related code.
Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
The Android Automerger [Fri, 21 Sep 2012 13:59:33 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Dave Burke [Fri, 21 Sep 2012 03:12:52 +0000 (20:12 -0700)]
Tune video bitrate to 2.5 MBPS.
Temporary workaround for buggy firmware (desired is 5 MBPS).
Change-Id: I9fb0af31ca07c9bfdc6f790b7c98ca546eaf2985
Eino-Ville Talvala [Thu, 20 Sep 2012 21:44:20 +0000 (14:44 -0700)]
Camera2: Clean up startup/shutdown sequences.
- Close camera device on startup errors
- Make sure all threads are shut down and the device is closed before
returning from ICamera::disconnect.
Bug:
7172680
Change-Id: I98611448ec5f2311e6604fa8ee5f9dde7bfdd988
Jeff Tinker [Fri, 21 Sep 2012 00:11:52 +0000 (17:11 -0700)]
Merge "Allow DRM client to pass the FD of an open file to the DRM server." into jb-mr1-dev
Andreas Huber [Thu, 20 Sep 2012 22:25:21 +0000 (15:25 -0700)]
Merge "Code to support RTP retransmission according to rfc4585, rfc4588" into jb-mr1-dev
Eino-Ville Talvala [Thu, 20 Sep 2012 22:12:56 +0000 (15:12 -0700)]
Merge "Camera2: Clean up startup/shutdown sequences." into jb-mr1-dev
Eino-Ville Talvala [Thu, 20 Sep 2012 22:12:24 +0000 (15:12 -0700)]
Merge "Camera2: Erase ZSL queue after each use." into jb-mr1-dev
Eino-Ville Talvala [Thu, 20 Sep 2012 21:44:20 +0000 (14:44 -0700)]
Camera2: Clean up startup/shutdown sequences.
- Close camera device on startup errors
- Make sure all threads are shut down and the device is closed before
returning from ICamera::disconnect.
Bug:
7172680
Change-Id: I98611448ec5f2311e6604fa8ee5f9dde7bfdd988
Andreas Huber [Thu, 20 Sep 2012 20:09:22 +0000 (13:09 -0700)]
Code to support RTP retransmission according to rfc4585, rfc4588
Change-Id: Idfb3c0935f28e4cbc2141f0903f0d3c4e95818a6
Gene Morgan [Fri, 14 Sep 2012 20:35:39 +0000 (13:35 -0700)]
Allow DRM client to pass the FD of an open file to the DRM server.
Part of CL https://googleplex-android-review.googlesource.com/#/c/222797/
This modifies the marshall/unmarshall of IDrmManagerService::
acquireDrmInfo() to watch for DrmInfoRequest tag "FileDescriptorKey".
If tag is present convert string to binary FD, then back to string
after passage through the interface's Binder.
Relevant bug reports:
bug:
6426185
Change-Id: I63748b7c986ca0a89613ed3f1c81f24cffb7a9b2
Eino-Ville Talvala [Thu, 20 Sep 2012 17:34:48 +0000 (10:34 -0700)]
Merge "Camera2: State must be STOPPED before JPEG callback is fired." into jb-mr1-dev
Eino-Ville Talvala [Thu, 20 Sep 2012 00:11:04 +0000 (17:11 -0700)]
Camera2: Erase ZSL queue after each use.
Since preview stops after a capture is submitted, need to clear out
the ZSL queue to avoid using stale buffers when the preview starts up
again.
Bug:
7189765
Change-Id: I9ae2382d0af132208aca5ccba49b5464d18a263e
Andreas Huber [Thu, 20 Sep 2012 16:30:25 +0000 (09:30 -0700)]
Merge "Instantiate HDCP module, add PES_private_data for encrypted streams." into jb-mr1-dev
Andreas Huber [Thu, 20 Sep 2012 16:30:11 +0000 (09:30 -0700)]
Merge "HDCP module binderized" into jb-mr1-dev
Eino-Ville Talvala [Thu, 20 Sep 2012 00:09:15 +0000 (17:09 -0700)]
Camera2: State must be STOPPED before JPEG callback is fired.
Move handling of JPEG callback to CaptureSequencer instead of
JpegProcessor, so that we can be sure the camera state is updated to
STOPPED before the JPEG callback is sent to the application layer.
Bug:
7172743
Change-Id: Ie8752d946d3eb8254230c77f10e5c38a83dc5371
Insun Kang [Thu, 20 Sep 2012 12:03:44 +0000 (21:03 +0900)]
Bug fix: MediaPlayer's deselectTrack() for subtitle.
o Previously, deselectTrack() actually doesn't work properly in
TimedTextDriver / TimedTextPlayer.
o Ignores select track operation when the same track is selected in a
row.
Bug:
7200096
TESTED=runtest -d cts-media -c android.media.cts.MediaPlayerTest
Change-Id: If7feac294cf9b358f616be45574bc2e26001c887
Eino-Ville Talvala [Thu, 20 Sep 2012 00:12:50 +0000 (17:12 -0700)]
Camera2: ZSL captures should also make some noise.
Change-Id: If7aff7223db41b4b7edeeb4c32e40ef3197b180b
Eino-Ville Talvala [Wed, 19 Sep 2012 23:12:18 +0000 (16:12 -0700)]
Camera2: Increase max timeout for the precapture sequence.
Increase maximum duration of the precapture sequence (final metering +
preflash + redeye reduction) to 2 seconds before timing out.
Change-Id: Ie1de4e96d46599eb53e1def9052b211e684f1fbc
Andreas Huber [Tue, 18 Sep 2012 21:47:48 +0000 (14:47 -0700)]
Instantiate HDCP module, add PES_private_data for encrypted streams.
Change-Id: I970f561a56a1d489a392c3480dec13f4ed7b43bd
Andreas Huber [Tue, 18 Sep 2012 17:36:32 +0000 (10:36 -0700)]
HDCP module binderized
Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
The Android Automerger [Wed, 19 Sep 2012 14:01:35 +0000 (07:01 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eino-Ville Talvala [Wed, 19 Sep 2012 00:58:26 +0000 (17:58 -0700)]
Merge "Camera2: Increase capture timeout." into jb-mr1-dev
Eino-Ville Talvala [Tue, 18 Sep 2012 23:01:11 +0000 (16:01 -0700)]
Camera2: Increase capture timeout.
Low-light modes may take longer to capture a picture, so increase the
timeouts.
Change-Id: Id50b1e4fd3186da4e75b2cc1c226ced2f8d394ac
Eino-Ville Talvala [Mon, 17 Sep 2012 23:57:27 +0000 (16:57 -0700)]
Camera2: Enable ZSL by default.
Bug:
6910087
Change-Id: Ie774f28fbb943b2ac2c856872fd4cae68b40430c
Eino-Ville Talvala [Tue, 18 Sep 2012 20:34:31 +0000 (13:34 -0700)]
Merge "Camera2: ZSL: Do regular capture if AE is not satisfied." into jb-mr1-dev
Eric Laurent [Tue, 18 Sep 2012 19:11:17 +0000 (12:11 -0700)]
Merge "Fix THD with max user EQ preset volume again" into jb-mr1-dev
Eino-Ville Talvala [Tue, 18 Sep 2012 00:55:07 +0000 (17:55 -0700)]
Camera2: ZSL: Do regular capture if AE is not satisfied.
- Check the AE state of the selected ZSL buffer; if it's not reporting
as CONVERGED or LOCKED, fall back to normal capture sequence
- Add more debugging for the ZSL queue.
Bug:
6910087
Change-Id: I77a4287580aa9ddbd58438477c40ce829555d0ca
Eino-Ville Talvala [Tue, 18 Sep 2012 17:28:35 +0000 (10:28 -0700)]
Merge changes Ibe5c08d5,I559f1281,I6f0f44fa into jb-mr1-dev
* changes:
Camera2: Don't be bothered by lack of faces.
Camera2: Filter out faces with 0 confidence.
Camera2: Change face detect/scene mode priority.
The Android Automerger [Tue, 18 Sep 2012 13:59:35 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Eric Laurent [Mon, 17 Sep 2012 16:02:23 +0000 (09:02 -0700)]
Fix THD with max user EQ preset volume again
There was a problem with previous fix in
1b6c677c where
the THD was good for max volume but bad for intermediate
high volume values.
This fix does not limit the band gains but apply a correction
to the effect bundle volume to take into account not only the
maximum band gain but also the average band gains weighted
by the proximity of each band to the max gain band.
Change-Id: Ibedd8da7fce1e163117f29b3da332da0e4fe8889
Eino-Ville Talvala [Tue, 18 Sep 2012 01:25:29 +0000 (18:25 -0700)]
Camera2: Don't be bothered by lack of faces.
Sometimes, people might want to photograph scenes with no faces. And
not have their log fill with errors when they do.
Bug:
7078231
Change-Id: Ibe5c08d51b49a3ea14203416fe7803a58de08dda
Eino-Ville Talvala [Tue, 18 Sep 2012 01:07:20 +0000 (18:07 -0700)]
Camera2: Filter out faces with 0 confidence.
Bug:
7078231
Change-Id: I559f1281359835e0489456091a5409ebc8f73479
Eino-Ville Talvala [Mon, 17 Sep 2012 23:43:14 +0000 (16:43 -0700)]
Camera2: Change face detect/scene mode priority.
Explicit scene modes should override the implicit face priority scene
mode from enabling face detection, to match application/API
expectations.
Change-Id: I6f0f44fadeacfdc0594dd2fdc280e294d2d87df6
Andreas Huber [Mon, 17 Sep 2012 22:07:30 +0000 (15:07 -0700)]
Now we only support a single client connection
and it cannot be initiated from the local interface address for security
reasons.
Also, there's at most one playback session active at any time, and when
it dies we shutdown the client connection altogether and signal an error
to the listener.
related-to-bug:
7139784
Change-Id: Ia8d02bc994ce9986936947ddda1f2a3dddbf5714