OSDN Git Service

android-x86/frameworks-av.git
9 years agoRevert "audio: prevent larger than required sleeps - DO NOT MERGE"
Chris Elliott [Thu, 16 Oct 2014 02:17:27 +0000 (02:17 +0000)]
Revert "audio: prevent larger than required sleeps - DO NOT MERGE"

Revert change if we require a build beyond P

This reverts commit 620208dc0bbd7a0792702df3ab08800fdad60cec.

Change-Id: I07f65e35dbd9f814725f50f7bb346f7b285f41aa

9 years agoaudio: prevent larger than required sleeps - DO NOT MERGE
Chris Elliott [Wed, 15 Oct 2014 20:46:15 +0000 (20:46 +0000)]
audio: prevent larger than required sleeps - DO NOT MERGE

This will be cherry picked into P build after O completes for other devices.

This reverts the revert from commit 2feb18ddfdbd20941ebcc3314780a582da5608e4.

b/17962037

From: Haynes Mathew George <hgeorge@codeaurora.org>
Date: Wed, 26 Mar 2014 16:18:42 -0700
Subject: [PATCH] AudioTrack: prevent larger than required sleeps

AudioTrackThread can end up waiting for larger than necessary
time for free space to be available in the cblk. Fix this by
waiting on the cblk futex instead of the (internal) condition variable.

Change-Id: Iba5b266f9b4082b3833f4abd52ebc6601c8e3034

9 years agoRevert "audio: prevent larger than required sleeps - DO NOT MERGE"
Chris Elliott [Wed, 15 Oct 2014 00:49:17 +0000 (00:49 +0000)]
Revert "audio: prevent larger than required sleeps - DO NOT MERGE"

This reverts commit 8c0417c173d1fd618ae54e2d721b0ec360ea70cc.

Reverting as we only wanted to include this CL the KNX01M build

Change-Id: Ib53292de658078285a38710915168e1746486fea

9 years agoaudio: prevent larger than required sleeps - DO NOT MERGE
Haynes Mathew George [Thu, 9 Oct 2014 12:06:00 +0000 (20:06 +0800)]
audio: prevent larger than required sleeps - DO NOT MERGE

b/17962037

From: Haynes Mathew George <hgeorge@codeaurora.org>
Date: Wed, 26 Mar 2014 16:18:42 -0700
Subject: [PATCH] AudioTrack: prevent larger than required sleeps

AudioTrackThread can end up waiting for larger than necessary
time for free space to be available in the cblk. Fix this by
waiting on the cblk futex instead of the (internal) condition variable.

Change-Id: I75bd14cd46f3b75afe0ea8bd9b48d7a2f95f654a

9 years agoam 6fd1cf0c: am 86543654: am 0d83cf22: am 97d917bc: am ab0b3212: am 9b51a37f: am...
Robert Shih [Thu, 11 Sep 2014 00:50:33 +0000 (00:50 +0000)]
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 '6fd1cf0c00ee76802cfff0035011691aac8a1724':
  SampleTable: check integer overflow during table alloc

9 years agoam 86543654: am 0d83cf22: am 97d917bc: am ab0b3212: am 9b51a37f: am cb5dc219: am...
Robert Shih [Thu, 11 Sep 2014 00:34:29 +0000 (00:34 +0000)]
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 '8654365499f8e9956c490e98184abe33978d4e67':
  SampleTable: check integer overflow during table alloc

9 years agoam 0d83cf22: am 97d917bc: am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am...
Robert Shih [Wed, 10 Sep 2014 20:48:04 +0000 (20:48 +0000)]
am 0d83cf22: am 97d917bc: am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '0d83cf22991c48f4bb5f2afe3d16ae076861f394':
  SampleTable: check integer overflow during table alloc

9 years agoam 97d917bc: am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am...
Robert Shih [Wed, 10 Sep 2014 20:26:40 +0000 (20:26 +0000)]
am 97d917bc: am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '97d917bc1ccc958d8f1051de6a888de9a25dc6bd':
  SampleTable: check integer overflow during table alloc

9 years agoam ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleT...
Robert Shih [Wed, 10 Sep 2014 20:19:54 +0000 (20:19 +0000)]
am ab0b3212: am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit 'ab0b3212e0c15132f2dab2beeb39c47d31bb1dab':
  SampleTable: check integer overflow during table alloc

9 years agoam 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check...
Robert Shih [Wed, 10 Sep 2014 20:09:14 +0000 (20:09 +0000)]
am 9b51a37f: am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '9b51a37fa8ad9d28be791213ceba4fcbec52b14d':
  SampleTable: check integer overflow during table alloc

