OSDN Git Service

android-x86/frameworks-av.git
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 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 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

11 years agoFix SHUTDOWN after SETUP and before PLAY in wifi display.
Andreas Huber [Thu, 28 Mar 2013 20:34:10 +0000 (13:34 -0700)]
Fix SHUTDOWN after SETUP and before PLAY in wifi display.

Change-Id: Ieb8ce1ac3130254839975a3677162b64156735bc
related-to-bug: 8499893

11 years agoToneGenerator: fix overflow in stopTone
Eric Laurent [Thu, 28 Mar 2013 18:58:45 +0000 (11:58 -0700)]
ToneGenerator: fix overflow in stopTone

Fix overflow in tone duration calculation introduced in
commit 681be039.

Bug 6607077

Change-Id: Ie12f13701345c2b2d3be0b3c4d71cbfa2394a29b

11 years agoMerge "Make sure resume() and flush() are handled appropriately even if the codec...
Andreas Huber [Thu, 28 Mar 2013 18:21:11 +0000 (18:21 +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
Andreas Huber [Thu, 28 Mar 2013 18:16:43 +0000 (11:16 -0700)]
Make sure resume() and flush() are handled appropriately even if the codec

is in Idle->Executing state.

Change-Id: I16a10791fae0e062a19299732c472cc93e4ed971
related-to-bug: 8347958

11 years agoMerge "Fix valgrind error in software h264 decoder" into jb-mr2-dev
Marco Nelissen [Thu, 28 Mar 2013 16:15:14 +0000 (16:15 +0000)]
Merge "Fix valgrind error in software h264 decoder" into jb-mr2-dev

11 years agoMerge "Camera: Add output side to camera3 HAL device" into jb-mr2-dev
Eino-Ville Talvala [Thu, 28 Mar 2013 16:07:16 +0000 (16:07 +0000)]
Merge "Camera: Add output side to camera3 HAL device" into jb-mr2-dev

11 years agoMerge "Camera: Add input side to camera3 HAL device" into jb-mr2-dev
Eino-Ville Talvala [Thu, 28 Mar 2013 16:06:21 +0000 (16:06 +0000)]
Merge "Camera: Add input side to camera3 HAL device" into jb-mr2-dev

11 years agoMerge "Camera: Add streams to camera3 HAL device" into jb-mr2-dev
Eino-Ville Talvala [Thu, 28 Mar 2013 16:06:11 +0000 (16:06 +0000)]
Merge "Camera: Add streams to camera3 HAL device" into jb-mr2-dev

11 years agoMerge "Fix valgrind error." into jb-mr2-dev
Marco Nelissen [Thu, 28 Mar 2013 15:55:38 +0000 (15:55 +0000)]
Merge "Fix valgrind error." into jb-mr2-dev

11 years agostagefright: matroska: don't crash on parsing error
Lajos Molnar [Thu, 28 Mar 2013 02:04:12 +0000 (19:04 -0700)]
stagefright: matroska: don't crash on parsing error

MatroskaExtractor crashed with an assertion if mkvparser::ParseNext()
returned a negative number.  Now handle all error values the same
way as the EOF.

Change-Id: I173c4f878d692a0cbdb915ad1118d0686249d625
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 8433794

11 years agoToneGenerator: fix truncated tones
Eric Laurent [Wed, 27 Mar 2013 19:05:40 +0000 (12:05 -0700)]
ToneGenerator: fix truncated tones

The first DTMF tone after a silent period is truncated.
This is because the phone app starts and stops the tone
when the user presses and releases the key.
This combined to the fact that the tones use the low latency path
and that when the output stream exists standby there is a period
of several milliseconds during which no audio is mixed until the
stream is "warmed up".
The result is that much less audio is generated than the actual
key press duration.

The fix consists in storing the tone start time and making sure that
the number of samples generated corresponds at least to the time difference
between the tone start and stop commands.

Bug 6607077

Change-Id: I070d20dd8600c25a9e5d5a60c1d3313b7917b00d

11 years agoMerge "ToneGenerator: fix stop/destroy concurrency" into jb-mr2-dev
Eric Laurent [Thu, 28 Mar 2013 00:24:50 +0000 (00:24 +0000)]
Merge "ToneGenerator: fix stop/destroy concurrency" into jb-mr2-dev

11 years agoCamera: Add output side to camera3 HAL device
Eino-Ville Talvala [Mon, 11 Mar 2013 21:13:50 +0000 (14:13 -0700)]
Camera: Add output side to camera3 HAL device

- Notifications
- Result queue and processing

Change-Id: Id6b4746708ce6c6dcc7262666b6ac3130fa3d225

11 years agoCamera: Add input side to camera3 HAL device
Eino-Ville Talvala [Thu, 28 Feb 2013 02:02:26 +0000 (18:02 -0800)]
Camera: Add input side to camera3 HAL device

- Stream creation/deletion
- Request submission
- Request thread loop
- Add get() to CameraMetadata to allow HAL submission while retaining
  ownership.

Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144

11 years agoCamera: Add streams to camera3 HAL device
Eino-Ville Talvala [Thu, 7 Mar 2013 00:20:06 +0000 (16:20 -0800)]
Camera: Add streams to camera3 HAL device

- Generic stream interface
- Functional output stream
- Skeleton input/zsl stream

Change-Id: I143794eac1a2217031d62b51912662fc6d1db900

11 years agoFix valgrind error in software h264 decoder
Marco Nelissen [Wed, 27 Mar 2013 23:44:54 +0000 (16:44 -0700)]
Fix valgrind error in software h264 decoder

h264bsdNextMbAddress could read past the end of an allocation, which
could conceivably result in a segfault if the allocation was at the
very end of a page.

Change-Id: Id7a0c5733d66e609f36feb0e15b2d67b9bbc0b4d

11 years agoMerge "Camera: Add hotplug support (for fixed # of cameras)" into jb-mr2-dev
Igor Murashkin [Wed, 27 Mar 2013 22:43:14 +0000 (22:43 +0000)]
Merge "Camera: Add hotplug support (for fixed # of cameras)" into jb-mr2-dev

11 years agoFix valgrind error.
Marco Nelissen [Wed, 27 Mar 2013 20:48:36 +0000 (13:48 -0700)]
Fix valgrind error.

The constructor calls reset(), which in turn calls stop(), which then
accesses mCaptureTimeLapse before it has been initialized.

Change-Id: Ia94ac740b9bd1a0389c72647a5639dd25320d92c

11 years agoMerge "ProCamera: Fix memory leak in consumeFrameMetadata" into jb-mr2-dev
Igor Murashkin [Wed, 27 Mar 2013 18:24:37 +0000 (18:24 +0000)]
Merge "ProCamera: Fix memory leak in consumeFrameMetadata" into jb-mr2-dev

11 years agoProCamera: Fix memory leak in consumeFrameMetadata
Igor Murashkin [Wed, 27 Mar 2013 18:07:06 +0000 (11:07 -0700)]
ProCamera: Fix memory leak in consumeFrameMetadata

Bug: 8402301
Change-Id: I975990185f45bb8552712271b9ac457af08a170c

11 years agoCamera: Add hotplug support (for fixed # of cameras)
Igor Murashkin [Wed, 20 Mar 2013 22:56:31 +0000 (15:56 -0700)]
Camera: Add hotplug support (for fixed # of cameras)

* Minor: also change addListener to fire the current status upon subscription
* Minor: STATUS_AVAILABLE is now an alias for STATUS_PRESENT and deprecated

Change-Id: I254608a7332095e3ef201ffea64cff156cfc1b3e

11 years agoToneGenerator: fix stop/destroy concurrency
Eric Laurent [Tue, 26 Mar 2013 23:37:19 +0000 (16:37 -0700)]
ToneGenerator: fix stop/destroy concurrency

There is a problem if the stopTone() method is called
from two different threads (for instance if the destructor is called
while stopTone() is waiting for the audio callback to finish).

In this case, the second call to stopTone() will not wait for the
condition to be signaled and call clearWaveGens() while the callback
can still be active, thus causing a crash.

There is a similar problem in case of concurrent calls to startTone()
and stopTone().

The fix consists in making sure that stopTone() always waits for call
back completion or timeout and exits before calling clearWaveGens()
if a concurrent start request is detected.

Bug 8163071

Change-Id: I9ddb4390407701dcad5bf83660fd9903f0d72268

11 years agoMerge "media.log dump" into jb-mr2-dev
Glenn Kasten [Tue, 26 Mar 2013 22:43:00 +0000 (22:43 +0000)]
Merge "media.log dump" into jb-mr2-dev

11 years agomedia.log dump
Glenn Kasten [Tue, 26 Mar 2013 22:09:04 +0000 (15:09 -0700)]
media.log dump

Bug: 8446008
Change-Id: Ia47b204f5c4c91b99591eec5420a25a3dc8e7631

11 years agoMerge "Adapt frame rate instead of keeping that constant and tweaking bitrate" into...
Andreas Huber [Tue, 26 Mar 2013 21:57:28 +0000 (21:57 +0000)]
Merge "Adapt frame rate instead of keeping that constant and tweaking bitrate" into jb-mr2-dev

11 years agoAdapt frame rate instead of keeping that constant and tweaking bitrate
Andreas Huber [Tue, 26 Mar 2013 20:52:43 +0000 (13:52 -0700)]
Adapt frame rate instead of keeping that constant and tweaking bitrate

Change-Id: I889abbbe1237e1a8fdd7135cdc91a2e9728ff39b

11 years agoToneGenerator: fix AudioTrack pointer init
Eric Laurent [Tue, 26 Mar 2013 19:25:30 +0000 (12:25 -0700)]
ToneGenerator: fix AudioTrack pointer init

The pointer to AudioTrack should be initialized before
early return from ToneGenerator constructor because
it is tested by the destructor.

Bug 8140963

Change-Id: I9a7dfb60ba162b75dfaa5630ab7fc9485afd0074

11 years agoIdentify network servers and clients with a OS version related string
Andreas Huber [Tue, 26 Mar 2013 17:19:24 +0000 (10:19 -0700)]
Identify network servers and clients with a OS version related string

and put the logic to create that string in one location instead of many...

Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39

11 years agoMerge "In "special" mode we now establish a UDP RTCP channel in addition to the"...
Andreas Huber [Tue, 26 Mar 2013 16:08:49 +0000 (16:08 +0000)]
Merge "In "special" mode we now establish a UDP RTCP channel in addition to the" into jb-mr2-dev

11 years agoMerge "ToneGenerator: optimize silent tone" into jb-mr2-dev
Eric Laurent [Tue, 26 Mar 2013 00:27:06 +0000 (00:27 +0000)]
Merge "ToneGenerator: optimize silent tone" into jb-mr2-dev

11 years agoIn "special" mode we now establish a UDP RTCP channel in addition to the
Andreas Huber [Mon, 25 Mar 2013 22:46:52 +0000 (15:46 -0700)]
In "special" mode we now establish a UDP RTCP channel in addition to the

TCP RTP channel and provide feedback on the latency of arriving packets from
the sink back to the source. This information is then used to throttle
video bitrate.

Change-Id: Ic589a3cb65e4893a3ff67de947da6063d32a1c6e

11 years agoMerge "Get rid of TunnelRenderer" into jb-mr2-dev
Andreas Huber [Mon, 25 Mar 2013 22:46:43 +0000 (22:46 +0000)]
Merge "Get rid of TunnelRenderer" into jb-mr2-dev

11 years agoToneGenerator: optimize silent tone
Eric Laurent [Mon, 25 Mar 2013 21:38:10 +0000 (14:38 -0700)]
ToneGenerator: optimize silent tone

Do not create an AudioTrack and start playback when a silent
tone is requested to ToneGenerator.

Bug 7946399

Change-Id: Ib9282871a56f7a862af7d1504ce3fbd7c18e34e2

11 years agoGet rid of TunnelRenderer
Andreas Huber [Mon, 25 Mar 2013 21:15:24 +0000 (14:15 -0700)]
Get rid of TunnelRenderer

Change-Id: I40dc00e2e689d7a6b8717ce524016c2948229807

11 years agoMerge "Misc debugging support and handling of latency changes." into jb-mr2-dev
Andreas Huber [Mon, 25 Mar 2013 20:43:00 +0000 (20:43 +0000)]
Merge "Misc debugging support and handling of latency changes." into jb-mr2-dev

11 years agoMisc debugging support and handling of latency changes.
Andreas Huber [Mon, 25 Mar 2013 20:25:39 +0000 (13:25 -0700)]
Misc debugging support and handling of latency changes.

Change-Id: I682944f793690842219cf1adbae5e61e061b6b62

11 years agoMerge "Load crypto plugins from additional shared libraries" into jb-mr2-dev
Jeff Tinker [Mon, 25 Mar 2013 20:18:02 +0000 (20:18 +0000)]
Merge "Load crypto plugins from additional shared libraries" into jb-mr2-dev

11 years agoMerge "Separate the mode of the RTP and RTCP channels." into jb-mr2-dev
Andreas Huber [Mon, 25 Mar 2013 17:37:25 +0000 (17:37 +0000)]
Merge "Separate the mode of the RTP and RTCP channels." into jb-mr2-dev

11 years agoSeparate the mode of the RTP and RTCP channels.
Andreas Huber [Fri, 22 Mar 2013 16:56:29 +0000 (09:56 -0700)]
Separate the mode of the RTP and RTCP channels.

I now can use a TCP reliable data channel with a UDP back channel.

Change-Id: Ieb0f0970e3a6da4cff250e9547e181c0c961b9fb

11 years agoMerge "Ensure that the payload in each TS packet is an even multiple of 16 bytes...
Andreas Huber [Mon, 25 Mar 2013 17:24:23 +0000 (17:24 +0000)]
Merge "Ensure that the payload in each TS packet is an even multiple of 16 bytes long" into jb-mr2-dev

11 years agoLoad crypto plugins from additional shared libraries
Jeff Tinker [Fri, 22 Mar 2013 22:26:39 +0000 (15:26 -0700)]
Load crypto plugins from additional shared libraries

Currently crypto plugins are expected to be in libdrmdecrypt.so.
When there are multiple plugins supporting different schemes,
this approach requires source code integration across
vendors which is unmanagable.  Also, for integration with
MediaDrm where the crypto keys are obtained from a drm server,
the MediaCrypto plugin needs to interoperate with the MediaDrm
plugin. This change allows {MediaCrypto, MediaDrm} pairs that
are logically related to be implemented in a common shared
library.

Change-Id: I7f6638f29171f91609fc2d944396365568630b56

11 years agoMerge "ICameraServiceListener.h: Add STATUS_ENUMERATING enum" into jb-mr2-dev
Igor Murashkin [Fri, 22 Mar 2013 00:45:55 +0000 (00:45 +0000)]
Merge "ICameraServiceListener.h: Add STATUS_ENUMERATING enum" into jb-mr2-dev

11 years agoICameraServiceListener.h: Add STATUS_ENUMERATING enum
Igor Murashkin [Mon, 18 Mar 2013 20:36:48 +0000 (13:36 -0700)]
ICameraServiceListener.h: Add STATUS_ENUMERATING enum

Change-Id: I41a9f358f63a19e7b746a9ccf24722001e5e7475

11 years agoMerge changes Ic92924ce,I53107a39 into jb-mr2-dev
Igor Murashkin [Thu, 21 Mar 2013 20:58:29 +0000 (20:58 +0000)]
Merge changes Ic92924ce,I53107a39 into jb-mr2-dev

* changes:
  Camera2: getSceneMode should return NULL when there are no supported scene modes
  commandStartFaceDetectionL returned the wrong value when face detection is not supported by the HAL. This caused the JNI function to fail since it expected a BAD_VALUE response in that case.

11 years agoEnsure that the payload in each TS packet is an even multiple of 16 bytes long
Andreas Huber [Thu, 21 Mar 2013 18:35:48 +0000 (11:35 -0700)]
Ensure that the payload in each TS packet is an even multiple of 16 bytes long

(except for the final TS packet) as specified by HDCP.

Change-Id: I45d49d347c06f5daae310f196d9a8484be0f3ca0
related-to-bug: 7549145

11 years agoCamera2: getSceneMode should return NULL when there are no supported scene modes
Igor Murashkin [Thu, 21 Mar 2013 18:19:00 +0000 (11:19 -0700)]
Camera2: getSceneMode should return NULL when there are no supported scene modes

Bug: 8444806
Change-Id: Ic92924ceda3de738a7971605552baf00a4fc0546

11 years agocommandStartFaceDetectionL returned the wrong value when face detection is not suppor...
Ziv Hendel [Thu, 21 Mar 2013 01:25:32 +0000 (03:25 +0200)]
commandStartFaceDetectionL returned the wrong value when face detection is not supported by the HAL.
This caused the JNI function to fail since it expected a BAD_VALUE response in that case.

Change-Id: I53107a3958d541c25930b81eda638d4b6a394254
Signed-off-by: Igor Murashkin <iam@google.com>
11 years agoMerge "Add the presentation rotation support" into jb-mr2-dev
ztenghui [Wed, 20 Mar 2013 17:00:50 +0000 (17:00 +0000)]
Merge "Add the presentation rotation support" into jb-mr2-dev

11 years agoMerge "Implementing MediaDrm APIs" into jb-mr2-dev
Jeff Tinker [Wed, 20 Mar 2013 16:48:54 +0000 (16:48 +0000)]
Merge "Implementing MediaDrm APIs" into jb-mr2-dev

11 years agoMerge "Change ANetworkSession implementation to optionally attach timestamps" into...
Andreas Huber [Tue, 19 Mar 2013 21:29:51 +0000 (21:29 +0000)]
Merge "Change ANetworkSession implementation to optionally attach timestamps" into jb-mr2-dev

11 years agoMerge "Allow for streaming of media files (without recompression)" into jb-mr2-dev
Andreas Huber [Tue, 19 Mar 2013 21:29:39 +0000 (21:29 +0000)]
Merge "Allow for streaming of media files (without recompression)" into jb-mr2-dev

11 years agoMerge "Fix valgrind error" into jb-mr2-dev
Marco Nelissen [Tue, 19 Mar 2013 17:24:04 +0000 (17:24 +0000)]
Merge "Fix valgrind error" into jb-mr2-dev

11 years agoFix valgrind error
Marco Nelissen [Tue, 19 Mar 2013 16:57:29 +0000 (09:57 -0700)]
Fix valgrind error

The volume member of the BundledEffectContext class was not being
initialized, resulting in uninitialized data being used for calculations
and control flow.

Change-Id: I84bf9fd478e5d0479e781323b21c7c03dea958c5

11 years agoChange ANetworkSession implementation to optionally attach timestamps
Andreas Huber [Mon, 18 Mar 2013 22:11:40 +0000 (15:11 -0700)]
Change ANetworkSession implementation to optionally attach timestamps

to fragments of data to be transferred and to log statistics when data
is finally submitted to the POSIX layer.

Change-Id: Icbfcac203cdc5c9eac1634e84d34bb380b316a01

11 years agoMerge "Camera: fix waitUntilDrained log message" into jb-mr2-dev
Alex Ray [Mon, 18 Mar 2013 19:52:43 +0000 (19:52 +0000)]
Merge "Camera: fix waitUntilDrained log message" into jb-mr2-dev

11 years agoMerge "ProCameraTests: Minor add grey/frame count debug-only print outs" into jb...
Igor Murashkin [Mon, 18 Mar 2013 18:38:10 +0000 (18:38 +0000)]
Merge "ProCameraTests: Minor add grey/frame count debug-only print outs" into jb-mr2-dev

11 years agoProCameraTests: Minor add grey/frame count debug-only print outs
Igor Murashkin [Mon, 18 Mar 2013 18:10:48 +0000 (11:10 -0700)]
ProCameraTests: Minor add grey/frame count debug-only print outs

Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8

11 years agoAllow for streaming of media files (without recompression)
Andreas Huber [Mon, 18 Mar 2013 18:09:22 +0000 (11:09 -0700)]
Allow for streaming of media files (without recompression)

Change-Id: I1de356cc37506ba986822d12a1a59e7b64069e02

11 years agoCamera: fix waitUntilDrained log message
Alex Ray [Sun, 17 Mar 2013 10:23:18 +0000 (03:23 -0700)]
Camera: fix waitUntilDrained log message

Change-Id: Iab6197e0674752de7933dd812bff430a5c487c4b

11 years agoAdd the presentation rotation support
ztenghui [Tue, 12 Mar 2013 22:43:56 +0000 (15:43 -0700)]
Add the presentation rotation support

bug:7991013

Change-Id: I10cb034b432876c724baa4974efcb3d67b8a99b6

11 years agoam 59ac7b30: am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:59:39 +0000 (08:59 -0700)]
am 59ac7b30: am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '59ac7b3056db57e5a8e851b7946a181c5fc34852':
  Fix for crash if no content in DESCRIBE response

11 years agoam c44a3ae2: am f0cea9f8: Merge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:59:38 +0000 (08:59 -0700)]
am c44a3ae2: am f0cea9f8: Merge "Prevent invalid frame durations"

* commit 'c44a3ae2704af52c0f4ea006b5b02a53b6df6c46':
  Prevent invalid frame durations

11 years agoam 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '66abe3ae38665256c8fe97770f046bf9c68625aa':
  Fix for crash if no content in DESCRIBE response

11 years agoam f0cea9f8: Merge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am f0cea9f8: Merge "Prevent invalid frame durations"

* commit 'f0cea9f83cf0c8e5ecdd2b401ec2d56d0c717708':
  Prevent invalid frame durations

11 years agoMerge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:33:00 +0000 (15:33 +0000)]
Merge "Fix for crash if no content in DESCRIBE response"

11 years agoMerge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:11:27 +0000 (15:11 +0000)]
Merge "Prevent invalid frame durations"

