OSDN Git Service

android-x86/frameworks-av.git
11 years agoMerge "Remove all traces of wifi display sink implementation and supporting code...
Andreas Huber [Wed, 24 Apr 2013 15:42:23 +0000 (15:42 +0000)]
Merge "Remove all traces of wifi display sink implementation and supporting code." into jb-mr2-dev

11 years agoRemove all traces of wifi display sink implementation and supporting code.
Andreas Huber [Tue, 23 Apr 2013 20:47:46 +0000 (13:47 -0700)]
Remove all traces of wifi display sink implementation and supporting code.

Change-Id: I64b681b7e3df1ef0dd80c0d261cacae293d5e684
related-to-bug: 8698812

11 years agoMerge "Camera3: Register all stream buffers at stream configuration time." into jb...
Eino-Ville Talvala [Tue, 23 Apr 2013 16:16:35 +0000 (16:16 +0000)]
Merge "Camera3: Register all stream buffers at stream configuration time." into jb-mr2-dev

11 years agoMerge "3rd time's the charm, right? Fix another instance where MediaCodec would"...
Andreas Huber [Mon, 22 Apr 2013 16:15:51 +0000 (16:15 +0000)]
Merge "3rd time's the charm, right? Fix another instance where MediaCodec would" into jb-mr2-dev

11 years agoCamera3: Register all stream buffers at stream configuration time.
Eino-Ville Talvala [Sat, 20 Apr 2013 00:26:13 +0000 (17:26 -0700)]
Camera3: Register all stream buffers at stream configuration time.

While registering them later would be nice for startup time, current
hardware will have to reinitialize everything, resulting in glitches.

Bug: 8657740
Change-Id: I1ed1f0a65d648f219f5228c8df15ffcf2a4b272e

11 years agoMerge "Fix ProCameraTests to pass on Wolfie, disabling failing tests" into jb-mr2-dev
Igor Murashkin [Fri, 19 Apr 2013 23:46:38 +0000 (23:46 +0000)]
Merge "Fix ProCameraTests to pass on Wolfie, disabling failing tests" into jb-mr2-dev

11 years agoMerge "A flush of a video decoder connected to a native window must reclaim" into...
Andreas Huber [Fri, 19 Apr 2013 21:39:36 +0000 (21:39 +0000)]
Merge "A flush of a video decoder connected to a native window must reclaim" into jb-mr2-dev

11 years ago3rd time's the charm, right? Fix another instance where MediaCodec would
Andreas Huber [Fri, 19 Apr 2013 21:33:45 +0000 (14:33 -0700)]
3rd time's the charm, right? Fix another instance where MediaCodec would

not return from a stop() or release() call if mediaserver dies at just the right
moment.

Change-Id: I7728f8df82d62602d4d272f8023aa88678dd7d95
related-to-bug: 8397711

11 years agoA flush of a video decoder connected to a native window must reclaim
Andreas Huber [Fri, 19 Apr 2013 18:55:18 +0000 (11:55 -0700)]
A flush of a video decoder connected to a native window must reclaim

output buffers already queued for rendering before considering a flush
completed. Otherwise the decoder may not have enough output buffers to
continue decoding after the discontinuity and we'll never dequeue more
from the native window.

Change-Id: I42e275dc336568e180081c6d7c0dc05fc9637c79
related-to-bug: 8578467

11 years agoMerge "Fix error message to match CTS" into jb-mr2-dev
Glenn Kasten [Fri, 19 Apr 2013 16:23:55 +0000 (16:23 +0000)]
Merge "Fix error message to match CTS" into jb-mr2-dev

11 years agoMerge "Use correct pid when running under test harness" into jb-mr2-dev
Glenn Kasten [Fri, 19 Apr 2013 16:23:42 +0000 (16:23 +0000)]
Merge "Use correct pid when running under test harness" into jb-mr2-dev

11 years agoMerge "Make sure MediaCodec::stop() and MediaCodec::release() still return" into...
Andreas Huber [Fri, 19 Apr 2013 15:34:03 +0000 (15:34 +0000)]
Merge "Make sure MediaCodec::stop() and MediaCodec::release() still return" into jb-mr2-dev

