OSDN Git Service

android-x86/frameworks-av.git
10 years agoMerge "Revise speaker volume curve for media on devices with speaker DRC"
Jean-Michel Trivi [Wed, 9 Jul 2014 16:08:47 +0000 (16:08 +0000)]
Merge "Revise speaker volume curve for media on devices with speaker DRC"

10 years agoRevise speaker volume curve for media on devices with speaker DRC
Jean-Michel Trivi [Wed, 9 Jul 2014 15:51:34 +0000 (08:51 -0700)]
Revise speaker volume curve for media on devices with speaker DRC

Bug 15318604

Change-Id: I14b451e2d8d4439fe286dd98c45d09b9dadbb4f6

10 years agoMerge "Cleanup unused parameters or variable in EffectBundle"
Jean-Michel Trivi [Wed, 9 Jul 2014 15:52:40 +0000 (15:52 +0000)]
Merge "Cleanup unused parameters or variable in EffectBundle"

10 years agoam 782be1ec: am 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
Narayan Kamath [Wed, 9 Jul 2014 15:07:10 +0000 (15:07 +0000)]
am 782be1ec: am 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"

* commit '782be1ecf1022d4e2da714b5aebe51ab616e9975':
  m4v_h263_enc: Use uint32_t for ULong

10 years agoam 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
Narayan Kamath [Wed, 9 Jul 2014 12:36:43 +0000 (12:36 +0000)]
am 1c1b5e51: am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"

* commit '1c1b5e51cb1acd43984ce2e82a27e61b4943186a':
  m4v_h263_enc: Use uint32_t for ULong

10 years agoam c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"
Narayan Kamath [Wed, 9 Jul 2014 12:22:05 +0000 (12:22 +0000)]
am c37eaa32: Merge "m4v_h263_enc: Use uint32_t for ULong"

* commit 'c37eaa320437b7d65d1c3f704d7b7c61d4ccd8f1':
  m4v_h263_enc: Use uint32_t for ULong

10 years agoCleanup unused parameters or variable in EffectBundle
Jean-Michel Trivi [Tue, 8 Jul 2014 21:17:29 +0000 (14:17 -0700)]
Cleanup unused parameters or variable in EffectBundle

No unused parameter warning in EffectBundle.
Remove unused variable declaration in Virtualizer_getParameter

Change-Id: Ibe1c051bc21ac53a6c770b4aa28e31ac5d559d9b

10 years agoaudio: deprecate audio_stream_frame_size()
Eric Laurent [Thu, 3 Jul 2014 23:37:08 +0000 (16:37 -0700)]
audio: deprecate audio_stream_frame_size()

Bug: 15000850.
Change-Id: I955a6efa620b8f70fa5193c7853cbe88e879c9c3

10 years agoMerge "Add and enable multichannel for audio resampler"
Andy Hung [Thu, 3 Jul 2014 01:12:32 +0000 (01:12 +0000)]
Merge "Add and enable multichannel for audio resampler"

10 years agoAdd and enable multichannel for audio resampler
Andy Hung [Thu, 10 Apr 2014 02:36:43 +0000 (19:36 -0700)]
Add and enable multichannel for audio resampler

Change-Id: I2b86fb73d70abc4c456f7567270a888086b301d4
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd multichannel to audio resample processing
Andy Hung [Thu, 10 Apr 2014 02:19:06 +0000 (19:19 -0700)]
Add multichannel to audio resample processing

Change-Id: If6bfbf74000520713f9ba19488a475fc2eefc271
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "Restore the LOOPING flag in onAudioTearDownEvent"
Sungsoo Lim [Wed, 9 Jul 2014 14:42:18 +0000 (14:42 +0000)]
Merge "Restore the LOOPING flag in onAudioTearDownEvent"

10 years agoMerge "audio policy: add new input audio device"
Terry Heo [Wed, 9 Jul 2014 02:48:09 +0000 (02:48 +0000)]
Merge "audio policy: add new input audio device"