9 years agoam cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overfl...
Robert Shih [Wed, 10 Sep 2014 19:58:37 +0000 (19:58 +0000)]
am cb5dc219: am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit 'cb5dc219b78e6eeacb7ee2f5c93e6763db677122':
  SampleTable: check integer overflow during table alloc

9 years agoam 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during...
Robert Shih [Wed, 10 Sep 2014 19:47:42 +0000 (19:47 +0000)]
am 74abb1ae: am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '74abb1ae32fbd3fa4112cc8b8d53882777feb191':
  SampleTable: check integer overflow during table alloc

9 years agoam 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc
Robert Shih [Wed, 10 Sep 2014 19:41:45 +0000 (19:41 +0000)]
am 482b18bb: am f106b199: SampleTable: check integer overflow during table alloc

* commit '482b18bbfd6c9214157bfab47feae86df48a7178':
  SampleTable: check integer overflow during table alloc

9 years agoam f106b199: SampleTable: check integer overflow during table alloc
Robert Shih [Wed, 10 Sep 2014 19:31:46 +0000 (19:31 +0000)]
am f106b199: SampleTable: check integer overflow during table alloc

* commit 'f106b1993143df44282777253244ce67974c9d4a':
  SampleTable: check integer overflow during table alloc

9 years agoSampleTable: check integer overflow during table alloc
Robert Shih [Mon, 28 Jul 2014 16:54:57 +0000 (09:54 -0700)]
SampleTable: check integer overflow during table alloc

Bug: 15328708
Bug: 15342615
Bug: 15342751
Change-Id: I6bb110a1eba46506799c73be8ff9a4f71c7e7053
(cherry picked from commit edd4a76eb4747bd19ed122df46fa46b452c12a0d)

10 years agoam f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Thu, 19 Jun 2014 23:33:15 +0000 (23:33 +0000)]
am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit 'f0d8468dcec08e1ac4edf62ec7da5782a0b84d93':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agoDO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Tue, 17 Jun 2014 02:21:12 +0000 (19:21 -0700)]
DO NOT MERGE: CameraService: Fix permissions check issues

Bug: 15677063
Change-Id: I012c111fff90fefd9eb0fef7c9d6034f00c9c6df

10 years agoMerge "Implement a NoOp DrmManagerClientImpl when no DRM service exists" into klp...
Adam Lesinski [Fri, 6 Jun 2014 21:13:00 +0000 (21:13 +0000)]
Merge "Implement a NoOp DrmManagerClientImpl when no DRM service exists" into klp-modular-dev

10 years agoImplement a NoOp DrmManagerClientImpl when no DRM service exists
Adam Lesinski [Wed, 4 Jun 2014 22:14:03 +0000 (15:14 -0700)]
Implement a NoOp DrmManagerClientImpl when no DRM service exists

Change-Id: Ib06f429102a51c540c8132f3397130328279e03a

10 years agoDO NOT MERGE: MediaCodecList: remove force-added codecs for videoeditor
Lajos Molnar [Thu, 29 May 2014 14:34:59 +0000 (07:34 -0700)]
DO NOT MERGE: MediaCodecList: remove force-added codecs for videoeditor

Bug: 15320804
Change-Id: I1c2f0f75aeaabc20cb94e79e47b70f7faefe0a9e

10 years agoscreenrecord: Add raw frames output format
Benoit Goby [Mon, 12 May 2014 22:59:50 +0000 (15:59 -0700)]
screenrecord: Add raw frames output format

This works like the frames output format but without a header so that
the output can be piped directly to mplayer:

adb shell screenrecord --output-format=raw-frames - | mplayer -demuxer
rawvideo -rawvideo w=320:h=240:format=rgb24 -

Change-Id: Ib5ed508fdca3a5d63e973c5189b3677c2d92b43f

10 years agoAdd frame dump output
Andy McFadden [Wed, 26 Feb 2014 02:29:06 +0000 (18:29 -0800)]
Add frame dump output

This adds the ability to dump frames as RGB data with a minimal
frame header.  Only recommended for devices with small displays.
Enable with "--output-format=frames".

The "--raw" option is now selected with "--output-format=h264".

Change-Id: I18d3d4a87cd056d7acf0658985a90dc5895dbfb6

10 years agoProvide raw H.264 output from screenrecord
Andy McFadden [Fri, 20 Dec 2013 21:40:34 +0000 (13:40 -0800)]
Provide raw H.264 output from screenrecord

This adds an experimental (undocumented) "--raw" flag.  If set, we
output an H.264 byte stream rather than a .mp4 file.

If the filename is "-", we send the output to stdout.  If stdout is a
tty, we reconfigure it to avoid CRLF line termination over adb.

Change-Id: I5193f6193c9c1a59f92eefad0ed399f24afbf6de

