OSDN Git Service

android-x86/frameworks-av.git
11 years agoMerge "Send current bandwidth info event when buffering occurs" into jb-mr1-dev
Jeffrey Tinker [Fri, 24 Aug 2012 00:24:29 +0000 (17:24 -0700)]
Merge "Send current bandwidth info event when buffering occurs" into jb-mr1-dev

11 years agoSend current bandwidth info event when buffering occurs
Jeffrey Tinker [Thu, 23 Aug 2012 08:56:53 +0000 (01:56 -0700)]
Send current bandwidth info event when buffering occurs

There is a dependent change in vendor/widevine repo.

Change-Id: If063f4b1c8857e5bfc7be54ab0f97a4ed169b303
related-to-bug: 5883234

11 years agoMerge "Let getOriginalMimeType() take a fd passed from drm java applications" into...
James Dong [Wed, 22 Aug 2012 21:50:14 +0000 (14:50 -0700)]
Merge "Let getOriginalMimeType() take a fd passed from drm java applications" into jb-mr1-dev

11 years agoMake tee sink compile OK again
Glenn Kasten [Wed, 22 Aug 2012 16:27:41 +0000 (09:27 -0700)]
Make tee sink compile OK again

Change-Id: Ie865ceeabaeb698a62c11eac9f96e303c44c28ae

11 years agoCamera2: Replace MediaConsumer with BufferItemConsumer.
Eino-Ville Talvala [Tue, 21 Aug 2012 20:30:45 +0000 (13:30 -0700)]
Camera2: Replace MediaConsumer with BufferItemConsumer.

Get rid of MediaConsumer, which was largely duplicated code, and
replace it with the simpler BufferItemConsumer.

Bug: 6243944
Change-Id: I242d80c5fe39f2ee581ec8bb46f362997d994b0a

11 years agoCamera2: Ignore NOT_FOUND errors for face detect mode on frame receipt.
Eino-Ville Talvala [Tue, 21 Aug 2012 23:09:31 +0000 (16:09 -0700)]
Camera2: Ignore NOT_FOUND errors for face detect mode on frame receipt.

Reduce log spamming due to incomplete implementations.

Change-Id: I6eb9d657591bd5f1476dd8c96e4a00b8a03e2a5e

11 years agoam 8d4d590d: am 1e75e972: Merge "avcenc: Update a comment about the inline assembly"
Jean-Baptiste Queru [Tue, 21 Aug 2012 17:16:09 +0000 (10:16 -0700)]
am 8d4d590d: am 1e75e972: Merge "avcenc: Update a comment about the inline assembly"

* commit '8d4d590dcbbd2b178976d0bd024625e9d6216365':
  avcenc: Update a comment about the inline assembly

11 years agoam 8a825ec0: am aa411adf: Merge "h264 streaming: make profile-level-id optional"
Jean-Baptiste Queru [Tue, 21 Aug 2012 17:16:08 +0000 (10:16 -0700)]
am 8a825ec0: am aa411adf: Merge "h264 streaming: make profile-level-id optional"

* commit '8a825ec079da6f2b89149c53568cb9721c10d923':
  h264 streaming: make profile-level-id optional

11 years agoam 1e75e972: Merge "avcenc: Update a comment about the inline assembly"
Jean-Baptiste Queru [Tue, 21 Aug 2012 17:15:00 +0000 (10:15 -0700)]
am 1e75e972: Merge "avcenc: Update a comment about the inline assembly"

* commit '1e75e9721254ae5df05c3d88b30ed7f778406261':
  avcenc: Update a comment about the inline assembly

11 years agoam aa411adf: Merge "h264 streaming: make profile-level-id optional"
Jean-Baptiste Queru [Tue, 21 Aug 2012 17:14:59 +0000 (10:14 -0700)]
am aa411adf: Merge "h264 streaming: make profile-level-id optional"

* commit 'aa411adfc39a4ee6c4ff57952296ba40c2fbfdb3':
  h264 streaming: make profile-level-id optional

11 years agoMerge "avcenc: Update a comment about the inline assembly"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:49:26 +0000 (09:49 -0700)]
Merge "avcenc: Update a comment about the inline assembly"

11 years agoMerge "h264 streaming: make profile-level-id optional"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:18:31 +0000 (09:18 -0700)]
Merge "h264 streaming: make profile-level-id optional"