10 years agoMerge "HLS: do not discard packets when queuing explicit discontinuity"
Chong Zhang [Tue, 8 Jul 2014 23:30:13 +0000 (23:30 +0000)]
Merge "HLS: do not discard packets when queuing explicit discontinuity"

10 years agoMerge "handle emulation_prevention_three_bytes for AVC"
Chong Zhang [Tue, 8 Jul 2014 20:52:31 +0000 (20:52 +0000)]
Merge "handle emulation_prevention_three_bytes for AVC"

10 years agoMerge "AString: add startsWithIgnoreCase and endsWithIgnoreCase"
Lajos Molnar [Tue, 8 Jul 2014 19:21:08 +0000 (19:21 +0000)]
Merge "AString: add startsWithIgnoreCase and endsWithIgnoreCase"

10 years agosound trigger: update HAL
Eric Laurent [Sun, 6 Jul 2014 23:17:25 +0000 (16:17 -0700)]
sound trigger: update HAL

New start_recognition() prototype with recognition
configuration structure.
New recognition event format.

Bug: 12378680.
Change-Id: I57b430eb076e6baa58118a0ed45ce4afaacb998c

10 years agohandle emulation_prevention_three_bytes for AVC
Chong Zhang [Fri, 27 Jun 2014 02:55:23 +0000 (19:55 -0700)]
handle emulation_prevention_three_bytes for AVC

bug: 15917805
Change-Id: I824fe7eea807f8faba6b149c31890b7a5df87825

10 years agoMerge "Replace int bitDepth with audio_format_t in Resampler"
Andy Hung [Tue, 8 Jul 2014 17:31:25 +0000 (17:31 +0000)]
Merge "Replace int bitDepth with audio_format_t in Resampler"

10 years agoCamera3: Add capture intent for ZSL capture
Zhijun He [Tue, 8 Jul 2014 00:05:38 +0000 (17:05 -0700)]
Camera3: Add capture intent for ZSL capture

Also fix the warning condition in input buffer return path.

Change-Id: I90e9edc1db9f1de87bc8936000b00c3306160c71

10 years agostagefright: update ACodec to use CodecBase enumerations directly
Lajos Molnar [Mon, 7 Jul 2014 22:08:24 +0000 (15:08 -0700)]
stagefright: update ACodec to use CodecBase enumerations directly

Bug: 11784825
Change-Id: I9f322b78b52bfcc5040fda951486df4354cdba4f

10 years agostagefright: update MediaCodec to use CodecBase instead of ACodec
Lajos Molnar [Mon, 7 Jul 2014 21:55:18 +0000 (14:55 -0700)]
stagefright: update MediaCodec to use CodecBase instead of ACodec

MediaCodec still creates an ACodec instance in init()

Bug: 11784825
Change-Id: Ifba1e1582c788056c0e59afdf68cd3a504ab3679

10 years agostagefright: create CodecBase interface (abstract class)
Lajos Molnar [Mon, 7 Jul 2014 17:30:54 +0000 (10:30 -0700)]
stagefright: create CodecBase interface (abstract class)

This abstracts out the ACodec dependency in MediaCodec.

Bug: 11784825
Change-Id: I0aa8b56c6414865fd4b0646e2c5bd1b62d030682

10 years agoReplace int bitDepth with audio_format_t in Resampler
Andy Hung [Mon, 7 Jul 2014 17:21:44 +0000 (10:21 -0700)]
Replace int bitDepth with audio_format_t in Resampler

Remove mBitDepth from class (not used).
Replace with audio_format_t in factory method to distinguish
between float and pcm 16-bit.

Change-Id: I166860796c68285077ef4458d8758d19b82523f9

10 years agoMerge "av: native_window_set_buffers_geometry is deprecated."
Eino-Ville Talvala [Mon, 7 Jul 2014 22:27:58 +0000 (22:27 +0000)]
Merge "av: native_window_set_buffers_geometry is deprecated."

10 years agoav: native_window_set_buffers_geometry is deprecated.
Pierre Couillaud [Thu, 3 Jul 2014 17:55:00 +0000 (10:55 -0700)]
av: native_window_set_buffers_geometry is deprecated.