11 years agoMerge "Make limitations of MPEG4Writer explicit" into jb-mr2-dev
Tenghui Zhu [Thu, 14 Mar 2013 22:42:44 +0000 (22:42 +0000)]
Merge "Make limitations of MPEG4Writer explicit" into jb-mr2-dev

11 years agoMerge "Parse SBR extension sample rate" into jb-mr2-dev
Marco Nelissen [Thu, 14 Mar 2013 22:02:37 +0000 (22:02 +0000)]
Merge "Parse SBR extension sample rate" into jb-mr2-dev

11 years agoParse SBR extension sample rate
Marco Nelissen [Thu, 14 Mar 2013 21:50:47 +0000 (14:50 -0700)]
Parse SBR extension sample rate

Change-Id: Ib6f6994228a279ee10b389515fba04516c7c42ba

11 years agoMake limitations of MPEG4Writer explicit
James Dong [Tue, 12 Mar 2013 17:40:20 +0000 (10:40 -0700)]
Make limitations of MPEG4Writer explicit

o No more than 2 tracks will be supported
o No more than one video and/or one audio tracks will be supported
o Only take video and/or audio track (for instance, no text tracks)
o If there is no track before start() is called, bail out.

At the same time, make sure the errors from addSource() report to
addTrack(), not to start().