10 years agoAdd signature|system permission to MediaDrm signer APIs
Jeff Tinker [Wed, 2 Apr 2014 23:41:38 +0000 (16:41 -0700)]
Add signature|system permission to MediaDrm signer APIs

Change-Id: If970e5ff8dcab2e67af2f3376dcd14dca82f2394
related-to-bug: 12702350

10 years agoSupport CAST V2 Authentication in MediaDrm
Jeff Tinker [Tue, 4 Mar 2014 21:21:31 +0000 (13:21 -0800)]
Support CAST V2 Authentication in MediaDrm

Java API version

Update frameworks to enable support for CAST
V2 Authentication in the DRM Plugin.

Change-Id: I9066ada0edf8e0d777c503897d8c7fc7f76f2861
related-to-bug: 12702350

10 years agoam f780d28d: Merge "DO NOT MERGE: Revert "mediaplayer: keep more buffers with the...
Lajos Molnar [Fri, 28 Mar 2014 01:45:11 +0000 (01:45 +0000)]
am f780d28d: Merge "DO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue"" into klp-dev

* commit 'f780d28de2e3cf7f6b26b9626321dba75719736e':
  DO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue"

10 years agoam 3d4e4fcb: Merge "DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs...
Lajos Molnar [Fri, 28 Mar 2014 01:45:10 +0000 (01:45 +0000)]
am 3d4e4fcb: Merge "DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less"" into klp-dev

* commit '3d4e4fcbcfc5c16dd794591727f5c713831ab6dc':
  DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less"

10 years agoMerge "DO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue...
Lajos Molnar [Fri, 28 Mar 2014 00:11:23 +0000 (00:11 +0000)]
Merge "DO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue"" into klp-dev

10 years agoMerge "DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less...
Lajos Molnar [Fri, 28 Mar 2014 00:11:04 +0000 (00:11 +0000)]
Merge "DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less"" into klp-dev

10 years agoDO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue"
Lajos Molnar [Thu, 27 Mar 2014 23:44:23 +0000 (16:44 -0700)]
DO NOT MERGE: Revert "mediaplayer: keep more buffers with the BufferQueue"

This reverts commit b635b0e66b257ab442e230bca96afd5105cf6829.

Bug: 13655631

10 years agoDO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less"
Lajos Molnar [Thu, 27 Mar 2014 23:41:37 +0000 (16:41 -0700)]
DO NOT MERGE: Revert "stagefright: allow for minUndequeuedBufs to be one less"

This reverts commit a0470879e25394cb85437366fa53ce8055cd556f.

Bug: 13655631

10 years agoam 0370be96: DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range...
Igor Murashkin [Tue, 25 Mar 2014 20:11:09 +0000 (20:11 +0000)]
am 0370be96: DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

* commit '0370be96e33ea0c8fb4069e704deccce43b7403c':
  DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

10 years agoDO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
Igor Murashkin [Wed, 19 Mar 2014 01:15:23 +0000 (18:15 -0700)]
DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

As a workaround, duplicate CameraParameters into CameraParameters2 to
prevent ABI break for some camera HALs that directly link into
CameraParameters.

CameraParameters2 implements the real fixes needed in the framework,
while CameraParameters is left in to satisfy older camera HALs.

Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da

10 years agoam 333ceb4f: Merge "DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing...
Lajos Molnar [Fri, 21 Mar 2014 19:20:27 +0000 (19:20 +0000)]
am 333ceb4f: Merge "DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS." into klp-dev

* commit '333ceb4f66ccf790081026f645474e07d832fbdb':
  DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS.

10 years agoMerge "DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS." into...
Lajos Molnar [Fri, 21 Mar 2014 19:09:48 +0000 (19:09 +0000)]
Merge "DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS." into klp-dev

10 years agoDO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS.
Robert Shih [Fri, 7 Feb 2014 20:26:58 +0000 (12:26 -0800)]
DO NOT MERGE: PlaylistFetcher: fix infinite loop when parsing ADTS.

First check for embedded ID3 tag, then bail out if invalid.

Bug: 12934795
Change-Id: I74acebed4bfb2c6ca44dfe936166fdba8510233f