native_window_set_buffers_geometry is deprecated, but
__set_buffers_geometry is still used for device1 camera
support.

replace deprecated call with its equivalent combination of
native_window_set_buffers_dimensions and
native_window_set_buffers_format.

Change-Id: I4940367dcae6049451508bfdfc11c16907ec1afc
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
10 years agoCamera3: only return input buffer when it is sent in request
Zhijun He [Mon, 7 Jul 2014 19:44:10 +0000 (12:44 -0700)]
Camera3: only return input buffer when it is sent in request

This is to WAR the case where HAL sends non-NULL input_buffer in capture
result even capture framework doesn't send input buffer in the request.
It's very likely the input_buffer is uninitialized, and we shouldn't
use it. Log a warning for such case as well.

Bug: 16115675
Bug: 16117312
Change-Id: Ib299b45fbfe084059a9f546ded239c8094b039e2

10 years agoaudio policy: add new input audio device
Terry Heo [Fri, 27 Jun 2014 06:23:36 +0000 (15:23 +0900)]
audio policy: add new input audio device

Add entry for AUDIO_DEVICE_IN_LOOPBACK to string to enum table.

Bug: 15437484
Change-Id: I552df0969c745bdf66ff9e5d7bd864ef9e3f438d

10 years agoMerge "m4v_h263_enc: Use uint32_t for ULong"
Narayan Kamath [Wed, 9 Jul 2014 08:32:36 +0000 (08:32 +0000)]
Merge "m4v_h263_enc: Use uint32_t for ULong"

10 years agoMerge "Add force usage and category for System Audio Control."
Jungshik Jang [Thu, 3 Jul 2014 00:43:47 +0000 (00:43 +0000)]
Merge "Add force usage and category for System Audio Control."

10 years agoMerge "Add multichannel to audio resample processing"
Andy Hung [Wed, 2 Jul 2014 23:13:12 +0000 (23:13 +0000)]
Merge "Add multichannel to audio resample processing"

10 years agoMerge "IAudioFlinger::openRecord now suggests notificationFrames"
Glenn Kasten [Mon, 7 Jul 2014 13:27:01 +0000 (13:27 +0000)]
Merge "IAudioFlinger::openRecord now suggests notificationFrames"

10 years agoIAudioFlinger::openRecord now suggests notificationFrames
Glenn Kasten [Thu, 3 Jul 2014 19:23:29 +0000 (12:23 -0700)]
IAudioFlinger::openRecord now suggests notificationFrames

Change-Id: I08885cc381d03c522a23289e74f0e1ed46563863

10 years agoAdd new API AudioRecord::notificationFrames()
Glenn Kasten [Thu, 3 Jul 2014 18:18:43 +0000 (11:18 -0700)]
Add new API AudioRecord::notificationFrames()

Change-Id: I27fb888f01ed547242ffaa8d4626d38c7999ad53

10 years agoMerge "Add new API AudioRecord::notificationFrames()"
Glenn Kasten [Mon, 7 Jul 2014 13:07:47 +0000 (13:07 +0000)]
Merge "Add new API AudioRecord::notificationFrames()"

10 years agoMerge "Remove obsolete IAudioFlinger::channelCount()"
Glenn Kasten [Thu, 3 Jul 2014 23:37:21 +0000 (23:37 +0000)]
Merge "Remove obsolete IAudioFlinger::channelCount()"

10 years agoMerge "Camera3: fix ZSL processor3 issues"
Zhijun He [Wed, 2 Jul 2014 23:03:32 +0000 (23:03 +0000)]
Merge "Camera3: fix ZSL processor3 issues"

10 years agoCamera3: fix ZSL processor3 issues
Zhijun He [Mon, 30 Jun 2014 17:24:11 +0000 (10:24 -0700)]
Camera3: fix ZSL processor3 issues