11 years agoam 41ee747f: am 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:09:45 +0000 (09:09 -0700)]
am 41ee747f: am 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"

* commit '41ee747fc019eb5856454c698adf23f55073c69e':
  avcenc: Fix the gcc inline assembly constraints

11 years agoam 894a7e45: am 9e13e927: Merge "avcenc: Properly indent assembly blocks"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:09:44 +0000 (09:09 -0700)]
am 894a7e45: am 9e13e927: Merge "avcenc: Properly indent assembly blocks"

* commit '894a7e450704b0c7858a2187a5432b479ac69c1d':
  avcenc: Properly indent assembly blocks

11 years agoam 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:08:38 +0000 (09:08 -0700)]
am 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"

* commit '5ebce52c46360b349daa8c944ca81e3c74accec0':
  avcenc: Fix the gcc inline assembly constraints

11 years agoam 9e13e927: Merge "avcenc: Properly indent assembly blocks"
Jean-Baptiste Queru [Tue, 21 Aug 2012 16:08:37 +0000 (09:08 -0700)]
am 9e13e927: Merge "avcenc: Properly indent assembly blocks"

* commit '9e13e927206b7c7c15359af2b0ccc8f525e78a7d':
  avcenc: Properly indent assembly blocks

11 years agoMerge "avcenc: Fix the gcc inline assembly constraints"
Jean-Baptiste Queru [Tue, 21 Aug 2012 15:37:26 +0000 (08:37 -0700)]
Merge "avcenc: Fix the gcc inline assembly constraints"

11 years agoMerge "avcenc: Properly indent assembly blocks"
Jean-Baptiste Queru [Tue, 21 Aug 2012 15:36:58 +0000 (08:36 -0700)]
Merge "avcenc: Properly indent assembly blocks"

11 years agoavcenc: Update a comment about the inline assembly
Martin Storsjo [Tue, 21 Aug 2012 11:28:45 +0000 (12:28 +0100)]
avcenc: Update a comment about the inline assembly

Since the inline assembly was fixed in commit 3fdb405597f the
comment was no longer accurate.

Change-Id: Id4f8a111d1fa6e0c2e97f7db64262e8d1604c519

11 years agoMerge "Camera2: Add support for preview callbacks" into jb-mr1-dev
Eino-Ville Talvala [Mon, 20 Aug 2012 23:28:00 +0000 (16:28 -0700)]
Merge "Camera2: Add support for preview callbacks" into jb-mr1-dev

11 years agoCamera2: Add support for preview callbacks
Eino-Ville Talvala [Mon, 13 Aug 2012 19:16:06 +0000 (12:16 -0700)]
Camera2: Add support for preview callbacks

- Move camera overall state enum to be part of parameters
- No longer use ICameraLock to guard access to overall state enum
- Add callback flag management
- Add callback stream and management

Bug: 6243944

Change-Id: Ideb3dc523a23c05e440e429ebf838b1900a96573

11 years agoavcenc: Fix the gcc inline assembly constraints
Martin Storsjo [Fri, 13 Apr 2012 11:17:30 +0000 (14:17 +0300)]
avcenc: Fix the gcc inline assembly constraints

Use +r for registers whose value is used as input to the block.

Also switch input registers to output registers with +r, for
registers that are modified by the assembly block (SUB_SAD in
sad_inline.h).

Without this, the inline assembly fails on modern gcc versions
(tested on gcc 4.6), where the intended input value never is
loaded into the registers, causing segfaults at runtime.

Currently this assembly isn't used, but this change makes it
work properly if enabled.

Change-Id: I37c247cd5c8aff213445e31ab3bd33d8f0f37e05

11 years agoavcenc: Properly indent assembly blocks
Martin Storsjo [Fri, 13 Apr 2012 11:16:54 +0000 (14:16 +0300)]
avcenc: Properly indent assembly blocks

Also line break multiline assembly blocks - previously they were
virtually unreadable.

Change-Id: Icb269909b78746e26b28ab7dcb6979c4655a0b0c

11 years agoMerge "Revert "Swap the order of creating IAudioTrack and thread"" into jb-mr1-dev
Glenn Kasten [Mon, 20 Aug 2012 22:46:06 +0000 (15:46 -0700)]
Merge "Revert "Swap the order of creating IAudioTrack and thread"" into jb-mr1-dev