10 years agoam f622e2c7: Increased recorded MP4 max file size to 4GB (more precisely 2^32-1 bytes...
Rachad [Fri, 21 Mar 2014 17:08:11 +0000 (17:08 +0000)]
am f622e2c7: Increased recorded MP4 max file size to 4GB (more precisely 2^32-1 bytes -- FAT32 max file size)

* commit 'f622e2c78407b50806a53a06a89b2b6546420f55':
  Increased recorded MP4 max file size to 4GB (more precisely 2^32-1 bytes -- FAT32 max file size)

10 years agoIncreased recorded MP4 max file size to 4GB
Rachad [Tue, 11 Feb 2014 00:54:46 +0000 (16:54 -0800)]
Increased recorded MP4 max file size to 4GB
(more precisely 2^32-1 bytes -- FAT32 max file size)

bug: 11039801
Change-Id: I6169f798c59d123d02d5fd7afa3b9e645ebdb598
(cherry picked from commit 1f1f2b1678fd0d038dfc501252dd2b65ecf10cae)

10 years agoam a577eefb: am 5be9c1da: am 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am...
Marco Nelissen [Thu, 20 Mar 2014 20:57:12 +0000 (20:57 +0000)]
am a577eefb: am 5be9c1da: am 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit 'a577eefbaca24d1b9ac947daca54be1992888748':
  Fix build

10 years agoam 5be9c1da: am 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am...
Marco Nelissen [Thu, 20 Mar 2014 20:48:52 +0000 (20:48 +0000)]
am 5be9c1da: am 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '5be9c1daf956c35d37585d21fff5d6b99f506560':
  Fix build

10 years agoam 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix...
Marco Nelissen [Thu, 20 Mar 2014 20:29:33 +0000 (13:29 -0700)]
am 01eed3c0: am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '01eed3c0fb951e349d68f4bce818bef22e7925b1':
  Fix build

10 years agoam 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:18:07 +0000 (13:18 -0700)]
am 7a107b85: am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '7a107b857e658ba11c0c1fd2325ac91a2c0569a2':
  Fix build

10 years agoam 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:13:35 +0000 (13:13 -0700)]
am 854aa061: am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '854aa061b1e2d7eaaf8ffa2ead323c1478393c57':
  Fix build

10 years agoam 42ba5806: am 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:08:17 +0000 (13:08 -0700)]
am 42ba5806: am 72499628: am 25bab830: Fix build

* commit '42ba5806c03753a39f85016265173819ac465745':
  Fix build

10 years agoam 72499628: am 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:04:11 +0000 (13:04 -0700)]
am 72499628: am 25bab830: Fix build

* commit '72499628a24ccea0befe726de6e2b32176ddf208':
  Fix build

10 years agoam 25bab830: Fix build
Marco Nelissen [Thu, 20 Mar 2014 20:00:07 +0000 (13:00 -0700)]
am 25bab830: Fix build

* commit '25bab830af062dcaef6f75220066b221fd30957e':
  Fix build

10 years agoFix build
Marco Nelissen [Thu, 20 Mar 2014 19:32:48 +0000 (12:32 -0700)]
Fix build

As of jb-mr1, need to explicitly include library dependencies. The original
change in jb, which the automerger dutyfully merged, did not need this.

Change-Id: I429637e2d01b8084376bb97a02bb091a0ea9eaf7

10 years agoam 2853e48c: am 6f65db14: am 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am...
Marco Nelissen [Thu, 20 Mar 2014 18:58:42 +0000 (18:58 +0000)]
am 2853e48c: am 6f65db14: am 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '2853e48c855fc95f2bd7bf9438a878f2a79d75a7':
  Verify certificates

10 years agoam 6f65db14: am 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am...
Marco Nelissen [Thu, 20 Mar 2014 18:17:24 +0000 (18:17 +0000)]
am 6f65db14: am 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '6f65db14e310b513c8943b236a6e61cf27cef4c7':
  Verify certificates

10 years agoam 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am...
Marco Nelissen [Thu, 20 Mar 2014 18:08:43 +0000 (11:08 -0700)]
am 0e0891f8: am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '0e0891f8b49f31e6a28b563f86aae537e66bb6e0':
  Verify certificates

10 years agoam 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am...
Marco Nelissen [Thu, 20 Mar 2014 17:49:15 +0000 (10:49 -0700)]
am 6cdc90b5: am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '6cdc90b5e41374dd665df3ae7283ef0c1f532678':
  Verify certificates

10 years agoam ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify...
Marco Nelissen [Thu, 20 Mar 2014 17:31:32 +0000 (10:31 -0700)]
am ebc9b473: am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'ebc9b47330ab8565f7bdd9b3973a8f75e3206e77':
  Verify certificates

10 years agoam fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:27:04 +0000 (10:27 -0700)]
am fb49b8ba: am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'fb49b8bad468db591f55a7064181372f02ad94a2':
  Verify certificates

10 years agoam dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:21:14 +0000 (10:21 -0700)]
am dfd90c80: am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'dfd90c8052a913ed2bbbea1873ee51838d40bfe1':
  Verify certificates

10 years agoam d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:16:53 +0000 (10:16 -0700)]
am d434944b: am 3bc4f7ea: am 0c271b75: Verify certificates