Bug: 7991013

Change-Id: I1ca35aaeb75b5448d75ed2c6c10dd12ecea720ab

11 years agoProCamera: Fix rare deadlock when client destructs inside the connect call
Igor Murashkin [Thu, 14 Mar 2013 00:23:00 +0000 (17:23 -0700)]
ProCamera: Fix rare deadlock when client destructs inside the connect call

Bug: 8337737
Change-Id: Ia6fca4365fa20fdbfd6a1ec8d047639a002f2aba

11 years agoMerge "Adds audio support to DirectRenderer." into jb-mr2-dev
Andreas Huber [Wed, 13 Mar 2013 21:44:47 +0000 (21:44 +0000)]
Merge "Adds audio support to DirectRenderer." into jb-mr2-dev

11 years agoMerge "remove uses of Surface in favor or IGraphicBufferProducer" into jb-mr2-dev
Mathias Agopian [Wed, 13 Mar 2013 21:42:14 +0000 (21:42 +0000)]
Merge "remove uses of Surface in favor or IGraphicBufferProducer" into jb-mr2-dev

11 years agoMerge "remove CameraServiceTest which wasn't used" into jb-mr2-dev
Mathias Agopian [Wed, 13 Mar 2013 21:40:06 +0000 (21:40 +0000)]
Merge "remove CameraServiceTest which wasn't used" into jb-mr2-dev