11 years agoam add7c4d3: am 46b7eeb8: Merge "hardening: eliminate text relocations from h264"
Nick Kralevich [Mon, 20 Aug 2012 19:55:05 +0000 (12:55 -0700)]
am add7c4d3: am 46b7eeb8: Merge "hardening: eliminate text relocations from h264"

* commit 'add7c4d329586119fb8b5501b049905004400233':
  hardening: eliminate text relocations from h264

11 years agoam 46b7eeb8: Merge "hardening: eliminate text relocations from h264"
Nick Kralevich [Mon, 20 Aug 2012 19:53:43 +0000 (12:53 -0700)]
am 46b7eeb8: Merge "hardening: eliminate text relocations from h264"

* commit '46b7eeb8be7449515082ecb1a61700affb44115f':
  hardening: eliminate text relocations from h264

11 years agoMerge "hardening: eliminate text relocations from h264"
Nick Kralevich [Mon, 20 Aug 2012 18:55:17 +0000 (11:55 -0700)]
Merge "hardening: eliminate text relocations from h264"

11 years agoam af5f9f05: am cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition...
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:29:35 +0000 (10:29 -0700)]
am af5f9f05: am cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"

* commit 'af5f9f05937521acb4855848d77bed1d4ed7db0a':
  MPEG2TSWriter: Fix an off-by-one in the condition for padding

11 years agoam 3b939a5e: am 02a4ec21: Merge "avcenc: Remove a leftover define"
Jean-Baptiste Queru [Mon, 20 Aug 2012 17:29:34 +0000 (10:29 -0700)]
am 3b939a5e: am 02a4ec21: Merge "avcenc: Remove a leftover define"

* commit '3b939a5e893ccfe87f5b7b3fe229439a9b2fc87a':
  avcenc: Remove a leftover define

11 years agoam cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"
Jean-Baptiste Queru [Mon, 20 Aug 2012 16:40:13 +0000 (09:40 -0700)]
am cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"

* commit 'cd622346235829f60246a061560adf5921ba129c':
  MPEG2TSWriter: Fix an off-by-one in the condition for padding

11 years agoam 02a4ec21: Merge "avcenc: Remove a leftover define"
Jean-Baptiste Queru [Mon, 20 Aug 2012 16:40:12 +0000 (09:40 -0700)]
am 02a4ec21: Merge "avcenc: Remove a leftover define"

* commit '02a4ec216cf5ca903e1765ca3e7ff2985436b236':
  avcenc: Remove a leftover define

11 years agoMerge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"
Jean-Baptiste Queru [Mon, 20 Aug 2012 15:54:11 +0000 (08:54 -0700)]
Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"

11 years agoMerge "avcenc: Remove a leftover define"
Jean-Baptiste Queru [Mon, 20 Aug 2012 15:53:54 +0000 (08:53 -0700)]
Merge "avcenc: Remove a leftover define"

11 years agoMPEG2TSWriter: Fix an off-by-one in the condition for padding
Martin Storsjo [Mon, 20 Aug 2012 13:34:14 +0000 (14:34 +0100)]
MPEG2TSWriter: Fix an off-by-one in the condition for padding

This makes a remuxed file play without any decoding warnings,
while there still were some occasional warnings with the previous
version.

Change-Id: I31d73446ded1eeb3da10783c5ef841270563ca12

11 years agoh264 streaming: make profile-level-id optional
Patrik2 Carlsson [Mon, 20 Aug 2012 07:53:09 +0000 (09:53 +0200)]
h264 streaming: make profile-level-id optional

profile-level-id is made optional according to rfc3984:
"If no profile-level-id is present, the Baseline Profile without
additional constraints at Level 1 MUST be implied."

Change-Id: If868468a48917ceccb963b8ac15767583da29723

11 years agoDon't log streaming url.
James Dong [Fri, 17 Aug 2012 20:41:59 +0000 (13:41 -0700)]
Don't log streaming url.

o related-to-bug: 6994761

Change-Id: I79d5549a70b3bde67ddf496cfc6283ac92b1f569

11 years agoavcenc: Remove a leftover define
Martin Storsjo [Fri, 17 Aug 2012 08:28:09 +0000 (11:28 +0300)]
avcenc: Remove a leftover define