11 years agoMerge "Fix sample info parsing" into jb-mr2-dev
Marco Nelissen [Fri, 19 Apr 2013 14:58:42 +0000 (14:58 +0000)]
Merge "Fix sample info parsing" into jb-mr2-dev

11 years agoOMXNodeInstance: actually fix OMX_GetExtIndex logging
Jamie Gennis [Thu, 18 Apr 2013 23:34:44 +0000 (16:34 -0700)]
OMXNodeInstance: actually fix OMX_GetExtIndex logging

Bug: 8538872
Change-Id: I228746e8eb502af4bba4054caa4d8569fab35025

11 years agoUse correct pid when running under test harness
Glenn Kasten [Tue, 16 Apr 2013 19:35:20 +0000 (12:35 -0700)]
Use correct pid when running under test harness

This is a partial fix which addresses one of the root causes of this bug,
but only when running under test harness.  It has no effect otherwise.

Bug: 8598539
Change-Id: I87444daef1d76b17544f331e651ba1c87893c381

11 years agoFix error message to match CTS
Glenn Kasten [Thu, 18 Apr 2013 22:26:47 +0000 (15:26 -0700)]
Fix error message to match CTS

Bug: 8657725
Change-Id: Ib608eb55f14d557d667f93e4f646c03d5ea470c1

11 years agoFix ProCameraTests to pass on Wolfie, disabling failing tests
Igor Murashkin [Thu, 18 Apr 2013 18:53:35 +0000 (11:53 -0700)]
Fix ProCameraTests to pass on Wolfie, disabling failing tests

Note: tests fail in racy conditions, but we don't occur those conditions
in practice in other consumers of ProCamera.

Bug: 8654735
Change-Id: Ic73395ad564031a6b30ad99762dee59f9c35cecf

11 years agoMake sure MediaCodec::stop() and MediaCodec::release() still return
Andreas Huber [Thu, 18 Apr 2013 20:24:17 +0000 (13:24 -0700)]
Make sure MediaCodec::stop() and MediaCodec::release() still return

instead of blocking indefinitely if the mediaserver died while the call
is pending.

Change-Id: If2789b7fe99634d947ce4a3bb69c04baff5f8b10
related-to-bug: 8397711

11 years agoFix sample info parsing
Marco Nelissen [Wed, 17 Apr 2013 18:49:11 +0000 (11:49 -0700)]
Fix sample info parsing

b/8626561

Change-Id: Ibd5168282eb33d1abdc423e15a0d9aeb5a1ad687

11 years agoMerge "Add new error codes for DRM to improve error reporting" into jb-mr2-dev
Jeff Tinker [Thu, 18 Apr 2013 00:53:55 +0000 (00:53 +0000)]
Merge "Add new error codes for DRM to improve error reporting" into jb-mr2-dev

11 years agoAdd new error codes for DRM to improve error reporting
Jeff Tinker [Wed, 17 Apr 2013 23:12:27 +0000 (16:12 -0700)]
Add new error codes for DRM to improve error reporting

bug: 8621516
Change-Id: I9a06c9ea5bfde924906d3876a417b9451b6abde8

11 years agoMerge "Make sure the drain buffer is big enough" into jb-mr2-dev
Marco Nelissen [Wed, 17 Apr 2013 22:38:19 +0000 (22:38 +0000)]
Merge "Make sure the drain buffer is big enough" into jb-mr2-dev

11 years agoMerge "Apparently the mp3 decoder glitches if it was configured with the wrong" into...
Andreas Huber [Wed, 17 Apr 2013 22:35:28 +0000 (22:35 +0000)]
Merge "Apparently the mp3 decoder glitches if it was configured with the wrong" into jb-mr2-dev

11 years agoMerge "Fix a typo that would cause us not to shutdown/flush the decoders in" into...
Andreas Huber [Wed, 17 Apr 2013 19:52:41 +0000 (19:52 +0000)]
Merge "Fix a typo that would cause us not to shutdown/flush the decoders in" into jb-mr2-dev

11 years agoMerge "Parse the last none-empty line of .m3u8 file" into jb-mr2-dev
Andreas Huber [Wed, 17 Apr 2013 19:52:14 +0000 (19:52 +0000)]
Merge "Parse the last none-empty line of .m3u8 file" into jb-mr2-dev