- Return input buffer in capture result. Per hal3.2 spec, we should return the
input buffer in process capture result rather than immediately after process
capture request.
- Make the depths of mZslQueue and mFrameList the same. It doesn't make sense
mFrameList depth is larger than mZslQueue depth.
- Set the depths of mZslQueue and mFrameList based on pipelineMaxDepth.
- Clear result queue while clearing zsl buffer queue.
- Hook up camera3 buffer listener with ZslProcessor3, make sure that adding the
same listener multiple times has no effect.
- Remove flush call in pushToReprocess, it is a guaranteed deadlock once
camera3 buffer listener is hooked up.

Change-Id: I285155ab4241e827145855d628f8e98b881c01d5

10 years agom4v_h263_enc: Use uint32_t for ULong
Ashok Bhat [Mon, 16 Jun 2014 16:42:02 +0000 (17:42 +0100)]
m4v_h263_enc: Use uint32_t for ULong

ULong is used in the encoder code as 32-bit unsigned integer type.
But it has been defined as an unsigned long, which will be 64-bit
on 64-bit platforms. This causes many problems including output
mismatch between 32-bit and 64-bit code and crash in certain cases.

This patch defines ULong as uint32_t. In addition, it uses uintptr_t
at places where an address is cast to an integer to check for alignment.

Change-Id: I2b0086824a5985b9fc4628ce6fbe81db156e37d2
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoMerge "MatroskaExtractor: track specific seeking"
Robert Shih [Wed, 2 Jul 2014 17:01:59 +0000 (17:01 +0000)]
Merge "MatroskaExtractor: track specific seeking"

10 years agoAdd force usage and category for System Audio Control.
Jungshik Jang [Thu, 26 Jun 2014 08:23:40 +0000 (17:23 +0900)]
Add force usage and category for System Audio Control.

System Audio Control in HDMI-CEC delegate audio control
to audio receiver. When system audio control is selected
in audio settings as audio output it should select one of ARC, SPDIF,
and LINE as audio output.
Whenever user select System Audio as audio output, audio
setting should call
setForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM_AUDIO, AUDIO_POLICY_FORCE_XXX);
and if other output is selected it should call
setForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM_AUDIO, AUDIO_POLICY_FORCE_NONE);

Change-Id: I1c237ee9291a4e0acf01a86aff3176edce5c14e0

10 years agoMerge "frameworks: av: services: audiopolicy: Added AudioPolicyEffects"
Eric Laurent [Tue, 1 Jul 2014 18:35:11 +0000 (18:35 +0000)]
Merge "frameworks: av: services: audiopolicy: Added AudioPolicyEffects"

10 years agoframeworks: av: services: audiopolicy: Added AudioPolicyEffects
bryant_liu [Wed, 11 Jun 2014 08:49:30 +0000 (16:49 +0800)]
frameworks: av: services: audiopolicy: Added AudioPolicyEffects

Manage pre- and postprocessing effects defined in audio_effects.conf

Change-Id: Idea1478e3d434f8ff66907adb3c77663db78d583

10 years agoCreate a single test binary.
Edwin Wong [Tue, 1 Jul 2014 17:32:59 +0000 (10:32 -0700)]
Create a single test binary.

To run individual test suite, follow the example shown below:
adb shell LD_LIBRARY_PATH=/system/vendor/lib/mediadrm /system/bin/ClearKeyDrmUnitTest
--gtest_filter=JsonWebKeyTest.*

Change-Id: I8ecc944a734cde351505a7cd8c3997976d74553b

10 years agoFix build target path.
Edwin Wong [Tue, 1 Jul 2014 15:43:12 +0000 (08:43 -0700)]
Fix build target path.

Change-Id: I45ee7efb13ffaff8c15ce6b2aea3076db713c73e

10 years agoMerge "Add new AudioMixer processing hooks"
Andy Hung [Tue, 1 Jul 2014 17:35:47 +0000 (17:35 +0000)]
Merge "Add new AudioMixer processing hooks"

10 years agoAdd Unit Tests for ClearKey Plugin
John "Juce" Bruce [Mon, 23 Jun 2014 19:11:56 +0000 (12:11 -0700)]
Add Unit Tests for ClearKey Plugin

Change-Id: I0008a01d29ade169df9a0fd30ca0303adf9ecad3