This should have been removed as part of f5af6314db, but
the second __arm__ define was introduced after the original commit
was written, and not removing the second one was an oversight in
rebasing the patch on top of the new code.

Change-Id: Iccf08ffdef130446dd6e97dc1e15e6a1d4f9386f

11 years agoam 523c09d5: am 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source...
Jean-Baptiste Queru [Fri, 17 Aug 2012 00:40:07 +0000 (17:40 -0700)]
am 523c09d5: am 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source files"

* commit '523c09d56c78933eea7fb4f028e0bfa595ca82b1':
  stagefright amrnb: Remove unused leftover source files

11 years agoam f20e4ad9: am c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum...
Jean-Baptiste Queru [Fri, 17 Aug 2012 00:40:06 +0000 (17:40 -0700)]
am f20e4ad9: am c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"

* commit 'f20e4ad9f23fe0267f8f3434a6eb961eb69bde3a':
  stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h

11 years agoam 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source files"
Jean-Baptiste Queru [Fri, 17 Aug 2012 00:37:44 +0000 (17:37 -0700)]
am 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source files"

* commit '64b3fe55f7edd16be32e07c28c2c90f84f3b9b80':
  stagefright amrnb: Remove unused leftover source files

11 years agoam c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum into frame_type...
Jean-Baptiste Queru [Fri, 17 Aug 2012 00:37:43 +0000 (17:37 -0700)]
am c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"

* commit 'c1d2777c8004a9491e1381cca33a6768faed50c3':
  stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h

11 years agoMerge "Camera2: Fix SCENE_MODE" into jb-mr1-dev
Eino-Ville Talvala [Fri, 17 Aug 2012 00:20:36 +0000 (17:20 -0700)]
Merge "Camera2: Fix SCENE_MODE" into jb-mr1-dev

11 years agoCamera2: Fix SCENE_MODE
Eino-Ville Talvala [Thu, 16 Aug 2012 23:03:59 +0000 (16:03 -0700)]
Camera2: Fix SCENE_MODE

Now can set scene mode back to auto.

Bug: 7001465

Change-Id: Ia25ba54d13de662bef5bf79957987513a7313c18

11 years agoMerge "stagefright amrnb: Remove unused leftover source files"
Jean-Baptiste Queru [Thu, 16 Aug 2012 23:42:06 +0000 (16:42 -0700)]
Merge "stagefright amrnb: Remove unused leftover source files"

11 years agoMerge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"
Jean-Baptiste Queru [Thu, 16 Aug 2012 23:40:19 +0000 (16:40 -0700)]
Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"

11 years agoam 0df213ba: am dde79acf: Merge "hardening: eliminate text relocations from mp3"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:31:19 +0000 (15:31 -0700)]
am 0df213ba: am dde79acf: Merge "hardening: eliminate text relocations from mp3"

* commit '0df213babc4fb41b7daa05cb3c08071f2b60f6a5':
  hardening: eliminate text relocations from mp3

11 years agoam a109e9d5: am b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:31:18 +0000 (15:31 -0700)]
am a109e9d5: am b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

* commit 'a109e9d5d5dbdbbd63a3f32fce131c718f0f8c99':
  avcenc: Clarify the ifdefs surrounding inline assembly

11 years agoam fba9d50d: am 4f981882: Merge "hardening: eliminate text relocations from amrwb"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:31:16 +0000 (15:31 -0700)]
am fba9d50d: am 4f981882: Merge "hardening: eliminate text relocations from amrwb"

* commit 'fba9d50d1b2e487bc08b59ec93d7ed3183c76dbe':
  hardening: eliminate text relocations from amrwb

11 years agoam 1191287b: am c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:31:16 +0000 (15:31 -0700)]
am 1191287b: am c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"

* commit '1191287bc438c164a89cf86704936aeddbefb136':
  aacenc/amrwbenc: Remove the now unused LINUX define

11 years agoam eeb9fde0: am 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:31:15 +0000 (15:31 -0700)]
am eeb9fde0: am 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"

* commit 'eeb9fde0cb8e0ace44eb720bcac272ee70282d4d':
  aacenc/amrwbenc: Remove unused and dubious typedefs

11 years agoam dde79acf: Merge "hardening: eliminate text relocations from mp3"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:28 +0000 (15:29 -0700)]
am dde79acf: Merge "hardening: eliminate text relocations from mp3"