11 years agoApparently the mp3 decoder glitches if it was configured with the wrong
Andreas Huber [Tue, 16 Apr 2013 23:35:19 +0000 (16:35 -0700)]
Apparently the mp3 decoder glitches if it was configured with the wrong

sample rate. Make sure we tell it about the one the extractor provides.

Change-Id: Ice5b9cf55485ca1a8f099a14be0202be9540e781
related-to-bug: 8621639

11 years agoMerge "Added CTS test for secure stop APIs" into jb-mr2-dev
Jeff Tinker [Wed, 17 Apr 2013 16:16:39 +0000 (16:16 +0000)]
Merge "Added CTS test for secure stop APIs" into jb-mr2-dev

11 years agoAdded CTS test for secure stop APIs
Jeff Tinker [Mon, 8 Apr 2013 22:23:17 +0000 (15:23 -0700)]
Added CTS test for secure stop APIs

bug: 8604418

Change-Id: I173fa1ec904ba11dc4cff0343462b3f4bac0d365

11 years agoMake sure the drain buffer is big enough
Marco Nelissen [Tue, 16 Apr 2013 22:57:38 +0000 (15:57 -0700)]
Make sure the drain buffer is big enough

b/8614909

Change-Id: I9d973dcd74100b793791359c262b821207ff9ddd

11 years agoFix a typo that would cause us not to shutdown/flush the decoders in
Andreas Huber [Tue, 16 Apr 2013 17:54:03 +0000 (10:54 -0700)]
Fix a typo that would cause us not to shutdown/flush the decoders in

some cases.

related-to-bug: 8630032

Change-Id: I8e94b53b34e137e827e9630c65f3252ea91e4ebd

11 years agoMerge "Camera3: Allow multiple process_capture_result calls per request" into jb...
Eino-Ville Talvala [Tue, 16 Apr 2013 17:26:38 +0000 (17:26 +0000)]
Merge "Camera3: Allow multiple process_capture_result calls per request" into jb-mr2-dev

11 years agoParse the last none-empty line of .m3u8 file
Sungsoo Lim [Mon, 31 Dec 2012 08:48:20 +0000 (17:48 +0900)]
Parse the last none-empty line of .m3u8 file

If the last sentence of .m3u8 file is not processed, because
it is not empty and has no line feed, M3UParser.isComplete()
returns false even though it is completed.

Change-Id: I01b9f900d44247a3ef40369a2f9198bb7eaf01b7
related-to-bug: 8405824

11 years agoMerge "Guard against mLooper == NULL." into jb-mr2-dev
Andreas Huber [Tue, 16 Apr 2013 16:15:14 +0000 (16:15 +0000)]
Merge "Guard against mLooper == NULL." into jb-mr2-dev

11 years agoMerge "Better default AAC DRC setting" into jb-mr2-dev
Jean-Michel Trivi [Tue, 16 Apr 2013 15:42:00 +0000 (15:42 +0000)]
Merge "Better default AAC DRC setting" into jb-mr2-dev

11 years agoBetter default AAC DRC setting
Jean-Michel Trivi [Tue, 16 Apr 2013 01:40:51 +0000 (18:40 -0700)]
Better default AAC DRC setting

By default, use boost and attenuation together.

bug 7140036

Change-Id: Ie0565f9e5cd24f7a59b5a218b4e6186661832601

11 years agoFix Vorbis decoder reset
Marco Nelissen [Mon, 15 Apr 2013 23:28:49 +0000 (16:28 -0700)]
Fix Vorbis decoder reset

b/8543366

Change-Id: I9f32e96fdfc355cf444259a7c40554e2de184728

11 years agoGuard against mLooper == NULL.
Andreas Huber [Mon, 15 Apr 2013 23:18:56 +0000 (16:18 -0700)]
Guard against mLooper == NULL.

Change-Id: I01aa0e47b55d0dffe34525edf9f055a5cb4dc70f
related-to-bug: 8620223