* commit 'd434944b00cf83a38019047e0d7db155a15d77f4':
  Verify certificates

10 years agoam 3bc4f7ea: am 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:11:20 +0000 (10:11 -0700)]
am 3bc4f7ea: am 0c271b75: Verify certificates

* commit '3bc4f7eaf063201dc85ecc2f7c2bf2b70ab564ed':
  Verify certificates

10 years agoam 0c271b75: Verify certificates
Marco Nelissen [Thu, 20 Mar 2014 17:04:18 +0000 (10:04 -0700)]
am 0c271b75: Verify certificates

* commit '0c271b750f7314e187f8479f478ad9382d9a9045':
  Verify certificates

10 years agoam 1faa4170: stagefright: allow for minUndequeuedBufs to be one less
Lajos Molnar [Wed, 19 Mar 2014 19:56:15 +0000 (19:56 +0000)]
am 1faa4170: stagefright: allow for minUndequeuedBufs to be one less

* commit '1faa41704e0b976e546321effcb09a85767d51ba':
  stagefright: allow for minUndequeuedBufs to be one less

10 years agostagefright: allow for minUndequeuedBufs to be one less
Lajos Molnar [Wed, 19 Mar 2014 19:22:01 +0000 (12:22 -0700)]
stagefright: allow for minUndequeuedBufs to be one less

Bug: 13533477
Change-Id: I909324e3e24f65d8051e0d5474267620efcfc729

10 years agoVerify certificates
Marco Nelissen [Thu, 13 Mar 2014 21:18:25 +0000 (14:18 -0700)]
Verify certificates

b/13418320

Cherrypicked from 8a57d24c733b08da846b54d1adf029e606b5a5f3
https://googleplex-android-review.git.corp.google.com/#/c/433309/

Change-Id: I3052dd5f9ec057e700784cd713f6a7dab9ecfe7b

10 years agoam b635b0e6: mediaplayer: keep more buffers with the BufferQueue
Lajos Molnar [Wed, 19 Mar 2014 03:10:58 +0000 (03:10 +0000)]
am b635b0e6: mediaplayer: keep more buffers with the BufferQueue

* commit 'b635b0e66b257ab442e230bca96afd5105cf6829':
  mediaplayer: keep more buffers with the BufferQueue

10 years agoam 43ca783e: httplive: block-by-block fetch, decrypt, and parse ts files.
Robert Shih [Wed, 19 Mar 2014 02:19:55 +0000 (02:19 +0000)]
am 43ca783e: httplive: block-by-block fetch, decrypt, and parse ts files.

* commit '43ca783effd99bba0e6e2dd6fe177a8888578ef8':
  httplive: block-by-block fetch, decrypt, and parse ts files.

10 years agomediaplayer: keep more buffers with the BufferQueue
Lajos Molnar [Thu, 13 Feb 2014 23:29:49 +0000 (15:29 -0800)]
mediaplayer: keep more buffers with the BufferQueue

Change OMX buffer allocation policy to allocate
nBufferCountMin + what is required for the BQ.

For the BQ, try to allocate 2 additional buffers than
the minimum undequeued count.

Also account for the fact that BQ may return one less
than the actual minimum undequeued count.

In most cases the resulting number of buffers ends up
being the same as with the previous policy, but we
keep more buffers with the BQ.

Change-Id: I826db8bf7dd333b620299dba60bf1b81b228275d
Bug: 13170236

10 years agohttplive: block-by-block fetch, decrypt, and parse ts files.
Robert Shih [Thu, 27 Feb 2014 20:33:24 +0000 (12:33 -0800)]
httplive: block-by-block fetch, decrypt, and parse ts files.

Bug: 12060952
Change-Id: I695345081fe23961b9d0ef6db264885f914703ec

10 years agoam bd3e2e03: camera2: Fix segfault when using null availability listener
Igor Murashkin [Mon, 17 Mar 2014 22:56:00 +0000 (22:56 +0000)]
am bd3e2e03: camera2: Fix segfault when using null availability listener

* commit 'bd3e2e03f3ab686c52982a9e50cae853128172cf':
  camera2: Fix segfault when using null availability listener

10 years agocamera2: Fix segfault when using null availability listener
Igor Murashkin [Mon, 17 Mar 2014 20:01:41 +0000 (13:01 -0700)]
camera2: Fix segfault when using null availability listener

ICameraService::addListener / removeListener will now return BAD_VALUE
if a null listener is used.

Bug: 12891434
Change-Id: I9764110094d8fd42e22fcc8df3ef0e73c1b070e7