* commit 'dde79acfb97083d690e3cceabff78931b10d1539':
  hardening: eliminate text relocations from mp3

11 years agoam b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:26 +0000 (15:29 -0700)]
am b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

* commit 'b7ca7dc9652456181080bf28ec376bc5a36cf6a2':
  avcenc: Clarify the ifdefs surrounding inline assembly

11 years agoam 4f981882: Merge "hardening: eliminate text relocations from amrwb"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:25 +0000 (15:29 -0700)]
am 4f981882: Merge "hardening: eliminate text relocations from amrwb"

* commit '4f981882da8080e1d41d000bfbad92df61adcfba':
  hardening: eliminate text relocations from amrwb

11 years agoam c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:24 +0000 (15:29 -0700)]
am c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"

* commit 'c3bfa0260a530af3e9c091c1c9d90d1283021dd6':
  aacenc/amrwbenc: Remove the now unused LINUX define

11 years agoam 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"
Jean-Baptiste Queru [Thu, 16 Aug 2012 22:29:23 +0000 (15:29 -0700)]
am 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"

* commit '3f5d2e1777bcf8856e966b93b2bce0b2c9cd1a49':
  aacenc/amrwbenc: Remove unused and dubious typedefs

11 years agoMerge "hardening: eliminate text relocations from mp3"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:45:30 +0000 (14:45 -0700)]
Merge "hardening: eliminate text relocations from mp3"

11 years agoMerge "avcenc: Clarify the ifdefs surrounding inline assembly"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:44:54 +0000 (14:44 -0700)]
Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

11 years agoMerge "hardening: eliminate text relocations from amrwb"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:44:39 +0000 (14:44 -0700)]
Merge "hardening: eliminate text relocations from amrwb"

11 years agoMerge "aacenc/amrwbenc: Remove the now unused LINUX define"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:42:35 +0000 (14:42 -0700)]
Merge "aacenc/amrwbenc: Remove the now unused LINUX define"

11 years agoMerge "aacenc/amrwbenc: Remove unused and dubious typedefs"
Jean-Baptiste Queru [Thu, 16 Aug 2012 21:42:16 +0000 (14:42 -0700)]
Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"

11 years agoaacenc/amrwbenc: Remove the now unused LINUX define
Martin Storsjo [Wed, 7 Mar 2012 11:17:52 +0000 (13:17 +0200)]
aacenc/amrwbenc: Remove the now unused LINUX define

This is no longer used by the codec code (except for the
amrwbenc sample).

Change-Id: I78c7f62f257c490bf44477217975a93abcc7779e

11 years agoaacenc/amrwbenc: Remove unused and dubious typedefs
Martin Storsjo [Thu, 23 Jun 2011 07:53:55 +0000 (10:53 +0300)]
aacenc/amrwbenc: Remove unused and dubious typedefs

These typedefs aren't used anywhere, and their description
doesn't really match their actual definition. The VO_TCHAR
type is even defined as pointer for one configuration and
as non-pointer for another configuration.

This gets rid of the last use of the LINUX define in the
VO codecs (except for the amrwbenc sample application).
Within the codecs, the use of this define is unclear - does it
indicate code specific to android but not normal linux, linux
but not other unixes, unix but not windows, or gcc but not
other compilers, etc.

Originally, prior to cleanup, the define has meant many
different of these - these uses has now been cleaned up to
use the proper feature detection macros (e.g. looking for
defines automatically set by the compiler, instead of
relying on manually setting this define).

Change-Id: I1a675d653d6d305f558aa7f74c7255858dc62758

11 years agoam add9f820: am 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adapt...
Jean-Baptiste Queru [Wed, 15 Aug 2012 18:25:49 +0000 (11:25 -0700)]
am add9f820: am 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"

* commit 'add9f820eaeb180b5e72a4420995a54062cfabd7':
  MPEG2TSWriter: Correctly add padding using the adaptation field

11 years agoam 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"
Jean-Baptiste Queru [Wed, 15 Aug 2012 18:24:36 +0000 (11:24 -0700)]
am 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"

* commit '2c3d9b7b9e34c9122c0a568d6b1fb24404021f55':
  MPEG2TSWriter: Correctly add padding using the adaptation field