11 years agoCamera3: Allow multiple process_capture_result calls per request
Eino-Ville Talvala [Tue, 9 Apr 2013 21:13:50 +0000 (14:13 -0700)]
Camera3: Allow multiple process_capture_result calls per request

To simplify HAL implementation, allow the results for a single
capture request to be sent from the HAL across multiple calls
to process_capture_request.

This requires that the HAL must call notify() with the SHUTTER message
to indicate start of exposure time, before the first call to
process_capture_result for a given frame.

Bug: 8565103

Change-Id: I6a61449725f98af88769fafa07736848a226dad2

11 years agoMerge "Fix AAC decoder reconfiguration" into jb-mr2-dev
Marco Nelissen [Mon, 15 Apr 2013 20:42:33 +0000 (20:42 +0000)]
Merge "Fix AAC decoder reconfiguration" into jb-mr2-dev

11 years agoMerge "Workaround: requestPriority() is one-way" into jb-mr2-dev
Glenn Kasten [Mon, 15 Apr 2013 19:07:56 +0000 (19:07 +0000)]
Merge "Workaround: requestPriority() is one-way" into jb-mr2-dev

11 years agoFix AAC decoder reconfiguration
Marco Nelissen [Mon, 15 Apr 2013 19:06:18 +0000 (12:06 -0700)]
Fix AAC decoder reconfiguration

The recent flush() changed made the codec behave differently after
a reconfigure. Now we reset its state properly again.
b/8543366

Change-Id: I8807b5ab02249b43fc1cf315d4e8d4ceb3f9b298

11 years agoMerge "MediaMuxer prefer not to use the MPEG4Writer in real time recording mode....
ztenghui [Mon, 15 Apr 2013 18:36:01 +0000 (18:36 +0000)]
Merge "MediaMuxer prefer not to use the MPEG4Writer in real time recording mode." into jb-mr2-dev

11 years agoMediaMuxer prefer not to use the MPEG4Writer in real time recording mode.
ztenghui [Fri, 12 Apr 2013 20:50:38 +0000 (13:50 -0700)]
MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.

By default, MPEG4Write will keep running in real time recording mode.

bug:8598944

Change-Id: Idf7fbd4e0feb7763660a74279ba8817b79098aaf

11 years agoMerge "Instead of returning an error, return an invalid duration (-1 ms)" into jb...
Andreas Huber [Mon, 15 Apr 2013 15:16:02 +0000 (15:16 +0000)]
Merge "Instead of returning an error, return an invalid duration (-1 ms)" into jb-mr2-dev

11 years agoMerge "Update the test output path." into jb-mr2-dev
Yu Shan Emily Lau [Mon, 15 Apr 2013 01:30:32 +0000 (01:30 +0000)]
Merge "Update the test output path." into jb-mr2-dev

11 years agoUpdate the test output path.
Yu Shan Emily Lau [Fri, 12 Apr 2013 21:52:52 +0000 (14:52 -0700)]
Update the test output path.

In order for the automated test to pick up the test.
The output must be in /data/nativetest.

Change-Id: Idc15036afb5617ac1ef67ff74ba332c5f73fe155

11 years agoMerge "OMXNodeInstance: fix OMX_GetExtensionIndex logging" into jb-mr2-dev
Jamie Gennis [Fri, 12 Apr 2013 17:38:49 +0000 (17:38 +0000)]
Merge "OMXNodeInstance: fix OMX_GetExtensionIndex logging" into jb-mr2-dev

11 years agoMerge "Fix MediaCodec.flush()" into jb-mr2-dev
Marco Nelissen [Fri, 12 Apr 2013 17:20:51 +0000 (17:20 +0000)]
Merge "Fix MediaCodec.flush()" into jb-mr2-dev

11 years agoFix MediaCodec.flush()
Marco Nelissen [Tue, 9 Apr 2013 21:57:38 +0000 (14:57 -0700)]
Fix MediaCodec.flush()

There were two problems here. One was that the skip/cut buffer
wasn't cleared when it should be, and the second was that we
were always sending the first buffer of encoded data to the AAC
decoder twice.
b/8543366

Change-Id: Ic040edabf16cccd1f6ef8c9e5c9cfbacbdd8a089