10 years agoClearKey Implementation of DRM Plugin APIs
John "Juce" Bruce [Wed, 14 May 2014 05:22:44 +0000 (22:22 -0700)]
ClearKey Implementation of DRM Plugin APIs

Adds shared-object entry points and interface implementations that
implement the Android ClearKey DRM Plugin API.

Change-Id: Ie889747492cf85efe883149833105538faaa4cfe

10 years agoJsonWebKey support.
Edwin Wong [Fri, 16 May 2014 00:24:57 +0000 (17:24 -0700)]
JsonWebKey support.

Parses JSON Web Key Set in the response data; extracts and base64 decode
key id(s) and key(s).

bug: 12035506
Change-Id: Ib71bce942d6eca1e569dfad0a9adb6dee1cdf75e

10 years agoImplement ClearKey Init Data Parser
John "Juce" Bruce [Wed, 11 Jun 2014 04:12:56 +0000 (21:12 -0700)]
Implement ClearKey Init Data Parser

Implements an object that can convert ISO-CENC or WebM initialization
data into a ClearKey license request.

Change-Id: Ib95012afcf40fc9e3f45510a468c305fb7bc216e

10 years agoImplement OpenSSL-Based Decryptor
John "Juce" Bruce [Wed, 11 Jun 2014 04:12:37 +0000 (21:12 -0700)]
Implement OpenSSL-Based Decryptor

Implements an object that does AES-CTR-128 by invoking OpenSSL.

Change-Id: I8457899ec8b69bd8f0d727029985c9580911cf99

10 years agoAdd ClearKey Utilities
John "Juce" Bruce [Thu, 15 May 2014 23:37:05 +0000 (16:37 -0700)]
Add ClearKey Utilities

Adds some utility functionality that is shared by multiple parts of
the ClearKey code.

Change-Id: I33a896eb68b2937918f145c9bd27174a119294b9

10 years agoMerge "Support for audio attributes on audio output of media player"
Jean-Michel Trivi [Tue, 1 Jul 2014 16:45:08 +0000 (16:45 +0000)]
Merge "Support for audio attributes on audio output of media player"

10 years agoSupport for audio attributes on audio output of media player
Jean-Michel Trivi [Tue, 24 Jun 2014 15:01:46 +0000 (08:01 -0700)]
Support for audio attributes on audio output of media player

Change-Id: Iae4995c98e64add1ab9e6c8ae6501515032755f5

10 years agoAdd new AudioMixer processing hooks
Andy Hung [Tue, 17 Jun 2014 22:25:47 +0000 (15:25 -0700)]
Add new AudioMixer processing hooks

This change adds new process and thread hooks for
multi-format handling.
It is enabled by setting kUseNewMixer = true.

Change-Id: I262a3d2e4411f8cef7370a497b77a34eb55f1f86

10 years agoCamera API1/2: don't register the same listener multiple times
Gaurav Batra [Thu, 19 Jun 2014 23:47:07 +0000 (16:47 -0700)]
Camera API1/2: don't register the same listener multiple times

FrameProcessorBase allows register the same metadata result listener multiple
times with the same range IDs, which causes the same metadata result is
delivered multiple times for the same listener. This is problematic as client
like ZslProcessor's updateStream is called multiple times between captures, and
each updateStream calls registerListener unconditionally. The the ZSL metadata
result queue will be flooded with same metadata result multiple times and the
number of same result will keep growing until the queue is full.

Change-Id: I2ff7808e5dce61068a7111e7fbbce2aba95198cd

10 years agoRestore the LOOPING flag in onAudioTearDownEvent
Sungsoo Lim [Mon, 23 Jun 2014 02:38:04 +0000 (11:38 +0900)]
Restore the LOOPING flag in onAudioTearDownEvent

Bug: 15728572
Change-Id: Ib8d118a148a7bb74531c8c025dae479c0a86efcb

10 years agoMerge "Add enabling variable for extended precision audio"
Andy Hung [Mon, 30 Jun 2014 18:17:03 +0000 (18:17 +0000)]
Merge "Add enabling variable for extended precision audio"