11 years agoMerge "MPEG2TSWriter: Correctly add padding using the adaptation field"
Jean-Baptiste Queru [Wed, 15 Aug 2012 17:14:29 +0000 (10:14 -0700)]
Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"

11 years agoMPEG2TSWriter: Correctly add padding using the adaptation field
Paul Fariello [Mon, 23 Jan 2012 16:32:06 +0000 (17:32 +0100)]
MPEG2TSWriter: Correctly add padding using the adaptation field

Change-Id: I268cce36ada910ba168c4c9dcedab0b20f6e6ebb

11 years agoMerge "Camera2: Skeleton for output frame processing, plus face detect" into jb-mr1-dev
Eino-Ville Talvala [Tue, 14 Aug 2012 18:55:50 +0000 (11:55 -0700)]
Merge "Camera2: Skeleton for output frame processing, plus face detect" into jb-mr1-dev

11 years agoCamera2: Skeleton for output frame processing, plus face detect
Eino-Ville Talvala [Fri, 10 Aug 2012 15:40:26 +0000 (08:40 -0700)]
Camera2: Skeleton for output frame processing, plus face detect

- Plumbing for processing output metadata frames from the HAL
- Support for passing face detection metadata from said frames
  to the application.
- Switch calls on ICameraClient interface to use separate mutex to
  avoid deadlock scenarios with messages being communicated from the
  HAL to the camera user while calls from the user to the service are
  active.

Bug: 6243944

Change-Id: Id4cf821d9c5c3c0069be4c0f669874b6ff0d1ecd

11 years agoMerge "Fix AAC DRC metadata being ignored" into jb-mr1-dev
Jean-Michel Trivi [Tue, 14 Aug 2012 00:46:40 +0000 (17:46 -0700)]
Merge "Fix AAC DRC metadata being ignored" into jb-mr1-dev

11 years agoFix AAC DRC metadata being ignored
Jean-Michel Trivi [Fri, 10 Aug 2012 19:24:59 +0000 (12:24 -0700)]
Fix AAC DRC metadata being ignored

The decoder will bypass all DRC processing during decode unless
  any of the DRC parameters is set.
The fix consists in setting the DRC reference level to its
  default value when after the decoder is initialized.

Change-Id: Ibb8355ab8c3c65020c5eef0752957040f7316c2a

11 years agoam 979df012: am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing...
Jean-Baptiste Queru [Mon, 13 Aug 2012 23:03:31 +0000 (16:03 -0700)]
am 979df012: am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

* commit '979df012eb0588ac7f87d5f6e8bff77e2049ee46':
  amrnb: Restart the p_xn pointer when retraversing the array on overflow

11 years agoam 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on...
Jean-Baptiste Queru [Mon, 13 Aug 2012 22:19:13 +0000 (15:19 -0700)]
am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

* commit '98159acd68307bf0fcec40ae0fffc1a715517d1d':
  amrnb: Restart the p_xn pointer when retraversing the array on overflow

11 years agoMerge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"
Jean-Baptiste Queru [Mon, 13 Aug 2012 21:37:57 +0000 (14:37 -0700)]
Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

11 years agohardening: eliminate text relocations from h264
Ard Biesheuvel [Mon, 13 Aug 2012 20:55:51 +0000 (22:55 +0200)]
hardening: eliminate text relocations from h264

Change-Id: I8bdf9746f28f2f7bed6c1109c0f4badbab765a7c

11 years agohardening: eliminate text relocations from mp3
Ard Biesheuvel [Mon, 13 Aug 2012 20:47:33 +0000 (22:47 +0200)]
hardening: eliminate text relocations from mp3

Change-Id: I671ed4c8c7bb15172a8b64d513e2844319495102

11 years agohardening: eliminate text relocations from amrwb
Ard Biesheuvel [Mon, 13 Aug 2012 20:44:43 +0000 (22:44 +0200)]
hardening: eliminate text relocations from amrwb

Change-Id: I47235fc4afe6b916da1e999401fb3c8b12c94e62

11 years agoconst methods
Glenn Kasten [Thu, 2 Aug 2012 20:37:12 +0000 (13:37 -0700)]
const methods

Change-Id: I92e32ee16274c032c9d0ce910676be2a7fa52471

