OSDN Git Service
Lajos Molnar [Thu, 18 Sep 2014 21:14:29 +0000 (14:14 -0700)]
mediaplayer: smooth out videoplayback based on framerate
Bug:
14659809
Change-Id: I73f6c7224c51ac06487475f9ed395379111ad71f
Marco Nelissen [Sat, 20 Sep 2014 00:41:15 +0000 (00:41 +0000)]
Merge "Make prepare properly report failure again" into lmp-dev
Marco Nelissen [Fri, 19 Sep 2014 22:14:37 +0000 (15:14 -0700)]
Make prepare properly report failure again
Bug:
17583084
Bug:
17548451
Change-Id: I759d28eaafb520c206d54740c2c0a857b534d23c
Lajos Molnar [Wed, 7 May 2014 22:33:04 +0000 (15:33 -0700)]
mediaplayer: schedule video frames in VSYNC valleys
Bug:
14659809
Change-Id: Ic340ac61ad4778b493625c79c2cb4f747ff54ede
Marco Nelissen [Fri, 19 Sep 2014 19:12:35 +0000 (19:12 +0000)]
Merge "Fix ringbuffer handling" into lmp-dev
Marco Nelissen [Fri, 19 Sep 2014 18:46:44 +0000 (11:46 -0700)]
Fix ringbuffer handling
Explicitly keep track of the number of samples in the ring buffer,
rather than inferring it from the difference between the read and
write pointer, since the latter cannot distinguish between a
completely full and a completely empty buffer.
Bug:
17582331
Change-Id: I24d16ce96710209b7457ffad7c4c60201451980f
Eino-Ville Talvala [Fri, 19 Sep 2014 18:30:13 +0000 (18:30 +0000)]
Merge "CameraService: Add client name/pid to device open/close logging." into lmp-dev
Glenn Kasten [Fri, 19 Sep 2014 16:05:05 +0000 (09:05 -0700)]
Reduce log spam from getTimestamp errors
Bug:
17576481
Change-Id: I07d99e7c42b7d4f0994b5a6d9c9fe8eb29fbbe40
Eino-Ville Talvala [Fri, 19 Sep 2014 00:24:22 +0000 (17:24 -0700)]
CameraService: Add client name/pid to device open/close logging.
Bug:
15672812
Change-Id: I1162c6d9d0a1eea1dd32949a04c295b4941d2602
Marco Nelissen [Fri, 19 Sep 2014 00:20:08 +0000 (00:20 +0000)]
Merge "Always consider first buffer to be config" into lmp-dev
Eino-Ville Talvala [Thu, 18 Sep 2014 23:57:49 +0000 (23:57 +0000)]
Merge "CameraService: Fix dump methods for two clients" into lmp-dev
Eino-Ville Talvala [Thu, 18 Sep 2014 22:52:02 +0000 (15:52 -0700)]
CameraService: Fix dump methods for two clients
Actually write dump text into the provided FD, and add a bit more
dump data into CameraDeviceClient.
Bug:
17570762
Change-Id: I37b1db85188855d4e89c8050c4b13f0d22e07e0c
Marco Nelissen [Thu, 18 Sep 2014 22:09:28 +0000 (15:09 -0700)]
Always consider first buffer to be config
for backwards compatibility. Also fix a problem where writing 0
bytes to an empty ringbuffer would treat it as overflowed.
Bug:
17567501
Change-Id: I8019da76466576e1b2984e9eccf09bdec593038a
Phil Burk [Thu, 18 Sep 2014 22:37:13 +0000 (22:37 +0000)]
Merge "mediaplayer: fix buffer aggregation when video has offloaded audio" into lmp-dev
Jean-Michel Trivi [Thu, 18 Sep 2014 22:14:00 +0000 (22:14 +0000)]
Merge "AudioEffect acquires session" into lmp-dev
Jean-Michel Trivi [Thu, 18 Sep 2014 21:07:18 +0000 (14:07 -0700)]
AudioEffect acquires session
Currently, users of audio sessions, AudioTrack and AudioRecord,
are acquiring and releasing audio sessions according to their
life-cycle. AudioEffect instances were not counting as users
of an audio session. This caused an effect used on a session
to be purged by AudioFlinger::purgeStaleEffects_l() whenever
the last user of that session went away.
This CL makes AudioEffect acquire and release a session when
created and destroyed.
Bug
15432115
Change-Id: I922532150009988d43872f9b5928044a830ae0b3
Robert Shih [Thu, 18 Sep 2014 00:05:43 +0000 (00:05 +0000)]
Merge "PlaylistFetcher:don't signal a/v eos on subttitle eos" into lmp-dev
Andy Hung [Wed, 17 Sep 2014 23:31:37 +0000 (23:31 +0000)]
Merge "NuPlayer: update timestamp handling" into lmp-dev
Lajos Molnar [Wed, 17 Sep 2014 23:15:59 +0000 (23:15 +0000)]
Merge "NuPlayer: use getTimestamp instead of getPosition" into lmp-dev
Lajos Molnar [Wed, 17 Sep 2014 23:15:27 +0000 (23:15 +0000)]
Merge "Fix AudioTrack offloaded timestamp handling." into lmp-dev
Andy Hung [Fri, 12 Sep 2014 21:43:11 +0000 (14:43 -0700)]
Fix AudioTrack offloaded timestamp handling.
getTimestamp for offloaded tracks now returns WOULD_BLOCK for
situations where the timestamp is unavailable due to the
previous track still flushing or the timestamp is stale.
It is fixed for normal playback conditions.
Bug:
14659809
Bug:
17428188
Change-Id: Ic9ec07ccabc604236979769db5c4ea2dec252660
Andy Hung [Fri, 12 Sep 2014 22:12:16 +0000 (15:12 -0700)]
NuPlayer: update timestamp handling
Use getTimestamp WOULD_BLOCK error return code to clean up
initial playback/start timestamp handling.
Account for pause time and seeks.
Only send notification from driver when the media time changes.
Bug:
14659809
Bug:
17428188
Change-Id: I051bb5e2dd4fd5990474f8fb635615ad8d18eb2c
Phil Burk [Wed, 17 Sep 2014 23:03:47 +0000 (16:03 -0700)]
mediaplayer: fix buffer aggregation when video has offloaded audio
Change conditional test so we don't accidentally do buffer aggregation
on video buffers.
Bug:
17553847
Change-Id: I746452b2e62db664315732a38f982ce7faf26212
Signed-off-by: Phil Burk <philburk@google.com>
Lajos Molnar [Thu, 28 Aug 2014 14:27:44 +0000 (07:27 -0700)]
NuPlayer: use getTimestamp instead of getPosition
Bug:
14659809
Bug:
16985287
Change-Id: I59ec72fbd40a9b8d28fe548ddad082c03000c045
Eric Laurent [Wed, 17 Sep 2014 22:45:02 +0000 (22:45 +0000)]
Merge "audioflinger: remove debug log." into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 22:08:31 +0000 (22:08 +0000)]
Merge "Add support for ANDROID_LOOP to NuPlayer" into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 22:08:10 +0000 (22:08 +0000)]
Merge "Fix null pointer dereference" into lmp-dev
Marco Nelissen [Wed, 17 Sep 2014 19:38:33 +0000 (12:38 -0700)]
Fix null pointer dereference
Bug:
17544813
Change-Id: I6c94cd3056a99bb42fc71ee583938a2e3806fdc7
Eric Laurent [Wed, 17 Sep 2014 19:30:19 +0000 (12:30 -0700)]
audioflinger: remove debug log.
Remove debug log left by commit
ab5cdbaf.
bug:
17537746.
Change-Id: I10f672f607f8e87caaa8228fc05eff8aee7dfa15
Lajos Molnar [Wed, 17 Sep 2014 19:08:24 +0000 (19:08 +0000)]
Merge "mediaplayer: reset flags when pre-reading multiple buffers" into lmp-dev
Eric Laurent [Wed, 17 Sep 2014 18:59:43 +0000 (18:59 +0000)]
Merge "audio policy: fix attached devices validation" into lmp-dev
Robert Shih [Mon, 15 Sep 2014 20:36:30 +0000 (13:36 -0700)]
PlaylistFetcher:don't signal a/v eos on subttitle eos
Bug:
17310061
Change-Id: Ifbca3c12f21171a6e429dca51a250a41051fdd34
Marco Nelissen [Tue, 16 Sep 2014 22:43:44 +0000 (15:43 -0700)]
Add support for ANDROID_LOOP to NuPlayer
Bug:
17518139
Change-Id: I9355ddd4c998d967013dd8bd32d670a9a83dea31
Marco Nelissen [Wed, 17 Sep 2014 04:32:33 +0000 (21:32 -0700)]
mediaplayer: reset flags when pre-reading multiple buffers
Bug:
17521470
Change-Id: I15ee9b1d3dd4ad29f4961a642f7fadafd9fe5b24
Robert Shih [Wed, 17 Sep 2014 03:23:34 +0000 (03:23 +0000)]
Merge "HLS: fix freezes when toggling between a/v streams" into lmp-dev
Robert Shih [Wed, 17 Sep 2014 02:01:57 +0000 (02:01 +0000)]
Merge "NuPlayerDriver: restart after eos pause" into lmp-dev
Robert Shih [Wed, 17 Sep 2014 00:07:22 +0000 (17:07 -0700)]
NuPlayerDriver: restart after eos pause
Bug:
17512187
Change-Id: I204ce83790bf98bc7ffebcb76d5df1e56a6a3f66
Eric Laurent [Tue, 16 Sep 2014 23:38:20 +0000 (16:38 -0700)]
audio policy: fix attached devices validation
Consider all supported devices in an io profile and
not only the first one when looking for a match with attached
devices.
Failing to do so would cause the device validation to fail
if supported devices are not declared in a specific order
in the io profile descriptor in audio_policy.conf
Bug:
17532764.
Change-Id: Id27c9192e21de7f075076e17eb8c48e7e42847f6
Chong Zhang [Tue, 16 Sep 2014 22:29:52 +0000 (22:29 +0000)]
Merge "Disconnect HTTP-based data source upon reset" into lmp-dev
Robert Shih [Tue, 16 Sep 2014 18:34:08 +0000 (11:34 -0700)]
GenericSource: fix selectTrack parameter
Bug:
17512187
Change-Id: I19a0915fb0fb1b1ae036bf5df85b9c9e7657a7ea
Chong Zhang [Sun, 14 Sep 2014 21:28:45 +0000 (14:28 -0700)]
Disconnect HTTP-based data source upon reset
Bug:
17425250
Change-Id: Ieb4c93fd9848489f9dbf35a36474376924fd8eb9
Wei Jia [Tue, 16 Sep 2014 02:26:43 +0000 (02:26 +0000)]
Merge "ASessionDescription: allow open-ended NTP range." into lmp-dev
Robert Shih [Sat, 30 Aug 2014 01:22:44 +0000 (18:22 -0700)]
HLS: fix freezes when toggling between a/v streams
Bug:
17412740
Change-Id: Iacaf2fa1d20584056375803e1782ad6761c56fc5
Robert Shih [Tue, 16 Sep 2014 01:12:02 +0000 (01:12 +0000)]
Merge "ESQueue: do not merge aac packets" into lmp-dev
Wei Jia [Tue, 16 Sep 2014 00:34:19 +0000 (17:34 -0700)]
ASessionDescription: allow open-ended NTP range.
Bug:
17435211
Change-Id: I450d512abdc4368f5180d9859f3b4e207e3b5591
hkuang [Mon, 15 Sep 2014 23:56:40 +0000 (23:56 +0000)]
Merge "Optimize the YUV buffer copy a little bit to skip unnecessary operation." into lmp-dev
Robert Shih [Mon, 15 Sep 2014 23:56:04 +0000 (23:56 +0000)]
Merge "PlaylistFetcher: find the correct sequence number to start fetching" into lmp-dev
Robert Shih [Tue, 2 Sep 2014 23:51:37 +0000 (16:51 -0700)]
ESQueue: do not merge aac packets
Bug:
17310061
Change-Id: Ie0fb0702b0af1c4094415190fdfdf132d5fcd511
Lajos Molnar [Mon, 15 Sep 2014 23:37:50 +0000 (23:37 +0000)]
Merge "mediaplayer: handle surface dis/connection errors" into lmp-dev
hkuang [Fri, 12 Sep 2014 20:38:04 +0000 (13:38 -0700)]
Optimize the YUV buffer copy a little bit to skip unnecessary operation.
Bug:
17326758
Change-Id: I2505751cb40a53242ceeb3be8f362c3754c2ee3f
Robert Shih [Sat, 30 Aug 2014 02:01:29 +0000 (19:01 -0700)]
PlaylistFetcher: find the correct sequence number to start fetching
- skip over bad segemnts
- if we skipped too far into the future when adapting in live streams,
adjust back
Bug:
17141635
Bug:
17416657
Change-Id: I0877ceaf6e69cab751bf9e92579071f9e61643eb
Yin-Chia Yeh [Mon, 15 Sep 2014 22:11:20 +0000 (22:11 +0000)]
Merge "Camera2: handle one more videosnapshot failure" into lmp-dev
Yin-Chia Yeh [Mon, 15 Sep 2014 21:50:06 +0000 (14:50 -0700)]
Camera2: handle one more videosnapshot failure
Handle one more corner case.
Also remove redundant re-try path.
Bug:
17484683
Change-Id: I0b3e1223f4f28022e7ec6abe028ca3c2623829de
Eric Laurent [Mon, 15 Sep 2014 18:36:48 +0000 (18:36 +0000)]
Merge "audioflinger: fix pre processing effect leak" into lmp-dev
Phil Burk [Mon, 15 Sep 2014 18:26:36 +0000 (18:26 +0000)]
Merge "mediaplayer: optimize buffer queue management" into lmp-dev
Eino-Ville Talvala [Mon, 15 Sep 2014 18:11:13 +0000 (18:11 +0000)]
Merge "Camera3Device: Treat failure to idle as an error" into lmp-dev
Lajos Molnar [Mon, 15 Sep 2014 18:04:44 +0000 (11:04 -0700)]
mediaplayer: handle surface dis/connection errors
Bug:
17408008
Change-Id: I752d5372086772b79b1300a2d3fabbc4985954a8
Eric Laurent [Mon, 15 Sep 2014 17:40:22 +0000 (17:40 +0000)]
Merge "audioflinger: send mic mute command to all audio HALs" into lmp-dev
Eric Laurent [Sat, 13 Sep 2014 00:41:50 +0000 (17:41 -0700)]
audioflinger: fix pre processing effect leak
When a capture thread was closed, the effects attached to this thread
were left dangling and the associated effect chain destroyed.
When their last client was disconnected, the effects were not released
properly from the effect library because the destruction process could
not be completed without the effect being attached to a thread.
A similar problem prevented a RecordTrack to be properly released if
its client was destroyed after the capture thread.
The fix consists in allowing the effect or record track to be properly
released even if its parent thread cannot be promoted.
Also save any effect chain still present on a closed capture thread
in case a new client wants to reuse the effects on the same session later.
Bug:
17110064.
Change-Id: I5cd644daa357afd1f3548f9bcb28e6152d95fdb8
Eric Laurent [Sun, 14 Sep 2014 19:11:52 +0000 (12:11 -0700)]
audioflinger: send mic mute command to all audio HALs
Mic mute should be sent to all audio HALs, not
only the primary HAL as telephony can use
capture devices on other HALs (e.g USB)
Bug:
17321604.
Change-Id: I658f6084d5b5cdc5a70784661d5cea0b6f81c3a9
Eino-Ville Talvala [Sun, 14 Sep 2014 22:01:52 +0000 (22:01 +0000)]
Merge "Camera1: Validate scene mode override AF mode" into lmp-dev
Eino-Ville Talvala [Sun, 14 Sep 2014 21:52:19 +0000 (14:52 -0700)]
Camera3Device: Treat failure to idle as an error
Bug:
16899526
Change-Id: Ia995aac6360c9c41ed654af5a7052480f23903d8
Zhijun He [Sun, 14 Sep 2014 19:44:20 +0000 (12:44 -0700)]
Camera3: Update ZSL post-processing tags
Update ZSL processing tags according the still capture template
Also cache the request template to avoid extra cost of querying
into HAL every time.
Bug:
17463102
Change-Id: I2eeffefb0a4131c99a85dd3e4484cc6f0f025efa
Eric Laurent [Sun, 14 Sep 2014 18:47:10 +0000 (18:47 +0000)]
Merge "audio policy: fix relative priorities of PHONE and ENFORCED_AUDIBLE" into lmp-dev
Eino-Ville Talvala [Sat, 13 Sep 2014 20:34:55 +0000 (13:34 -0700)]
Camera1: Validate scene mode override AF mode
Don't allow uncalibrated cameras to list a fixed focus mode for
variable-focus cameras, since uncalibrated cameras cannot do INFINITY
focus.
Bug:
17492043
Change-Id: I5835efd6f21be0ebb74a9b7ea3ef5b2e7cf63e7a
Eino-Ville Talvala [Sat, 13 Sep 2014 21:16:11 +0000 (21:16 +0000)]
Merge "Camera: Allow larger preview resolutions in API1 for >= HALv2 devices" into lmp-dev
Eino-Ville Talvala [Sat, 13 Sep 2014 00:15:24 +0000 (17:15 -0700)]
Camera: Allow larger preview resolutions in API1 for >= HALv2 devices
Limit preview resolutions to a max of 1920x1920 instead of 1920x1080p,
so that any aspect ratio with a 1920 as the larger dimension can be used.
Also improve the initial preview/video size selection logic, to ensure
that the selected size is both a valid preview and video size, and not
too large.
Bug:
17458832
Change-Id: Iea006fadb5fbf0f03d23c3c5babb5b3611469688
Zhijun He [Sat, 13 Sep 2014 18:58:02 +0000 (18:58 +0000)]
Merge "Camera2: fix 4K recording" into lmp-dev
Yin-Chia Yeh [Fri, 12 Sep 2014 21:50:27 +0000 (14:50 -0700)]
Camera2: fix 4K recording
Bug:
17484683
Change-Id: I09bb12698057555329286c777102b9b310452fb3
Jon Eklund [Tue, 9 Sep 2014 20:39:49 +0000 (15:39 -0500)]
audio policy: fix relative priorities of PHONE and ENFORCED_AUDIBLE
ENFORCED_AUDIBLE should only be highest priority if system tones
are being forced. Otherwise it should behave like SONIFICATION.
Bug:
17474485.
Change-Id: Ia651779870d51100cc3179c96fa09694bc691ba7
Robert Shih [Sat, 13 Sep 2014 01:51:36 +0000 (01:51 +0000)]
Merge "LiveSession: reliable switch" into lmp-dev
Phil Burk [Wed, 10 Sep 2014 03:08:39 +0000 (20:08 -0700)]
mediaplayer: optimize buffer queue management
Various changes for power consumption including:
Restrict the number of messages in flight.
Buffer more frames in the GenericSource so reads occur in a burst.
Bug:
15094301
Change-Id: I783481fd91f3fdd445b95e88ab82178f649f1a38
Signed-off-by: Phil Burk <philburk@google.com>
Robert Shih [Sat, 30 Aug 2014 01:09:26 +0000 (18:09 -0700)]
LiveSession: reliable switch
Bug:
17142706
Change-Id: I9cd6c068178d62c294496e8ab0b0a3763354964f
Marco Nelissen [Sat, 13 Sep 2014 00:28:38 +0000 (00:28 +0000)]
Merge "Fix AAC timestamps for multiple aac frames per input buffer" into lmp-dev
Robert Shih [Sat, 13 Sep 2014 00:23:59 +0000 (00:23 +0000)]
Merge "LiveSession: re-buffer on under run to avoid stutter" into lmp-dev
Eric Laurent [Sat, 13 Sep 2014 00:18:18 +0000 (00:18 +0000)]
Merge "audio policy: fix check in creaateAudioPatch()" into lmp-dev
Eric Laurent [Fri, 12 Sep 2014 23:19:41 +0000 (16:19 -0700)]
audio policy: fix check in creaateAudioPatch()
Bug:
17488759.
Change-Id: I9dd2c3ca7f83de4b3573f4fb0e9934e1bc37c3bc
Igor Murashkin [Fri, 12 Sep 2014 22:37:14 +0000 (22:37 +0000)]
Merge "camera: add latest parameters to dumpsys for api1 cameras" into lmp-dev
Robert Shih [Sat, 30 Aug 2014 01:16:29 +0000 (18:16 -0700)]
LiveSession: re-buffer on under run to avoid stutter
Bug:
13742725
Change-Id: I7dad8876e18084c3c060d08190fa8a72fc2f5bad
Ronghua Wu [Fri, 12 Sep 2014 19:07:39 +0000 (19:07 +0000)]
Merge "stagefright: add adaptive playback support to SoftMPEG decoder." into lmp-dev
Robert Shih [Fri, 12 Sep 2014 18:26:27 +0000 (18:26 +0000)]
Merge "GenericSource: move track packet init from start to prepare" into lmp-dev
Robert Shih [Fri, 12 Sep 2014 18:24:02 +0000 (18:24 +0000)]
Merge "LiveSession: added onSwitchDown" into lmp-dev
Yin-Chia Yeh [Fri, 12 Sep 2014 16:47:25 +0000 (16:47 +0000)]
Merge "Camera2: improve ZSL candidate selection logic" into lmp-dev
Yin-Chia Yeh [Fri, 12 Sep 2014 16:47:11 +0000 (16:47 +0000)]
Merge "camera2: skip capture result after clearZslQueue" into lmp-dev
Robert Shih [Fri, 12 Sep 2014 00:27:44 +0000 (00:27 +0000)]
Merge "LiveSession: raise upwards adaptation constraint" into lmp-dev
Chong Zhang [Thu, 11 Sep 2014 23:54:48 +0000 (23:54 +0000)]
Merge "StagefrightRecorder: default to codec and fps from camcorder low profile" into lmp-dev
Robert Shih [Sat, 30 Aug 2014 01:02:56 +0000 (18:02 -0700)]
LiveSession: added onSwitchDown
additionally in this change
- AnotherPacketSource: added getEstimatedDurationUs that avoids
looping through buffered access units in most cases; this method
is called by LiveSession before triggering onSwitchDown. Also fix
the original getBufferedDurationUs to accumulate durations across
discontinuities.
Bug:
13742612
Change-Id: I135932ea0c74671b7019a3c7054844926c18bc14
Robert Shih [Thu, 11 Sep 2014 22:50:40 +0000 (22:50 +0000)]
Merge "PlaylistFetcher: avoid repeated fetch when we run off the edge of live playlists" into lmp-dev
Robert Shih [Thu, 11 Sep 2014 22:38:54 +0000 (15:38 -0700)]
GenericSource: move track packet init from start to prepare
Bug:
17244704
Change-Id: I15eba0e4d2a178cc0ba46bbc17be0e6d95e76935
Yin-Chia Yeh [Tue, 9 Sep 2014 20:31:46 +0000 (13:31 -0700)]
camera2: skip capture result after clearZslQueue
After ZSL queue is cleared, don't add capture result to ZSL queue
if its corresponding buffer has been cleared.
Bug:
17185356
Change-Id: Iddac39ab09b2560e2ce9390895927217c1736d5a
Igor Murashkin [Thu, 11 Sep 2014 21:43:24 +0000 (14:43 -0700)]
camera: add latest parameters to dumpsys for api1 cameras
Bug:
17290106
Change-Id: I08ac1659d0367613c37669d5bf6e6bf7b2b63bc2
Lajos Molnar [Thu, 11 Sep 2014 17:01:55 +0000 (10:01 -0700)]
avoid kWhatReadBuffer message spam in GenericSource
When playig WVM video, an extra readBuffer is posted for each
dequeueAccessUnit, resulting in an unbounded number of messages.
Bug:
17472979
Change-Id: Ice92ccf2454bf7a70856a4a8b535cefffc9e61ac
Glenn Kasten [Thu, 11 Sep 2014 19:28:07 +0000 (19:28 +0000)]
Merge "Clean up AudioTrack position and timestamp handling" into lmp-dev
Chong Zhang [Tue, 9 Sep 2014 01:55:34 +0000 (18:55 -0700)]
StagefrightRecorder: default to codec and fps from camcorder low profile
Bug:
16870964
Change-Id: I18425af630d3f041a3bcf77fbae3f07856fe8af2
Eric Laurent [Thu, 11 Sep 2014 18:23:53 +0000 (18:23 +0000)]
Merge "AudioPolicyManager: Use "safe" speaker for notifications if available" into lmp-dev
Ronghua Wu [Fri, 5 Sep 2014 21:25:39 +0000 (14:25 -0700)]
stagefright: add adaptive playback support to SoftMPEG decoder.
This covers both MPEG4 and H263 adaptive playback.
Bug:
17326758
Change-Id: I80a67b7f3ceab05e792f0a459439a8274bd78e20
Ronghua Wu [Thu, 11 Sep 2014 17:22:22 +0000 (17:22 +0000)]
Merge "stagefright: add adaptive playback support to SoftAVC decoder." into lmp-dev
Yin-Chia Yeh [Wed, 10 Sep 2014 22:14:18 +0000 (15:14 -0700)]
Camera2: improve ZSL candidate selection logic
1. Clear ZSL queue when focus mode is changed and autoFocus is
cancelled.
2. Do not check focus state is focus mode is fixed.
Bug:
17185356
Change-Id: I2cb10fb457b080f0db950c894e56995f638e147b
Glenn Kasten [Fri, 15 Aug 2014 22:13:30 +0000 (15:13 -0700)]
Clean up AudioTrack position and timestamp handling
Replace epoch concept by observing and accumulating server delta
positions. The advantage of using server deltas instead of absolute
values is that they (1) are not sensitive to 32-bit wraparound,
(2) are not sensitive to server behavior for stop(), and
(3) prepare for future 64-bit client positions without requiring 64-bit
positions on server.
Add comments to AudioTrack::getTimestamp() and friends
that the timestamp output parameter is undefined on error.
Don't allow getTimestamp to return a negative frame position after stop().
Accumulate the client released frames, which may be useful for a future API.
Bug:
11815245
Change-Id: I652940fa2db2f34a78c012a3ead0d9204fa29c6e
Robert Shih [Thu, 11 Sep 2014 04:26:01 +0000 (04:26 +0000)]
am
0568cd5b: am
e6b5d4c2: am
6fd1cf0c: am
86543654: am
0d83cf22: am
97d917bc: am
ab0b3212: am
9b51a37f: am
cb5dc219: am
74abb1ae: am
482b18bb: am
f106b199: SampleTable: check integer overflow during table alloc
* commit '
0568cd5bf0a93c54a5bca47b48f7cbe799ccafcf':
SampleTable: check integer overflow during table alloc