11 years agoAdds audio support to DirectRenderer.
Andreas Huber [Wed, 13 Mar 2013 17:22:46 +0000 (10:22 -0700)]
Adds audio support to DirectRenderer.

Change-Id: Ibf4df90aca29d638215e2da9b39e78bf3a2c4d08

11 years agoImplementing MediaDrm APIs
Jeff Tinker [Fri, 8 Feb 2013 18:18:35 +0000 (10:18 -0800)]
Implementing MediaDrm APIs

Change-Id: I9ff8eeb7d0c383b5c0c68cd54eb54ce7d2d22fe6

11 years agoAttempt to recover from network stalls by dropping frames on the source side.
Andreas Huber [Tue, 12 Mar 2013 22:55:43 +0000 (15:55 -0700)]
Attempt to recover from network stalls by dropping frames on the source side.

Change-Id: I5f9eb4f5acb624a9e5bc0087801fb5a4a9ade35c

11 years agoremove uses of Surface in favor or IGraphicBufferProducer
Mathias Agopian [Wed, 13 Mar 2013 01:42:23 +0000 (18:42 -0700)]
remove uses of Surface in favor or IGraphicBufferProducer

Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57

11 years agoremove CameraServiceTest which wasn't used
Mathias Agopian [Wed, 13 Mar 2013 00:40:55 +0000 (17:40 -0700)]
remove CameraServiceTest which wasn't used

this test hasn't been compiled or run in a long long time
and isn't up to date or relevant.

Change-Id: I5a7f1190d4a783e088d44e3e6ef66231cf0cfb49