10 years agoam 75dcf510: Merge "Verify certificates" into klp-dev
Marco Nelissen [Fri, 14 Mar 2014 22:55:52 +0000 (22:55 +0000)]
am 75dcf510: Merge "Verify certificates" into klp-dev

* commit '75dcf5101c90e31bbac95694d835b0e8f57ba720':
  Verify certificates

10 years agoMerge "Verify certificates" into klp-dev
Marco Nelissen [Fri, 14 Mar 2014 22:27:17 +0000 (22:27 +0000)]
Merge "Verify certificates" into klp-dev

10 years agoam 70cc5bdc: Merge changes Ic46e3069,Idc92716b into klp-dev
Lajos Molnar [Fri, 14 Mar 2014 04:10:37 +0000 (04:10 +0000)]
am 70cc5bdc: Merge changes Ic46e3069,Idc92716b into klp-dev

* commit '70cc5bdc0fca3f67f3602f04152c29323cad99df':
  LiveSession: fix incorrect stream key (subtitle"s")
  M3UParser: trim spaces when parsing comma separated codecs.

10 years agoam 67a10c52: Merge "httplive: clear access units before returning from seekTo." into...
Lajos Molnar [Fri, 14 Mar 2014 04:10:37 +0000 (04:10 +0000)]
am 67a10c52: Merge "httplive: clear access units before returning from seekTo." into klp-dev

* commit '67a10c522898d8223f5a2d389a846b7e2327148a':
  httplive: clear access units before returning from seekTo.

10 years agoam cf49a51f: fix codec buffer leak in error handling when timestamp goes backward
Chong Zhang [Thu, 13 Mar 2014 23:53:41 +0000 (23:53 +0000)]
am cf49a51f: fix codec buffer leak in error handling when timestamp goes backward

* commit 'cf49a51ff59c3cd228d178d23252ac0d39d5a893':
  fix codec buffer leak in error handling when timestamp goes backward

10 years agoVerify certificates
Marco Nelissen [Thu, 13 Mar 2014 21:18:25 +0000 (14:18 -0700)]
Verify certificates

b/13418320

Change-Id: I3052dd5f9ec057e700784cd713f6a7dab9ecfe7b

10 years agoam c69bc40a: Merge "Cap pts gap between adjacent frames to specified value" into...
Chong Zhang [Thu, 13 Mar 2014 19:33:54 +0000 (19:33 +0000)]
am c69bc40a: Merge "Cap pts gap between adjacent frames to specified value" into klp-dev

* commit 'c69bc40a347c411751cb082b3eb4a82d976a68ec':
  Cap pts gap between adjacent frames to specified value

10 years agoam 1c608ab3: save mGraphicBuffer pointer even when we\'re suspended
Chong Zhang [Thu, 13 Mar 2014 19:33:54 +0000 (19:33 +0000)]
am 1c608ab3: save mGraphicBuffer pointer even when we\'re suspended

* commit '1c608ab33acab82d4a87f1abedcc99a623d1b53a':
  save mGraphicBuffer pointer even when we're suspended

10 years agoMerge changes Ic46e3069,Idc92716b into klp-dev
Lajos Molnar [Wed, 12 Mar 2014 20:58:37 +0000 (20:58 +0000)]
Merge changes Ic46e3069,Idc92716b into klp-dev

* changes:
  LiveSession: fix incorrect stream key (subtitle"s")
  M3UParser: trim spaces when parsing comma separated codecs.

10 years agoMerge "httplive: clear access units before returning from seekTo." into klp-dev
Lajos Molnar [Wed, 12 Mar 2014 20:58:14 +0000 (20:58 +0000)]
Merge "httplive: clear access units before returning from seekTo." into klp-dev

10 years agofix codec buffer leak in error handling when timestamp goes backward
Chong Zhang [Fri, 14 Feb 2014 23:26:00 +0000 (15:26 -0800)]
fix codec buffer leak in error handling when timestamp goes backward

don't touch codec buffer if we decided to drop a frame with bad pts

Bug: 11971963
Change-Id: I9b4c56210f64258f1be257b14184381a1133e0d6
(cherry picked from commit b63d2433350d56bda9f3477549086c90bb6d535e)

10 years agoMerge "Cap pts gap between adjacent frames to specified value" into klp-dev
Chong Zhang [Tue, 11 Mar 2014 22:09:39 +0000 (22:09 +0000)]
Merge "Cap pts gap between adjacent frames to specified value" into klp-dev

10 years agoLiveSession: fix incorrect stream key (subtitle"s")
Robert Shih [Tue, 11 Mar 2014 00:27:15 +0000 (17:27 -0700)]
LiveSession: fix incorrect stream key (subtitle"s")

Bug: 13402087
Change-Id: Ic46e3069c6e41f90ead47cae84cbe0123d11002a