11 years agoSimplify AudioFlinger::PlaybackThread::isValidSyncEvent()
Glenn Kasten [Thu, 2 Aug 2012 23:36:50 +0000 (16:36 -0700)]
Simplify AudioFlinger::PlaybackThread::isValidSyncEvent()

Change-Id: I3e4af69b929d4ca04afaac26c7e41c89fce25b9c

11 years agoDiscard setSyncEvent() return value
Glenn Kasten [Thu, 2 Aug 2012 20:35:47 +0000 (13:35 -0700)]
Discard setSyncEvent() return value

setSyncEvent() returns a status_t which is sometimes ignored.
Emphasize this is intentional by casting to void.

Change-Id: Ic614988347cba36bd2504d7ad321594a355b0d9d

11 years agoMerge "Replace hard-coded "2" by a constant and comment" into jb-mr1-dev
Glenn Kasten [Mon, 13 Aug 2012 18:30:17 +0000 (11:30 -0700)]
Merge "Replace hard-coded "2" by a constant and comment" into jb-mr1-dev

11 years agoUse the correct data offset by remembering the offset of the enclosing 'moof'
Andreas Huber [Mon, 13 Aug 2012 17:59:48 +0000 (10:59 -0700)]
Use the correct data offset by remembering the offset of the enclosing 'moof'

container.

Change-Id: I2f0f92dabe31341a6a91d435943e4a65e34884ba

11 years agoam 10004fe6: am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"
Jean-Baptiste Queru [Mon, 13 Aug 2012 17:56:58 +0000 (10:56 -0700)]
am 10004fe6: am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"

* commit '10004fe612bc38bedc258fd1c380ebccacfa0c1e':
  amrnb: Fix audio distortion in an AMR-NB clip

11 years agoam 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"
Jean-Baptiste Queru [Mon, 13 Aug 2012 17:53:51 +0000 (10:53 -0700)]
am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"

* commit '5efa7bf945f53c419501b0a4f9718962f24f0df5':
  amrnb: Fix audio distortion in an AMR-NB clip

11 years agoMerge "amrnb: Fix audio distortion in an AMR-NB clip"
Jean-Baptiste Queru [Mon, 13 Aug 2012 17:37:03 +0000 (10:37 -0700)]
Merge "amrnb: Fix audio distortion in an AMR-NB clip"

11 years agoMerge changes Ibe7e6d4b,Icf8904db into jb-mr1-dev
John Grossman [Mon, 13 Aug 2012 16:52:14 +0000 (09:52 -0700)]
Merge changes Ibe7e6d4b,Icf8904db into jb-mr1-dev

* changes:
  Move the AAH RTP code out of framework and into vendor.
  Add the ability to dynamicaly register MediaPlayer types.

11 years agoMerge "Signal end of stream if no more fragments are going to be available." into...
Andreas Huber [Mon, 13 Aug 2012 16:03:06 +0000 (09:03 -0700)]
Merge "Signal end of stream if no more fragments are going to be available." into jb-mr1-dev

11 years agoMove the AAH RTP code out of framework and into vendor.
John Grossman [Mon, 6 Aug 2012 20:50:00 +0000 (13:50 -0700)]
Move the AAH RTP code out of framework and into vendor.

Relocate the AAH RTP code from framework/av into
vendor/google_devices/phantasm.  This change is the deletion, there
will be a separate CL which re-introduces on the vendor side of
things.

Change-Id: Ibe7e6d4b633a3886b87a615691a2692f2382af6c
Signed-off-by: John Grossman <johngro@google.com>
11 years agoAdd the ability to dynamicaly register MediaPlayer types.
John Grossman [Fri, 22 Jun 2012 00:29:24 +0000 (17:29 -0700)]
Add the ability to dynamicaly register MediaPlayer types.

Add the ability to dynamically register low level MediaPlayer
factories which will be probed at setDataSource time to determine the
proper MediaPlayerBase to instantiate.

This change is in preparation for moving libaah_rtp out of
frameworks/base and into phantasm platform directory.

Change-Id: Icf8904db3ab9e3c85df6e780d5546d9988cb9076
Signed-off-by: John Grossman <johngro@google.com>
11 years agoLet getOriginalMimeType() take a fd passed from drm java applications
James Dong [Tue, 31 Jul 2012 00:57:39 +0000 (17:57 -0700)]
Let getOriginalMimeType() take a fd passed from drm java applications