11 years agoMerge "ACodec now signals an error if the mediaserver died while it is in" into jb...
Andreas Huber [Fri, 12 Apr 2013 15:22:20 +0000 (15:22 +0000)]
Merge "ACodec now signals an error if the mediaserver died while it is in" into jb-mr2-dev

11 years agoMerge "The framework really doesn't need to know the specifics of the codec" into...
Andreas Huber [Fri, 12 Apr 2013 15:22:05 +0000 (15:22 +0000)]
Merge "The framework really doesn't need to know the specifics of the codec" into jb-mr2-dev

11 years agoWorkaround: requestPriority() is one-way
Glenn Kasten [Fri, 12 Apr 2013 00:21:41 +0000 (17:21 -0700)]
Workaround: requestPriority() is one-way

Bug: 8565696
Change-Id: If5fcdf8593e1ca15bea45217bd683b43a2a106c7

11 years agoMerge "Camera3: Improve error logging" into jb-mr2-dev
Eino-Ville Talvala [Thu, 11 Apr 2013 23:47:32 +0000 (23:47 +0000)]
Merge "Camera3: Improve error logging" into jb-mr2-dev

11 years agoACodec now signals an error if the mediaserver died while it is in
Andreas Huber [Thu, 11 Apr 2013 23:06:14 +0000 (16:06 -0700)]
ACodec now signals an error if the mediaserver died while it is in

anything other than "uninitialized" state.

Change-Id: Id133d897ac65b455b34e5de17ff9c39b47285630
related-to-bug: 8397711

11 years agoThe framework really doesn't need to know the specifics of the codec
Andreas Huber [Thu, 11 Apr 2013 18:37:28 +0000 (11:37 -0700)]
The framework really doesn't need to know the specifics of the codec

color format, so stop trying to enforce a whitelist.

Change-Id: I0ceb3bdd5bcc6c1bbd56740b0cd662a2b5820dfe
related-to-bug: 8596546

11 years agoInstead of returning an error, return an invalid duration (-1 ms)
Andreas Huber [Thu, 11 Apr 2013 18:07:55 +0000 (11:07 -0700)]
Instead of returning an error, return an invalid duration (-1 ms)

if no duration information was available. This prevents us from
entering ERROR state, effectively rendering the player instance useless.

Change-Id: I602d2661ae8b8633360306c0ea9208fb11e2bf17
related-to-bug: 8596285

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:53:49 +0000 (21:53 -0700)]
Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0

11 years agoOMXNodeInstance: fix OMX_GetExtensionIndex logging
Jamie Gennis [Tue, 9 Apr 2013 23:40:54 +0000 (16:40 -0700)]
OMXNodeInstance: fix OMX_GetExtensionIndex logging

This change fixes the logging of OMX_GetExtensionIndex errors.  Under certain
circumstances these errors are not harmful and should not be logged.

Bug: 8538872
Change-Id: I19a13d29ca6263454a9a7a8be205e10363725f31

11 years agoCamera3: Improve error logging
Eino-Ville Talvala [Tue, 9 Apr 2013 20:49:56 +0000 (13:49 -0700)]
Camera3: Improve error logging

In preparation for supporting fragmented result calls.

Bug: 8565103
Change-Id: Id834637d7cbecf7b550333beedab3281b5400748

11 years agoAdd support for common encryption
Marco Nelissen [Mon, 8 Apr 2013 21:30:57 +0000 (14:30 -0700)]
Add support for common encryption

b/7465749

Change-Id: I5403b74a5ae428ad28b382863a09daafc400b137

11 years agoCamera: implement takePicture for HAL3-using clients
Igor Murashkin [Tue, 2 Apr 2013 00:29:07 +0000 (17:29 -0700)]
Camera: implement takePicture for HAL3-using clients

* Implements Camera2Device-style triggers by mutating the next request
* Implements Camera3Device::waitUntilRequestReceived

Change-Id: Ie0b5591158872513a0bffbfab33123cf18dacf8a

11 years agoMerge "In certain cases where AAC audio frames extended into the next PES payload...
Andreas Huber [Fri, 5 Apr 2013 16:53:23 +0000 (16:53 +0000)]
Merge "In certain cases where AAC audio frames extended into the next PES payload" into jb-mr2-dev