10 years agoM3UParser: trim spaces when parsing comma separated codecs.
Robert Shih [Tue, 11 Mar 2014 00:05:01 +0000 (17:05 -0700)]
M3UParser: trim spaces when parsing comma separated codecs.

Bug: 13402087
Change-Id: Idc92716bfefd6d1b0cb371d0d97d990d53288090

10 years agohttplive: clear access units before returning from seekTo.
Robert Shih [Mon, 3 Mar 2014 23:08:27 +0000 (15:08 -0800)]
httplive: clear access units before returning from seekTo.

Bug: 12060952
Change-Id: I6a69a718c082501003ee9b78a948a2f8bbfbb14e

10 years agoCap pts gap between adjacent frames to specified value
Chong Zhang [Sat, 11 Jan 2014 01:36:57 +0000 (17:36 -0800)]
Cap pts gap between adjacent frames to specified value

- In the scenario of cast mirroring, encoding could be suspended
  for prolonged periods. Limiting the pts gap to workaround the
  problem where encoder's rate control logic produces huge frames
  after a long period of suspension.

- Repeat last frame a couple more times to get better quality
  on static scenes.

- Fix the timestamp on repeat frames (it was not set)

Bug: 11971963
Change-Id: I1d68ab3d269874bf3921aa429a985c5f63e428c7
(cherry picked from commit 94ee4b708acfa941581160b267afb79192b1d816)

10 years agosave mGraphicBuffer pointer even when we're suspended
Chong Zhang [Sat, 18 Jan 2014 00:29:59 +0000 (16:29 -0800)]
save mGraphicBuffer pointer even when we're suspended

Bug: 12609966
Change-Id: Ifd41fd973876da69039113fcaeacdccf39472b37
(cherry picked from commit 49270665e7a20cd120724fc388da8b166ff0b4f1)

10 years agoam bc69c8ba: DO NOT MERGE: Camera: delete preview callback when preview size is changed
Zhijun He [Tue, 11 Mar 2014 19:46:25 +0000 (19:46 +0000)]
am bc69c8ba: DO NOT MERGE: Camera: delete preview callback when preview size is changed

* commit 'bc69c8ba9a8fc881603669205a56d0ca1b572a95':
  DO NOT MERGE: Camera: delete preview callback when preview size is changed

10 years agoDO NOT MERGE: Camera: delete preview callback when preview size is changed
Zhijun He [Tue, 21 Jan 2014 20:15:56 +0000 (12:15 -0800)]
DO NOT MERGE: Camera: delete preview callback when preview size is changed

Preview callback stream is left configured even the preview size is changed.
This makes the callback stream unnecessarily configured even in recording mode,
which could cause distorted preview for some devices.

Bug: 12210027
Bug: 12591410
Change-Id: If50cddfe5562e91aec1feb1760eccb82ddb21730

10 years agoam 6db20dcb: Merge "AudioTrack: When paused, return cached playback position" into...
Eric Laurent [Sat, 8 Mar 2014 02:00:05 +0000 (02:00 +0000)]
am 6db20dcb: Merge "AudioTrack: When paused, return cached playback position" into klp-dev

* commit '6db20dcb54dad932a3ea2e3a5dca41fce5802eb4':
  AudioTrack: When paused, return cached playback position

10 years agoMerge "AudioTrack: When paused, return cached playback position" into klp-dev
Eric Laurent [Sat, 8 Mar 2014 00:29:56 +0000 (00:29 +0000)]
Merge "AudioTrack: When paused, return cached playback position" into klp-dev

10 years agoam 2f55c2c0: Merge "Simplify AudioTrack stream end and fix race" into klp-dev
Glenn Kasten [Fri, 7 Mar 2014 21:14:51 +0000 (21:14 +0000)]
am 2f55c2c0: Merge "Simplify AudioTrack stream end and fix race" into klp-dev

* commit '2f55c2c03b17795e94b325d402ac5b409e3ba0e8':
  Simplify AudioTrack stream end and fix race

10 years agoam 5874615f: Allow for larger codec private data
Marco Nelissen [Fri, 7 Mar 2014 21:14:51 +0000 (21:14 +0000)]
am 5874615f: Allow for larger codec private data

* commit '5874615f26a6ba9cda8ba359e5035b21f6e3818b':
  Allow for larger codec private data

10 years agoMerge "Simplify AudioTrack stream end and fix race" into klp-dev
Glenn Kasten [Fri, 7 Mar 2014 20:22:38 +0000 (20:22 +0000)]
Merge "Simplify AudioTrack stream end and fix race" into klp-dev