10 years agoMerge "Camera1: Don't send partial results to ZSL clients"
Zhijun He [Sat, 28 Jun 2014 00:55:16 +0000 (00:55 +0000)]
Merge "Camera1: Don't send partial results to ZSL clients"

10 years agoCamera1: Don't send partial results to ZSL clients
Zhijun He [Wed, 25 Jun 2014 18:40:02 +0000 (11:40 -0700)]
Camera1: Don't send partial results to ZSL clients

ZSL clients expect each received result as a complete result, and send back to
HAL as a reprocess capture request. CaptureSequencer client assumes results to
be non-partial too, it need look into some metadata that may not be present in
partial results.

Change-Id: Id716913fd6e1c914726abd6610fddf91141783c2

10 years agoMerge "Add HEVC encoder support to ACodec"
Rachad [Sat, 28 Jun 2014 00:34:55 +0000 (00:34 +0000)]
Merge "Add HEVC encoder support to ACodec"

10 years agoMerge "Fix AAC timestamps"
Marco Nelissen [Fri, 27 Jun 2014 16:54:39 +0000 (16:54 +0000)]
Merge "Fix AAC timestamps"

10 years agoHLS: do not discard packets when queuing explicit discontinuity
Chong Zhang [Thu, 26 Jun 2014 20:03:47 +0000 (13:03 -0700)]
HLS: do not discard packets when queuing explicit discontinuity

in case of explicit discontinuity (#EXT-X-DISCONTINUITY tag in the
playlist), do not discard packets that's already queued.

(when seeking, the old fetcher will be discarded so this won't affect
seeking case.)

Bug: 15020526
Change-Id: I5d3fc489df35e3bc44acb1ee7851571cb99cb56b

10 years agoFix AAC timestamps
Marco Nelissen [Thu, 26 Jun 2014 14:49:02 +0000 (07:49 -0700)]
Fix AAC timestamps

When playing an mpeg-2 transport stream with AAC audio, there will be
more than one packet per input buffer, resulting in multiple output
buffers for each input buffers. Additional timestamps needs to be
generated in that case.

b/15755476

Change-Id: I2df50b0cb3690eb36d56871daa1263de0028db06

10 years agoMerge "Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio...
Paul McLean [Fri, 27 Jun 2014 16:05:57 +0000 (16:05 +0000)]
Merge "Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output"

10 years agoEnabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output
Paul McLean [Thu, 26 Jun 2014 20:16:44 +0000 (13:16 -0700)]
Enabling USB Device and Android Device Vol inc/dec functionality for USB Audio Output

Bug: 13747844
Change-Id: Ied5bb44f63a4e7183c52f8111e9a389b60ffe75f

10 years agoMerge "HLS: only queue discontinuity for first block"
Chong Zhang [Thu, 26 Jun 2014 18:50:41 +0000 (18:50 +0000)]
Merge "HLS: only queue discontinuity for first block"

10 years agondk: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:50 +0000 (16:32 -0700)]
ndk: 64-bit compile warnings

Change-Id: I214973a97547bf714e56e4596359cb2bd9cdea9c

10 years agolibstagefright: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:34:45 +0000 (16:34 -0700)]
libstagefright: 64-bit compile warnings

Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b

10 years agoHLS: only queue discontinuity for first block
Chong Zhang [Thu, 26 Jun 2014 01:06:53 +0000 (18:06 -0700)]
HLS: only queue discontinuity for first block

Bug: 15020526
Change-Id: I15f9ab0f38dc510e584c668eea73ece61844d413

10 years agoAdd HEVC encoder support to ACodec
Rachad [Tue, 20 May 2014 01:01:41 +0000 (18:01 -0700)]
Add HEVC encoder support to ACodec

Bug: 14571712
Change-Id: Idaec2394d569541f3963befe722f46f6b0007937

10 years agoAdd enabling variable for extended precision audio
Andy Hung [Tue, 18 Mar 2014 18:56:15 +0000 (11:56 -0700)]
Add enabling variable for extended precision audio