11 years agoIn certain cases where AAC audio frames extended into the next PES payload
Andreas Huber [Fri, 5 Apr 2013 16:27:29 +0000 (09:27 -0700)]
In certain cases where AAC audio frames extended into the next PES payload

(inside transport streams) timestamps would be miscalculated. This fixes it.

Change-Id: I9d74eeea474d2b89e8a9cdc478ed6085282fb3be

11 years agoMerge "Implement async event callout from drm plugin to Java app" into jb-mr2-dev
Jeff Tinker [Fri, 5 Apr 2013 01:16:19 +0000 (01:16 +0000)]
Merge "Implement async event callout from drm plugin to Java app" into jb-mr2-dev

11 years agoMerge "Make sure resume() and flush() are handled appropriately even if the codec...
Marco Nelissen [Thu, 4 Apr 2013 23:18:05 +0000 (23:18 +0000)]
Merge "Make sure resume() and flush() are handled appropriately even if the codec" into jb-mr2-dev

11 years agoMake sure resume() and flush() are handled appropriately even if the codec
Marco Nelissen [Thu, 4 Apr 2013 22:37:21 +0000 (15:37 -0700)]
Make sure resume() and flush() are handled appropriately even if the codec

is in Loaded->Idle state.
b/8347958

Change-Id: Ic14d29502a7effc636251379bb1bbc25739db98e

11 years agoMerge "audioflinger: multiple tracks on direct output" into jb-mr2-dev
Eric Laurent [Thu, 4 Apr 2013 21:50:47 +0000 (21:50 +0000)]
Merge "audioflinger: multiple tracks on direct output" into jb-mr2-dev

11 years agoaudioflinger: multiple tracks on direct output
Eric Laurent [Thu, 4 Apr 2013 00:27:56 +0000 (17:27 -0700)]
audioflinger: multiple tracks on direct output

Fix problems when multiple tracks exist on a direct output
thread:  when multiple tracks are active, continue to update all
track states but only take into account the last track started
for audio HAL volume and mixer state control.

Bug 8388941

Change-Id: I57e6757286f41651dda99b11a5449e431812431b

11 years agoMerge "Fix previous changes." into jb-mr2-dev
Lajos Molnar [Thu, 4 Apr 2013 20:11:22 +0000 (20:11 +0000)]
Merge "Fix previous changes." into jb-mr2-dev

11 years agoFix previous changes.
Andreas Huber [Thu, 4 Apr 2013 20:03:03 +0000 (13:03 -0700)]
Fix previous changes.

Change-Id: I1cd3803b6507156174591c3252f1d89ef2e6140a

11 years agoMerge "RTPReceiver can now track packet loss, account for late arrivals" into jb...
Andreas Huber [Thu, 4 Apr 2013 19:57:42 +0000 (19:57 +0000)]
Merge "RTPReceiver can now track packet loss, account for late arrivals" into jb-mr2-dev

11 years agoMerge "Support "raw" packetization in RTPSender." into jb-mr2-dev
Andreas Huber [Thu, 4 Apr 2013 19:57:31 +0000 (19:57 +0000)]
Merge "Support "raw" packetization in RTPSender." into jb-mr2-dev

11 years agoMerge "New nettest, a simple TCP connection test to measure" into jb-mr2-dev
Andreas Huber [Thu, 4 Apr 2013 19:57:21 +0000 (19:57 +0000)]
Merge "New nettest, a simple TCP connection test to measure" into jb-mr2-dev

11 years agoMerge "RTPTest updated to allow for UDP/TCP transport and abstracted" into jb-mr2-dev
Andreas Huber [Thu, 4 Apr 2013 19:54:51 +0000 (19:54 +0000)]
Merge "RTPTest updated to allow for UDP/TCP transport and abstracted" into jb-mr2-dev

11 years agoRTPReceiver can now track packet loss, account for late arrivals
Andreas Huber [Thu, 4 Apr 2013 18:17:05 +0000 (11:17 -0700)]
RTPReceiver can now track packet loss, account for late arrivals

it also uses timers to trigger retransmission and packet loss declaration

Change-Id: If1f9324783b3bef950076c2edf321f7c33ff9fea