10 years agoSimplify AudioTrack stream end and fix race
Glenn Kasten [Fri, 20 Sep 2013 16:28:56 +0000 (09:28 -0700)]
Simplify AudioTrack stream end and fix race

Bug: 10994052
Change-Id: Ib2e38e7a600bcffef8cbc68c1722e40fbbc7ea67

10 years agoAllow for larger codec private data
Marco Nelissen [Mon, 3 Feb 2014 22:33:16 +0000 (14:33 -0800)]
Allow for larger codec private data

This change adds support for multibyte sizes in the ESDS. Previously the
Matroska extractor only supported single byte sizes, so codec private data
had to be less than 108 bytes, and would crash if it was bigger.
b/12584090

Change-Id: I9edfc2f687187d1e98bcfd2fe56576312435df3e

10 years agoam 5bc83fc3: Merge "Fix SIGABRT when playing mp4 file" into klp-dev
Marco Nelissen [Fri, 7 Mar 2014 18:28:40 +0000 (18:28 +0000)]
am 5bc83fc3: Merge "Fix SIGABRT when playing mp4 file" into klp-dev

* commit '5bc83fc352e5682ecafe61d77062c26ac8db4229':
  Fix SIGABRT when playing mp4 file

10 years agoMerge "Fix SIGABRT when playing mp4 file" into klp-dev
Marco Nelissen [Fri, 7 Mar 2014 18:22:53 +0000 (18:22 +0000)]
Merge "Fix SIGABRT when playing mp4 file" into klp-dev

10 years agoam 49ea1337: Merge changes I787e1c05,I72d3a5e1,I0a5cc65f,I75fc2a25,I2c2be08d, .....
Lajos Molnar [Fri, 7 Mar 2014 02:42:14 +0000 (02:42 +0000)]
am 49ea1337: Merge changes I787e1c05,I72d3a5e1,I0a5cc65f,I75fc2a25,I2c2be08d, ... into klp-dev

* commit '49ea13379fb15ddb73183ebafa3a377342ef932f':
  LiveSession: Use the actual, possibly redirected url as base in the M3U
  M3UParser: Skip query strings when looking for the last slash in a URL
  ChromiumHTTPDataSource: Keep track of the redirected URL
  Initial HLS seamless switch implementation.
  NuPlayer side support for seamless format switch.
  LiveSession refactor
  PlaylistFetcher: Add support for block-by-block decryption.
  LiveSession: Add support for block-by-block fetchFile.

10 years agoam e0c3058a: Merge "AnotherPacketSource support to get latest buffered MetaData....
Lajos Molnar [Fri, 7 Mar 2014 02:42:13 +0000 (02:42 +0000)]
am e0c3058a: Merge "AnotherPacketSource support to get latest buffered MetaData." into klp-dev

* commit 'e0c3058a1d0953f4c85bfc964926cf5babb7dbac':
  AnotherPacketSource support to get latest buffered MetaData.

10 years agoam 2613347d: Merge "Added support to query ACodec whether adaptive playback is enable...
Lajos Molnar [Fri, 7 Mar 2014 02:38:23 +0000 (02:38 +0000)]
am 2613347d: Merge "Added support to query ACodec whether adaptive playback is enabled." into klp-dev

* commit '2613347d74c3f35bc6fda5df1c29c1119c22d432':
  Added support to query ACodec whether adaptive playback is enabled.

10 years agoam 909498b7: Merge "stagefright: use CODECS field in EXT-X_STREAM-INF as fallback...
Lajos Molnar [Fri, 7 Mar 2014 02:38:22 +0000 (02:38 +0000)]
am 909498b7: Merge "stagefright: use CODECS field in EXT-X_STREAM-INF as fallback" into klp-dev

* commit '909498b72d740e3151561fd4435ad0a329ec9c6e':
  stagefright: use CODECS field in EXT-X_STREAM-INF as fallback

10 years agoam 2338782d: Merge "Fixed misplaced bracket for switch-case block." into klp-dev
Lajos Molnar [Fri, 7 Mar 2014 02:38:22 +0000 (02:38 +0000)]
am 2338782d: Merge "Fixed misplaced bracket for switch-case block." into klp-dev

* commit '2338782d18d9bcc8197c63dbf205332a2a737440':
  Fixed misplaced bracket for switch-case block.

10 years agoam ad21a81a: Merge "stagefright: Fix issue with tracking media format in packet sourc...
Lajos Molnar [Fri, 7 Mar 2014 02:38:21 +0000 (02:38 +0000)]
am ad21a81a: Merge "stagefright: Fix issue with tracking media format in packet source" into klp-dev

* commit 'ad21a81af3e7d6b58002c9dce9c3278b6323e4a9':
  stagefright: Fix issue with tracking media format in packet source