Set AudioFlinger::kEnableExtendedPrecision = true to enable
extended precision. Enabling will be required for devices (such as
USB) which report 24 bit or 32 bit sink formats.

Change-Id: I0dc1d7a4f7607086d7b536ea0e43aef0e696f2ee

10 years agoMerge "cameraservice: Deprecate triggerId tags"
Yin-Chia Yeh [Wed, 25 Jun 2014 18:04:02 +0000 (18:04 +0000)]
Merge "cameraservice: Deprecate triggerId tags"

10 years agomtp: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:27 +0000 (16:32 -0700)]
mtp: 64-bit compile warnings

Change-Id: I9ebc270c990d2f83311cec8fef8f1d2842ebf291

10 years agoMerge "audio policy: fix several issues on routing APIs."
Eric Laurent [Wed, 25 Jun 2014 15:57:06 +0000 (15:57 +0000)]
Merge "audio policy: fix several issues on routing APIs."

10 years agoMerge "GLConsumer: Stop using default constructor params"
Dan Stoza [Wed, 25 Jun 2014 17:03:52 +0000 (17:03 +0000)]
Merge "GLConsumer: Stop using default constructor params"

10 years agoaudio policy: fix several issues on routing APIs.
Eric Laurent [Mon, 23 Jun 2014 15:46:27 +0000 (08:46 -0700)]
audio policy: fix several issues on routing APIs.

- Do not list duplicated outputs in listAudioPorts(): duplicated
outputs are not valid sources for audio patches.
Also add asserts to make sure that an audio port with no valid profile
is never used by audio routing APIs.
- Fix typos causing the wrong device type to be used
when creating an audio patch.
- Fix error in building config mask in toAudioPortConfig().

Change-Id: I4505891dbed2c2fa92804d45505c3c2deb921f3e

10 years agocameraservice: Deprecate triggerId tags
Yin-Chia Yeh [Mon, 23 Jun 2014 21:07:56 +0000 (14:07 -0700)]
cameraservice: Deprecate triggerId tags

The following two tags are deprecated from HAL 3.2:
ANDROID_CONTROL_AF_TRIGGER_ID
ANDROID_CONTROL_AE_PRECAPTURE_ID

Trigger IDs are now internal to camera service.

Change-Id: Iaebd62ecb0905a811fa37fe7850e0221c38a0006

10 years agoGLConsumer: Stop using default constructor params
Dan Stoza [Tue, 24 Jun 2014 20:04:08 +0000 (13:04 -0700)]
GLConsumer: Stop using default constructor params

Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.

Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680

10 years agoam 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video...
Lajos Molnar [Tue, 24 Jun 2014 19:35:30 +0000 (19:35 +0000)]
am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '87c47b0d1c2df3e8630eb1b78fe303cfb24b3ad5':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:35:26 +0000 (19:35 +0000)]
am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '940c688d76828ffd83929c661e75b5197903d30f':
  libmediaplayerservice: unused argument warning messages

10 years agoam bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile...
Lajos Molnar [Tue, 24 Jun 2014 18:00:29 +0000 (18:00 +0000)]
am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit 'bc0c2c2d2a4cc058ab404f940f0ca65f595e047b':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoMerge "Use sp<> instead of raw pointer for FastMixer"
Glenn Kasten [Tue, 24 Jun 2014 22:06:56 +0000 (22:06 +0000)]
Merge "Use sp<> instead of raw pointer for FastMixer"

10 years agoUse sp<> instead of raw pointer for FastMixer
Glenn Kasten [Tue, 13 May 2014 17:39:51 +0000 (10:39 -0700)]
Use sp<> instead of raw pointer for FastMixer

This avoids worry about the thread lifetime during tear-down.

Bug: 15858655
Change-Id: I896d24317bd6f53a574645cdf4cd514eaa205dd5

10 years agoam 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT...
Lajos Molnar [Tue, 24 Jun 2014 19:42:44 +0000 (19:42 +0000)]
am 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '32f212ead657617df00c948448680b7ff7d11146':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:42:42 +0000 (19:42 +0000)]
am 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '76e4e02d6b6c1da140b8cbe48fc58035d2b7d311':
  libmediaplayerservice: unused argument warning messages