11 years agoSupport "raw" packetization in RTPSender.
Andreas Huber [Thu, 4 Apr 2013 18:16:39 +0000 (11:16 -0700)]
Support "raw" packetization in RTPSender.

Change-Id: I14d59573ee0f57eccc104fea0fb46377476d213d

11 years agoNew nettest, a simple TCP connection test to measure
Andreas Huber [Thu, 4 Apr 2013 18:12:24 +0000 (11:12 -0700)]
New nettest, a simple TCP connection test to measure

latency between two devices exchanging low-bitrate data.

Change-Id: Iac138fa70d2a69bbc86c517c953011c80bed071f

11 years agoMerge "Track max latency in WifiDisplaySink" into jb-mr2-dev
Andreas Huber [Thu, 4 Apr 2013 18:09:36 +0000 (18:09 +0000)]
Merge "Track max latency in WifiDisplaySink" into jb-mr2-dev

11 years agoMerge "Reduce TimeSyncer frequency to once every 60 secs, added some logs" into jb...
Andreas Huber [Thu, 4 Apr 2013 18:09:26 +0000 (18:09 +0000)]
Merge "Reduce TimeSyncer frequency to once every 60 secs, added some logs" into jb-mr2-dev

11 years agoMerge "Removed rtp timestamp patching hack in ANetworkSession, advertise" into jb...
Andreas Huber [Thu, 4 Apr 2013 18:09:17 +0000 (18:09 +0000)]
Merge "Removed rtp timestamp patching hack in ANetworkSession, advertise" into jb-mr2-dev

11 years agoMerge "Fix adaptive frame rate handling to be non-adaptive unless specified through...
Andreas Huber [Thu, 4 Apr 2013 18:09:04 +0000 (18:09 +0000)]
Merge "Fix adaptive frame rate handling to be non-adaptive unless specified through" into jb-mr2-dev

11 years agoRTPTest updated to allow for UDP/TCP transport and abstracted
Andreas Huber [Thu, 4 Apr 2013 18:08:21 +0000 (11:08 -0700)]
RTPTest updated to allow for UDP/TCP transport and abstracted

where the data is coming from, also added time synchronization.

Change-Id: Iecc2201a2bd17be06f16690a28261bef5b4e439c

11 years agoTrack max latency in WifiDisplaySink
Andreas Huber [Thu, 4 Apr 2013 17:53:34 +0000 (10:53 -0700)]
Track max latency in WifiDisplaySink

also unbreak non-special-mode by choosing a proper time offset based
on arrival time of the first access unit even when no time synchronization
is present.

Change-Id: I133050afc6f70d4639ca45de68a31d5bc3594e96

11 years agoReduce TimeSyncer frequency to once every 60 secs, added some logs
Andreas Huber [Thu, 4 Apr 2013 17:51:52 +0000 (10:51 -0700)]
Reduce TimeSyncer frequency to once every 60 secs, added some logs

to indicate when syncing intervals start and end.

Change-Id: I3b2b997d6723ff592af7c31082c6020cc1eca433

11 years agoRemoved rtp timestamp patching hack in ANetworkSession, advertise
Andreas Huber [Thu, 4 Apr 2013 17:50:18 +0000 (10:50 -0700)]
Removed rtp timestamp patching hack in ANetworkSession, advertise

differentiated service tags to help prioritize our traffic.

Change-Id: Ibe42df64da272f4bb6b978e46a4ea2efdadfcbc7

11 years agoFix adaptive frame rate handling to be non-adaptive unless specified through
Andreas Huber [Thu, 4 Apr 2013 17:48:50 +0000 (10:48 -0700)]
Fix adaptive frame rate handling to be non-adaptive unless specified through

adb shell setprop media.wfd.video-framerate adaptive

Change-Id: I452576b62ad465680232b40464977e126616df18

11 years agoFix a number of warnings in stagefright code.
Andreas Huber [Thu, 4 Apr 2013 17:42:23 +0000 (10:42 -0700)]
Fix a number of warnings in stagefright code.

Change-Id: If3edd00d991851797aeccdfe795a4a405e3a2ea3