This patch enables the drm framework to avoid opening files directly.
As a result, the drm framework no longer needs the sdcard read permision.

o related-to-bug: 6426185

Change-Id: Ib176c35ef4b1a1a405e8e954f19a7985266f2510

11 years agoam 3ca352c4: am 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"
Jean-Baptiste Queru [Fri, 10 Aug 2012 22:34:06 +0000 (15:34 -0700)]
am 3ca352c4: am 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"

* commit '3ca352c4cd01f6df3b691f835efc68a5771e724e':
  MPEG2TSWriter: Write a proper CRC in PAT and PMT

11 years agoam 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"
Jean-Baptiste Queru [Fri, 10 Aug 2012 22:32:40 +0000 (15:32 -0700)]
am 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"

* commit '24893fef8e0f816a8a21749fa3eb9eed9173a0fd':
  MPEG2TSWriter: Write a proper CRC in PAT and PMT

11 years agoMerge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"
Jean-Baptiste Queru [Fri, 10 Aug 2012 22:26:43 +0000 (15:26 -0700)]
Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"

11 years agoam 31a593b9: am 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters...
Jean-Baptiste Queru [Fri, 10 Aug 2012 19:44:04 +0000 (12:44 -0700)]
am 31a593b9: am 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"

* commit '31a593b901eeb924ae5214962c628397dd0197f2':
  MPEG2TSWriter: Write proper continuity counters for PAT and PMT

11 years agoam ff4c64d6: am c64a1787: Merge "Fix initialization of audio mixer track resources...
Jean-Baptiste Queru [Fri, 10 Aug 2012 19:44:02 +0000 (12:44 -0700)]
am ff4c64d6: am c64a1787: Merge "Fix initialization of audio mixer track resources for MIPS."

* commit 'ff4c64d6b1b58494a1b15f1a664e5c421d095d15':
  Fix initialization of audio mixer track resources for MIPS.

11 years agoMerge "Handle malformed raw AAC/AMR writer better" into jb-mr1-dev
James Dong [Fri, 10 Aug 2012 17:25:51 +0000 (10:25 -0700)]
Merge "Handle malformed raw AAC/AMR writer better" into jb-mr1-dev

11 years agoam 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"
Jean-Baptiste Queru [Fri, 10 Aug 2012 16:26:41 +0000 (09:26 -0700)]
am 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"

* commit '2001d2ac01e36c13c1abda5f73b6404cba2648e1':
  MPEG2TSWriter: Write proper continuity counters for PAT and PMT

11 years agoam c64a1787: Merge "Fix initialization of audio mixer track resources for MIPS."
Jean-Baptiste Queru [Fri, 10 Aug 2012 16:26:40 +0000 (09:26 -0700)]
am c64a1787: Merge "Fix initialization of audio mixer track resources for MIPS."

* commit 'c64a178711bf7bb9b71d65a47156b34083311392':
  Fix initialization of audio mixer track resources for MIPS.

11 years agoCamera2: Swap AF notification order, minor bug fix.
Eino-Ville Talvala [Wed, 8 Aug 2012 16:25:58 +0000 (09:25 -0700)]
Camera2: Swap AF notification order, minor bug fix.

In continuous AF modes, when an AF trigger/cancel is received in the
middle of a passive AF scan, we want to send both an AF move stop
callback and an AF done callback. Swap the order of sending to
simplify life when the app just wants to pay attention to the AF done
callback during an active AF trigger.

Bug: 6243944
Change-Id: I127d1675bc37ef828ef89c70b8cfab75f9428a2f

11 years agoCamera2: Add trigger support, and implement autofocus
Eino-Ville Talvala [Fri, 3 Aug 2012 20:53:39 +0000 (13:53 -0700)]
Camera2: Add trigger support, and implement autofocus

- Add skeletons for all triggering actions into Camera2Device
- Add support for AF triggers to HAL
- Add support for AF notifications from HAL

Bug: 6243944
Change-Id: I21025440849ae41f7083e1dcb72c99f8e5b2d5f7

11 years agoMerge "Update state only if calls to native window are successful" into jb-mr1-dev
James Dong [Fri, 10 Aug 2012 16:13:32 +0000 (09:13 -0700)]
Merge "Update state only if calls to native window are successful" into jb-mr1-dev