10 years agoMerge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"
Lajos Molnar [Tue, 24 Jun 2014 17:56:00 +0000 (17:56 +0000)]
Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

10 years agoDO NOT MERGE: Fix for SW video decoder OMX profile/level query
Xiaosong Wei [Tue, 17 Dec 2013 15:05:29 +0000 (23:05 +0800)]
DO NOT MERGE: Fix for SW video decoder OMX profile/level query

get the correct profile index from the input param and pass it to
profileLevel array to get the corresponding profile/level

Change-Id: I582961c0afb53c1781af7fb94226a23e5fdb96cf
Signed-off-by: Xiaosong Wei <xiaosong.wei@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
10 years agoMerge "Improve MTP error checking"
Marco Nelissen [Tue, 24 Jun 2014 18:16:13 +0000 (18:16 +0000)]
Merge "Improve MTP error checking"

10 years agoImprove MTP error checking
Marco Nelissen [Tue, 24 Jun 2014 17:49:08 +0000 (10:49 -0700)]
Improve MTP error checking

Change-Id: I1ab02ca0e99a1c284411fb368a773fb481d72ab2

10 years agoMerge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 17:12:19 +0000 (17:12 +0000)]
Merge "libmediaplayerservice: unused argument warning messages"

10 years agolibmediaplayerservice: unused argument warning messages
Mark Salyzyn [Mon, 23 Jun 2014 21:14:40 +0000 (14:14 -0700)]
libmediaplayerservice: unused argument warning messages

Change-Id: I7dbf62858114ac9b8de6d7b66cc00e002769a5cf

10 years agoam 620f348f: am da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:54:07 +0000 (19:54 +0000)]
am 620f348f: am da69fdbb: Merge "Fix buffer allocation"

* commit '620f348faf3ce0c39e71338a005f1528765f4d1e':
  Fix buffer allocation

10 years agoam da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:48:55 +0000 (19:48 +0000)]
am da69fdbb: Merge "Fix buffer allocation"

* commit 'da69fdbbeb79885a3c063a2017bd6d2848fcc312':
  Fix buffer allocation

10 years agoMerge "Camera: Clear ZSL buffer queue when jpeg size is changed"
Zhijun He [Mon, 23 Jun 2014 22:04:11 +0000 (22:04 +0000)]
Merge "Camera: Clear ZSL buffer queue when jpeg size is changed"

10 years agoCamera: Clear ZSL buffer queue when jpeg size is changed
Zhijun He [Mon, 23 Jun 2014 17:22:37 +0000 (10:22 -0700)]
Camera: Clear ZSL buffer queue when jpeg size is changed

Bug: 15284653
Change-Id: I4778e8443945d918801102ba600874568bde12dc

10 years agoMerge "Parse trex and mehd boxes"
Marco Nelissen [Mon, 23 Jun 2014 18:11:53 +0000 (18:11 +0000)]
Merge "Parse trex and mehd boxes"

10 years agoParse trex and mehd boxes
Marco Nelissen [Tue, 17 Jun 2014 21:48:32 +0000 (14:48 -0700)]
Parse trex and mehd boxes

Also get duration from mvhd if available, use that in addition to track
durations to determine total length of file, clear track header
struct so we don't read uninitialized garbage from it, and take
composition time offset into account for proper ordering when B frames
are used.

b/15669839

Change-Id: Ibf3e35b5c7299bac11d0e78a391545fc325dd2d0

10 years agoMerge "Add test-mixer AudioMixer test program"
Andy Hung [Mon, 23 Jun 2014 16:44:53 +0000 (16:44 +0000)]
Merge "Add test-mixer AudioMixer test program"

10 years agoAdd test-mixer AudioMixer test program
Andy Hung [Tue, 17 Jun 2014 22:10:51 +0000 (15:10 -0700)]
Add test-mixer AudioMixer test program

The shell script mixer_to_wav_tests.sh shows how to use
test-mixer.

Change-Id: Ia7f1a368972c9c33fadc96df4cb1fc8b22446c8c