11 years agoImplement async event callout from drm plugin to Java app
Jeff Tinker [Tue, 2 Apr 2013 20:08:05 +0000 (13:08 -0700)]
Implement async event callout from drm plugin to Java app

Change-Id: I007f147d693664e777b8758be2bb8a4c7ec0236b

11 years agoMerge "audioflinger: add effect config status check" into jb-mr2-dev
Eric Laurent [Wed, 3 Apr 2013 16:06:30 +0000 (16:06 +0000)]
Merge "audioflinger: add effect config status check" into jb-mr2-dev

11 years agoaudioflinger: add effect config status check
Eric Laurent [Tue, 2 Apr 2013 23:41:41 +0000 (16:41 -0700)]
audioflinger: add effect config status check

Check the result of the effect engine configuration command
and do not attempt to send parameters to, enable, or process
the effect if configuration fails.

Bug 8512027

Change-Id: I8c78a05d79fba36b1a387aa5cf2700612301ac91

11 years agoCamera3: Fix output stream creation for JPEG streams
Igor Murashkin [Tue, 2 Apr 2013 23:36:33 +0000 (16:36 -0700)]
Camera3: Fix output stream creation for JPEG streams

Change-Id: Iadf85c103c21614abb1aeb69a832ca01919c2aa5

11 years agoMerge "MediaDrm API update" into jb-mr2-dev
Jeff Tinker [Tue, 2 Apr 2013 22:49:20 +0000 (22:49 +0000)]
Merge "MediaDrm API update" into jb-mr2-dev

11 years agoCamera3: Fix metadata result not being rewritten after capture
Igor Murashkin [Tue, 2 Apr 2013 19:32:32 +0000 (12:32 -0700)]
Camera3: Fix metadata result not being rewritten after capture

Generally this problem manifested itself as the Frame Count not being set,
which then errored out ProFrameProcessor with a "Success" error.

Change-Id: Ifa927f43d0ce92100651ad3f714099a2f1ec4c2a

11 years agoMediaDrm API update
Jeff Tinker [Sat, 30 Mar 2013 23:19:44 +0000 (16:19 -0700)]
MediaDrm API update

Clarify offline usage of sessions and keys and implement
implement CryptoSession to support additional crypto use
cases.

Change-Id: I5d8000ce7e1dd7eba08969fc50296c9e1456c4fc

11 years agoMerge "Fix seek in response to OnPrepared() for HLS content" into jb-mr2-dev
Andreas Huber [Mon, 1 Apr 2013 21:40:34 +0000 (21:40 +0000)]
Merge "Fix seek in response to OnPrepared() for HLS content" into jb-mr2-dev

11 years agoFix seek in response to OnPrepared() for HLS content
Andreas Huber [Mon, 1 Apr 2013 21:28:31 +0000 (14:28 -0700)]
Fix seek in response to OnPrepared() for HLS content

Change-Id: I0e52352845398a4db074e939487f6f6de94bd523
related-to-bug: 8225122

11 years agoMerge "ToneGenerator: fix overflow in stopTone" into jb-mr2-dev
Eric Laurent [Mon, 1 Apr 2013 21:15:46 +0000 (21:15 +0000)]
Merge "ToneGenerator: fix overflow in stopTone" into jb-mr2-dev

11 years agoMTP: Implement date created field in GetObjectInfo
Mike Lockwood [Mon, 1 Apr 2013 17:51:35 +0000 (10:51 -0700)]
MTP: Implement date created field in GetObjectInfo

Bug: 8293874
Change-Id: I6b74fe73362bd4fac34ca8a54e127ae91f82aef9

11 years agoMerge "stagefright: matroska: don't crash on parsing error" into jb-mr2-dev
Lajos Molnar [Mon, 1 Apr 2013 17:31:15 +0000 (17:31 +0000)]
Merge "stagefright: matroska: don't crash on parsing error" into jb-mr2-dev

11 years agoMerge "Fix SHUTDOWN after SETUP and before PLAY in wifi display." into jb-mr2-dev
Andreas Huber [Thu, 28 Mar 2013 20:54:55 +0000 (20:54 +0000)]
Merge "Fix SHUTDOWN after SETUP and before PLAY in wifi display." into jb-mr2-dev