OSDN Git Service

android-x86/system-media.git
8 years agoam 95987868: Adding test for "Digital" devices to use in filter AudioDeviceInfo attri...
Paul McLean [Fri, 19 Jun 2015 16:31:14 +0000 (16:31 +0000)]
am 95987868: Adding test for "Digital" devices to use in filter AudioDeviceInfo attributes.

* commit '9598786860a469193a65c23bf424093d9ae5867c':
  Adding test for "Digital" devices to use in filter AudioDeviceInfo attributes.

8 years agoAdding test for "Digital" devices to use in filter AudioDeviceInfo attributes.
Paul McLean [Thu, 18 Jun 2015 21:52:37 +0000 (14:52 -0700)]
Adding test for "Digital" devices to use in filter AudioDeviceInfo attributes.

Bug: 21903975
Change-Id: I767629f8a061815379352a077c5197b1dfece647

8 years agoam 7d09eff7: Camera: Adjust intrinsic transform coordinate system.
Eino-Ville Talvala [Tue, 16 Jun 2015 21:25:49 +0000 (21:25 +0000)]
am 7d09eff7: Camera: Adjust intrinsic transform coordinate system.

* commit '7d09eff7afc95efd7fd925cd70891dbb50089524':
  Camera: Adjust intrinsic transform coordinate system.

8 years agoCamera: Adjust intrinsic transform coordinate system.
Eino-Ville Talvala [Tue, 16 Jun 2015 18:36:01 +0000 (11:36 -0700)]
Camera: Adjust intrinsic transform coordinate system.

Needs to be in the pre-correction active array coordinates
for consistency.

Bug: 20491394
Change-Id: Ifa95158693a80246a5614974bdeeb97bd42ade87

8 years agoam 5e460fa8: Merge "Add metadata for pre-distortion dimensions." into mnc-dev
Ruben Brunk [Tue, 16 Jun 2015 01:39:18 +0000 (01:39 +0000)]
am 5e460fa8: Merge "Add metadata for pre-distortion dimensions." into mnc-dev

* commit '5e460fa8c9d9cc8ae3ffab4967e81f60698c3355':
  Add metadata for pre-distortion dimensions.

8 years agoMerge "Add metadata for pre-distortion dimensions." into mnc-dev
Ruben Brunk [Tue, 16 Jun 2015 01:12:56 +0000 (01:12 +0000)]
Merge "Add metadata for pre-distortion dimensions." into mnc-dev

8 years agoAdd metadata for pre-distortion dimensions.
Ruben Brunk [Fri, 12 Jun 2015 01:23:41 +0000 (18:23 -0700)]
Add metadata for pre-distortion dimensions.

Bug: 20491394
Change-Id: Ib72d290f7191ecf337bf1dc9bdd70ce72d6d6a31

8 years agoam b248b4e1: Merge "Add addional scale component for radialDistortion." into mnc-dev
Ruben Brunk [Mon, 15 Jun 2015 22:53:06 +0000 (22:53 +0000)]
am b248b4e1: Merge "Add addional scale component for radialDistortion." into mnc-dev

* commit 'b248b4e1beb344e51050d7950d603153653fb749':
  Add addional scale component for radialDistortion.

8 years agoMerge "Add addional scale component for radialDistortion." into mnc-dev
Ruben Brunk [Mon, 15 Jun 2015 22:34:18 +0000 (22:34 +0000)]
Merge "Add addional scale component for radialDistortion." into mnc-dev

8 years agoAdd addional scale component for radialDistortion.
Ruben Brunk [Fri, 12 Jun 2015 17:19:40 +0000 (10:19 -0700)]
Add addional scale component for radialDistortion.

Bug: 20491394
Change-Id: I4646da03a0d7f4483de71cc3e6c5a15f04b5ee58

8 years agoam ae4f9c09: Document RAW16 size restriction.
Ruben Brunk [Mon, 15 Jun 2015 22:16:10 +0000 (22:16 +0000)]
am ae4f9c09: Document RAW16 size restriction.

* commit 'ae4f9c0943ec6e9803d5781e2e48244658409b15':
  Document RAW16 size restriction.

8 years agoDocument RAW16 size restriction.
Ruben Brunk [Fri, 12 Jun 2015 23:43:51 +0000 (16:43 -0700)]
Document RAW16 size restriction.

Bug: 14956291
Change-Id: I7b21ddeed8d42510758abd5960f5fb17416d5ebf

8 years agoam ced12595: Merge "Update USB alsa to only use channel index masks for multichannel...
Andy Hung [Fri, 12 Jun 2015 22:49:21 +0000 (22:49 +0000)]
am ced12595: Merge "Update USB alsa to only use channel index masks for multichannel" into mnc-dev

* commit 'ced125957686293054a572ca0319a2a90888f98e':
  Update USB alsa to only use channel index masks for multichannel

8 years agoMerge "Update USB alsa to only use channel index masks for multichannel" into mnc-dev
Andy Hung [Fri, 12 Jun 2015 22:24:23 +0000 (22:24 +0000)]
Merge "Update USB alsa to only use channel index masks for multichannel" into mnc-dev

8 years agoUpdate USB alsa to only use channel index masks for multichannel
Andy Hung [Fri, 12 Jun 2015 18:26:54 +0000 (11:26 -0700)]
Update USB alsa to only use channel index masks for multichannel

Bug: 16245854

Change-Id: I76b15c0ee3785fb6cd0af8b016ad1b41895801d3

8 years agoam 67b04724: Merge "audio_channel_in_mask_from_count now handles up to 8 channels...
Glenn Kasten [Tue, 9 Jun 2015 16:43:51 +0000 (16:43 +0000)]
am 67b04724: Merge "audio_channel_in_mask_from_count now handles up to 8 channels" into mnc-dev

* commit '67b0472474e5232b4f31f6a70f916d9721a724de':
  audio_channel_in_mask_from_count now handles up to 8 channels

8 years agoMerge "audio_channel_in_mask_from_count now handles up to 8 channels" into mnc-dev
Glenn Kasten [Tue, 9 Jun 2015 15:39:43 +0000 (15:39 +0000)]
Merge "audio_channel_in_mask_from_count now handles up to 8 channels" into mnc-dev

8 years agoam b0f6afba: Merge "Move audio_channel_mask_for_index_assignment_from_count" into...
Glenn Kasten [Tue, 9 Jun 2015 13:01:23 +0000 (13:01 +0000)]
am b0f6afba: Merge "Move audio_channel_mask_for_index_assignment_from_count" into mnc-dev

* commit 'b0f6afbaf89b20530bc733def877fd4b862f54d5':
  Move audio_channel_mask_for_index_assignment_from_count

8 years agoam 2c29cee2: Add FCC_8 comments to indicate 8-channel assumptions
Glenn Kasten [Tue, 9 Jun 2015 13:01:22 +0000 (13:01 +0000)]
am 2c29cee2: Add FCC_8 comments to indicate 8-channel assumptions

* commit '2c29cee2e519db2decc91747b01f54597a856d1b':
  Add FCC_8 comments to indicate 8-channel assumptions

9 years agoMerge "Move audio_channel_mask_for_index_assignment_from_count" into mnc-dev
Glenn Kasten [Tue, 9 Jun 2015 01:14:53 +0000 (01:14 +0000)]
Merge "Move audio_channel_mask_for_index_assignment_from_count" into mnc-dev

9 years agoaudio_channel_in_mask_from_count now handles up to 8 channels
Glenn Kasten [Mon, 8 Jun 2015 23:12:42 +0000 (16:12 -0700)]
audio_channel_in_mask_from_count now handles up to 8 channels

Bug: 21375533
Change-Id: I4b2fabd326e7cfd3d04ed83cf95e29bd91c99530

9 years agoMove audio_channel_mask_for_index_assignment_from_count
Glenn Kasten [Mon, 8 Jun 2015 23:37:40 +0000 (16:37 -0700)]
Move audio_channel_mask_for_index_assignment_from_count

Change-Id: I737b9cf9fdaa56eb8be33ea128c73a00ca2c8907

9 years agoAdd FCC_8 comments to indicate 8-channel assumptions
Glenn Kasten [Mon, 8 Jun 2015 23:12:07 +0000 (16:12 -0700)]
Add FCC_8 comments to indicate 8-channel assumptions

Bug: 21656069
Change-Id: I411a5c83eec126bc6cda796bd4c9f842ed6ee762

9 years agoam 7baada27: Merge "Fix Mac build" into mnc-dev
Jim Miller [Sat, 6 Jun 2015 01:07:18 +0000 (01:07 +0000)]
am 7baada27: Merge "Fix Mac build" into mnc-dev

* commit '7baada2795d6d050d9d86f92ab2ebcfa870b043e':
  Fix Mac build

9 years agoMerge "Fix Mac build" into mnc-dev
Jim Miller [Sat, 6 Jun 2015 00:42:07 +0000 (00:42 +0000)]
Merge "Fix Mac build" into mnc-dev

9 years agoFix Mac build
Jim Miller [Sat, 6 Jun 2015 00:34:31 +0000 (17:34 -0700)]
Fix Mac build

ssize_t wasn't being picked because system headers weren't included
first.

Change-Id: I7748fedaa0c85ed9696e8ef77b0086ecf17ebe29

9 years agoam f8a69b64: Merge "Revert "Use <endian.h>"" into mnc-dev
Glenn Kasten [Sat, 6 Jun 2015 00:06:08 +0000 (00:06 +0000)]
am f8a69b64: Merge "Revert "Use <endian.h>"" into mnc-dev

* commit 'f8a69b648b965dae54ee874ccb921a60ab422c9c':
  Revert "Use <endian.h>"

9 years agoMerge "Revert "Use <endian.h>"" into mnc-dev
Glenn Kasten [Fri, 5 Jun 2015 23:43:09 +0000 (23:43 +0000)]
Merge "Revert "Use <endian.h>"" into mnc-dev

9 years agoRevert "Use <endian.h>"
Glenn Kasten [Fri, 5 Jun 2015 23:40:51 +0000 (23:40 +0000)]
Revert "Use <endian.h>"

This reverts commit 2c69c5a37a233ff064ea1571beb39902d14771d6.

Change-Id: I89d8a43339a43e2f1b840a0488cc06239d6c900a

9 years agoam bffd8ed4: Merge "Use <endian.h>" into mnc-dev
Glenn Kasten [Fri, 5 Jun 2015 00:36:08 +0000 (00:36 +0000)]
am bffd8ed4: Merge "Use <endian.h>" into mnc-dev

* commit 'bffd8ed4e7d40f7652577c6d7ec05c80ccf23364':
  Use <endian.h>

9 years agoMerge "Use <endian.h>" into mnc-dev
Glenn Kasten [Fri, 5 Jun 2015 00:11:25 +0000 (00:11 +0000)]
Merge "Use <endian.h>" into mnc-dev

9 years agoUse <endian.h>
Glenn Kasten [Thu, 4 Jun 2015 23:00:40 +0000 (16:00 -0700)]
Use <endian.h>

Change-Id: I1eb73afb0580064e5abc592f8235cc882e5dd6be

9 years agoam c686952a: Merge "Camera: Change origin of poseTranslation." into mnc-dev
Eino-Ville Talvala [Thu, 4 Jun 2015 21:15:40 +0000 (21:15 +0000)]
am c686952a: Merge "Camera: Change origin of poseTranslation." into mnc-dev

* commit 'c686952a5fcffb00cb0993e1b6ea919ed7739b32':
  Camera: Change origin of poseTranslation.

9 years agoMerge "Camera: Change origin of poseTranslation." into mnc-dev
Eino-Ville Talvala [Thu, 4 Jun 2015 20:51:52 +0000 (20:51 +0000)]
Merge "Camera: Change origin of poseTranslation." into mnc-dev

9 years agoCamera: Change origin of poseTranslation.
Eino-Ville Talvala [Sat, 30 May 2015 00:15:37 +0000 (17:15 -0700)]
Camera: Change origin of poseTranslation.

No actual defined center for the Android sensor coordinate system
exists, so define the translation relative to the largest camera
device facing the same way.

Bug: 20123879
Change-Id: I43fc83caca68ae4b13340fc2ac8ab45c75a2832a

9 years agoam 289eb080: Merge "audio_route: add support for MIXER_CTL_TYPE_BYTE"
Glenn Kasten [Thu, 4 Jun 2015 19:00:33 +0000 (19:00 +0000)]
am 289eb080: Merge "audio_route: add support for MIXER_CTL_TYPE_BYTE"

* commit '289eb080cd6e5b4a6f19cfe364e86985bce30172':
  audio_route: add support for MIXER_CTL_TYPE_BYTE

9 years agoMerge "audio_route: add support for MIXER_CTL_TYPE_BYTE"
Glenn Kasten [Thu, 4 Jun 2015 18:32:39 +0000 (18:32 +0000)]
Merge "audio_route: add support for MIXER_CTL_TYPE_BYTE"

9 years agocamera_metadata: update high speed video recording API
Zhijun He [Sat, 23 May 2015 00:04:15 +0000 (17:04 -0700)]
camera_metadata: update high speed video recording API

* Update high speed video recording API to support batch mode recording.
* Update the cropRegion doc for sensor cropped output case.
* Add Enum type deprecation codegen support

Bug: 21442271
Bug: 21025492
Change-Id: I62de6067c75fcfbe6320dd987cce65843d810021

9 years agoMerge "system/audio.h: Make function inline" into mnc-dev
Eric Laurent [Mon, 1 Jun 2015 21:41:26 +0000 (21:41 +0000)]
Merge "system/audio.h: Make function inline" into mnc-dev

9 years agosystem/audio.h: Make function inline
Arman Uguray [Fri, 29 May 2015 23:09:45 +0000 (16:09 -0700)]
system/audio.h: Make function inline

This patch makes the audio_device_address_to_parameter inline. All of the other
helpers defined in this header are inline functions except for this one and this
causes compile failures when -Werror=unused-function is used.

BUG=21339022

Change-Id: I7db58bf7bed3b89b6752ec2cd2c1f358ba2a4d89

9 years agoMerge "Camera: Add tangential distortion coefficients" into mnc-dev
Eino-Ville Talvala [Mon, 1 Jun 2015 21:26:01 +0000 (21:26 +0000)]
Merge "Camera: Add tangential distortion coefficients" into mnc-dev

9 years agoMerge "Camera2: Update for reprocess timestamp" into mnc-dev
Chien-Yu Chen [Mon, 1 Jun 2015 17:50:54 +0000 (17:50 +0000)]
Merge "Camera2: Update for reprocess timestamp" into mnc-dev

9 years agoAdd memcpy_to_p24_from_i32
Glenn Kasten [Fri, 29 May 2015 23:50:24 +0000 (16:50 -0700)]
Add memcpy_to_p24_from_i32

Change-Id: I695601d9cf9ffddd349e33779c761e60faf8d072

9 years agoCamera2: Update for reprocess timestamp
Chien-Yu Chen [Fri, 29 May 2015 18:36:53 +0000 (11:36 -0700)]
Camera2: Update for reprocess timestamp

android.sensor.timestamp will match the input image's
start of exposure.

Bug: 21112186
Change-Id: I853f1fbde8812abc76c038f0f0d54c6ac143ceb6

9 years agoCamera: Add tangential distortion coefficients
Eino-Ville Talvala [Fri, 29 May 2015 23:03:31 +0000 (16:03 -0700)]
Camera: Add tangential distortion coefficients

Also improve the documentation for the radialDistortion tag in
general.

Bug: 20123879
Change-Id: I2266ed4f643e9324ac621257523fb45bcc349e3d

9 years agoAdd support for reading 24-bit packed PCM from .wav
Glenn Kasten [Thu, 28 May 2015 22:20:54 +0000 (15:20 -0700)]
Add support for reading 24-bit packed PCM from .wav

Change-Id: Iaa100fa8f2a18377928dbab1faff606e55a107b8

9 years agoAdd memcpy_to_i32_from_p24
Glenn Kasten [Thu, 28 May 2015 22:19:16 +0000 (15:19 -0700)]
Add memcpy_to_i32_from_p24

Change-Id: Ib9b93d03c83e72ab76a8a860291d94778de8489e

9 years agoMerge "Camera2: update available LSC mpa mode key" into mnc-dev
Yin-Chia Yeh [Fri, 22 May 2015 23:40:31 +0000 (23:40 +0000)]
Merge "Camera2: update available LSC mpa mode key" into mnc-dev

9 years agoCamera2: update available LSC mpa mode key
Yin-Chia Yeh [Fri, 22 May 2015 23:36:25 +0000 (16:36 -0700)]
Camera2: update available LSC mpa mode key

Bug: 21403373
Change-Id: I41f5c94df68d5a190f1b244f9f041a89e8aff6de

9 years agoMerge "Camera2: add required FpsRange." into mnc-dev
Yin-Chia Yeh [Fri, 22 May 2015 20:57:06 +0000 (20:57 +0000)]
Merge "Camera2: add required FpsRange." into mnc-dev

9 years agoCamera2: add required FpsRange.
Yin-Chia Yeh [Thu, 21 May 2015 18:23:48 +0000 (11:23 -0700)]
Camera2: add required FpsRange.

Bug: 13639914
Change-Id: Ib4d4d9dc711d896b0411a5ed8dbd59c40cd01e74

9 years agoMerge "Define new audio attribute flags" into mnc-dev
Jean-Michel Trivi [Tue, 19 May 2015 17:26:53 +0000 (17:26 +0000)]
Merge "Define new audio attribute flags" into mnc-dev

9 years agoMerge "Fixing mapping of SNDRV_PCM_FORMAT_S24_LE -> PCM_FORMAT_S24_3LE" into mnc-dev
Paul McLean [Tue, 19 May 2015 16:22:15 +0000 (16:22 +0000)]
Merge "Fixing mapping of SNDRV_PCM_FORMAT_S24_LE -> PCM_FORMAT_S24_3LE" into mnc-dev

9 years agoFixing mapping of SNDRV_PCM_FORMAT_S24_LE -> PCM_FORMAT_S24_3LE
Paul McLean [Tue, 19 May 2015 15:06:39 +0000 (08:06 -0700)]
Fixing mapping of SNDRV_PCM_FORMAT_S24_LE -> PCM_FORMAT_S24_3LE

bug: 18296855
Change-Id: I664cd8455b8d9ec2ad6d9661b03ad1a7896fd64e

9 years agoDefine new audio attribute flags
Jean-Michel Trivi [Mon, 18 May 2015 22:41:12 +0000 (15:41 -0700)]
Define new audio attribute flags

Add AUDIO_FLAG_BYPASS_INTERRUPTION_POLICY and
  AUDIO_FLAG_BYPASS_MUTE.

Bug 19407114

Change-Id: I79e4afc6050256fa6e73cf1df027c27e80b8cd95

9 years agoMerge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev
Zhijun He [Fri, 15 May 2015 16:03:11 +0000 (16:03 +0000)]
Merge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev

9 years agoMerge "Camera: fix CaptureResultTest codegen" into mnc-dev
Yin-Chia Yeh [Thu, 14 May 2015 22:12:29 +0000 (22:12 +0000)]
Merge "Camera: fix CaptureResultTest codegen" into mnc-dev

9 years agoMerge "Camera2: update reprocessing naming" into mnc-dev
Chien-Yu Chen [Thu, 14 May 2015 20:46:35 +0000 (20:46 +0000)]
Merge "Camera2: update reprocessing naming" into mnc-dev

9 years agoCamera2: get ride of sceneModeOverrides in API doc
Zhijun He [Thu, 14 May 2015 20:07:06 +0000 (13:07 -0700)]
Camera2: get ride of sceneModeOverrides in API doc

sceneModeOverrides isn't public API.

Bug: 20152738
Change-Id: I4024b152c47c1d0184971539c99a2f1cc1b1c1a0

9 years agoCamera2: update reprocessing naming
Chien-Yu Chen [Tue, 12 May 2015 22:13:00 +0000 (15:13 -0700)]
Camera2: update reprocessing naming

Rename OPAQUE reprocessing to PRIVATE reprocessing to match
public image format.

Bug: 21044522
Change-Id: I164e2ec7730bda7c85ce61515e7412b237fa5d6d

9 years agoaudio: Fix false positives in audio_is_remote_submix_device()
Misael Lopez Cruz [Wed, 29 Apr 2015 17:02:08 +0000 (12:02 -0500)]
audio: Fix false positives in audio_is_remote_submix_device()

The audio_is_remote_submix_device() helper function incorrectly
reported AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES and
AUDIO_DEVICE_IN_LINE as a submix devices.

The cases where the confusion occurs are for devices whose bitwise
value only differs in the direction bit.

Change-Id: I3bb9fd1158a26a8f4b3b59246974e703ca5ba0f0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
9 years agoMerge "Allow up to 192kHz sampling rate for usb" into mnc-dev
Andy Hung [Tue, 12 May 2015 20:20:47 +0000 (20:20 +0000)]
Merge "Allow up to 192kHz sampling rate for usb" into mnc-dev

9 years agoMerge "Add channel index mask for usb output" into mnc-dev
Andy Hung [Tue, 12 May 2015 20:20:40 +0000 (20:20 +0000)]
Merge "Add channel index mask for usb output" into mnc-dev

9 years agoMerge "Alsa profile changes for multichannel input" into mnc-dev
Andy Hung [Tue, 12 May 2015 20:09:59 +0000 (20:09 +0000)]
Merge "Alsa profile changes for multichannel input" into mnc-dev

9 years agoaudio_route: add support for MIXER_CTL_TYPE_BYTE
Jon Eklund [Wed, 15 Apr 2015 20:21:53 +0000 (15:21 -0500)]
audio_route: add support for MIXER_CTL_TYPE_BYTE

Byte array controls may be specified in mixer_paths.xml
using 8-bit hex values.

<ctl name="Sample Byte Control" id="0" value="0xFE" />
<ctl name="Sample Byte Control" id="1" value="0xED" />

Change-Id: I1939abc512cad4ab05b483700f14248fb218bd62

9 years agoaudio: Add new output flag to indicate TTS stream
Ravi Kumar Alamanda [Fri, 24 Apr 2015 22:45:58 +0000 (15:45 -0700)]
audio: Add new output flag to indicate TTS stream

Change-Id: I1d7a0094716acdd145f12365b82361bd46e751ae

9 years agoAllow up to 192kHz sampling rate for usb
Andy Hung [Wed, 6 May 2015 16:58:05 +0000 (09:58 -0700)]
Allow up to 192kHz sampling rate for usb

Change-Id: I0f835f2589fbbe640fab3a7622467d2218b5b877

9 years agoDTS parser: fix sample rate parsing
Phil Burk [Wed, 6 May 2015 19:59:00 +0000 (12:59 -0700)]
DTS parser: fix sample rate parsing

Was using the wrong field to index the sample rate.

Bug: 20885685
Change-Id: I2a00f5027b108aecbf3893a754e83c858127a1a6
Signed-off-by: Phil Burk <philburk@google.com>
9 years agoAdd channel index mask for usb output
Andy Hung [Wed, 6 May 2015 06:20:25 +0000 (23:20 -0700)]
Add channel index mask for usb output

Change-Id: Icae9e784debd8f515bd1a4dd025d0915438bdeb4

9 years agoAlsa profile changes for multichannel input
Andy Hung [Tue, 21 Apr 2015 20:31:16 +0000 (13:31 -0700)]
Alsa profile changes for multichannel input

Change-Id: I6f92a601524fc19b0acccd72d426f0c033e1ec26

9 years agoCamera: fix CaptureResultTest codegen
Yin-Chia Yeh [Wed, 6 May 2015 06:49:07 +0000 (23:49 -0700)]
Camera: fix CaptureResultTest codegen

Also fix tonemap key ordering to make codegen work properly.

Change-Id: I9e1688916c70af1ffef96407117566eac7236ce4

9 years agoParse Javadoc {@link ...} for cross-refs correctly.
Eino-Ville Talvala [Thu, 16 Apr 2015 20:49:52 +0000 (13:49 -0700)]
Parse Javadoc {@link ...} for cross-refs correctly.

Enable the use of standard Javadoc {@link object text} syntax to
create cross-references to other parts of Android documentation.

- For HTML, link to Android developer docs page
- For Javadoc, identity transform.

Also do a pass through the metadata to add @link where appropriate,
and remove a few outdated references.

Bug: 20085848
Change-Id: I89d77705f8a5f217d1005a7230827d830e96fce8

9 years agoMerge "Camera: document required template for capability" into mnc-dev
Yin-Chia Yeh [Tue, 28 Apr 2015 17:56:01 +0000 (17:56 +0000)]
Merge "Camera: document required template for capability" into mnc-dev

9 years agoCamera: document required template for capability
Yin-Chia Yeh [Fri, 24 Apr 2015 23:52:26 +0000 (16:52 -0700)]
Camera: document required template for capability

Bug: 20264663
Change-Id: I7ffb36d5a961117caf9bfbc6af86b42e9b94623d

9 years agocamera_metadata: add max capture stall for reprocess
Zhijun He [Sat, 25 Apr 2015 00:59:50 +0000 (17:59 -0700)]
camera_metadata: add max capture stall for reprocess

Bug: 19988710
Change-Id: I05bf3f72fdd54127d9aaa1583e9b0903be94c310

9 years agoAdd canonical channel index masks for endpoints
Andy Hung [Tue, 21 Apr 2015 20:28:10 +0000 (13:28 -0700)]
Add canonical channel index masks for endpoints

Change-Id: I93f219bbcc9823855ef36bd01cf09450f44df929

9 years agoAdd floating point mono to stereo upmix and downmix
Andy Hung [Tue, 21 Apr 2015 20:21:36 +0000 (13:21 -0700)]
Add floating point mono to stereo upmix and downmix

Change-Id: I89f501d6eb3a150a057eda5c0475bbb394bcd986

9 years agoAdd memcpy_by_index_array_initialization_from_channel_mask
Andy Hung [Tue, 21 Apr 2015 20:18:15 +0000 (13:18 -0700)]
Add memcpy_by_index_array_initialization_from_channel_mask

Used for channel index and position mask conversion.

Change-Id: I181302fc4f41de83d48cb634b6e24b42d28b07da

9 years agoAdd channel index mask audio data conversion
Andy Hung [Fri, 27 Feb 2015 22:20:33 +0000 (14:20 -0800)]
Add channel index mask audio data conversion

Adds memcpy_by_index_array_initialization_dst_index which fills an
index array used by memcpy_by_index_array.

Change-Id: Ice6c23646994acdd934fd817813ef1ee010ba03a

9 years agoCamera2: Add DEPTH_OUTPUT capability and depthIsExclusive entry
Eino-Ville Talvala [Tue, 14 Apr 2015 00:28:29 +0000 (17:28 -0700)]
Camera2: Add DEPTH_OUTPUT capability and depthIsExclusive entry

- Define the overall DEPTH_OUTPUT capability requirements
- Add android.depth.depthIsExclusive to support hardware that
  cannot capture depth and color data for the same frame

Change-Id: I3bd4b53fec813a671e03df879c31171ef6144e0e

9 years agoCamera: Add HIGH_RESOLUTION hardware level.
Eino-Ville Talvala [Tue, 14 Apr 2015 20:13:00 +0000 (13:13 -0700)]
Camera: Add HIGH_RESOLUTION hardware level.

For camera devices that support very high resolutions, add
a level that allows for those resolutions to operate at lower
capture rates, while ensuring that a reasonable resolution is
still available for high-rate capture.

Change-Id: I06be831ddbd59db58b76305c6125d2bff18aa1b8

9 years agoMerge "audio_utils: Add support for one more format conversion"
Glenn Kasten [Tue, 14 Apr 2015 00:26:47 +0000 (00:26 +0000)]
Merge "audio_utils: Add support for one more format conversion"

9 years agoaudio_utils: Add support for one more format conversion
Haynes Mathew George [Thu, 9 Apr 2015 20:50:13 +0000 (13:50 -0700)]
audio_utils: Add support for one more format conversion

Support conversion from packed 24 bit to padded 24 bit (8_24)

Change-Id: Ibc6535f6e2bf7d53900edcb45b0056c02597f727

9 years agoMerge "Camera: update AE/AWB lock spec"
Yin-Chia Yeh [Mon, 13 Apr 2015 20:01:32 +0000 (20:01 +0000)]
Merge "Camera: update AE/AWB lock spec"

9 years agoCamera: update AE/AWB lock spec
Yin-Chia Yeh [Thu, 2 Apr 2015 21:31:53 +0000 (14:31 -0700)]
Camera: update AE/AWB lock spec

To provide an upgrade path for all HAL1 devices

Bug: 20039760
Change-Id: I92786f1e4366185029aca63794e58374c92bc948

9 years agoMerge "Camera2: Add camera pose and distortion fields"
Eino-Ville Talvala [Fri, 10 Apr 2015 23:54:36 +0000 (23:54 +0000)]
Merge "Camera2: Add camera pose and distortion fields"

9 years agoMerge "camera2: update for reprocessing"
Chien-Yu Chen [Wed, 8 Apr 2015 20:42:39 +0000 (20:42 +0000)]
Merge "camera2: update for reprocessing"

9 years agoCamera2: Add camera pose and distortion fields
Eino-Ville Talvala [Mon, 9 Feb 2015 23:47:27 +0000 (15:47 -0800)]
Camera2: Add camera pose and distortion fields

- android.lens.info.poseRotation
- android.lens.info.poseTranslation
- android.lens.info.intrinsicCalibration
- android.lens.info.radialDistortion

Change-Id: Ia71e525b84bb9e252437a58dea5c8fadde5d7d68

9 years agoMerge "fix sloppy strncat() building of sup_* strings."
Paul McLean [Wed, 8 Apr 2015 16:20:30 +0000 (16:20 +0000)]
Merge "fix sloppy strncat() building of sup_* strings."

9 years agofix sloppy strncat() building of sup_* strings.
Paul McLean [Sat, 4 Apr 2015 20:28:27 +0000 (13:28 -0700)]
fix sloppy strncat() building of sup_* strings.

Bug:
19933520

Change-Id: I7ba705d12b950df373054b52c93811094636fb18

9 years agocamera2: update for reprocessing
Chien-Yu Chen [Thu, 19 Mar 2015 01:33:17 +0000 (18:33 -0700)]
camera2: update for reprocessing

Make INPUT_OUTPUT_FORMATS_MAP hidden as reprocessFormatsMap and
update docs regarding reprocessing.

bug: 19096544

Change-Id: I74cc16458d78d778e0214fd93a79747e90585058

9 years agoMerge "SPDIF: add DTS support to SPDIF wrapper"
Phil Burk [Mon, 6 Apr 2015 21:25:59 +0000 (21:25 +0000)]
Merge "SPDIF: add DTS support to SPDIF wrapper"

9 years agoSPDIF: add DTS support to SPDIF wrapper
Phil Burk [Thu, 2 Apr 2015 00:16:31 +0000 (17:16 -0700)]
SPDIF: add DTS support to SPDIF wrapper

Refactor AC3 out of FrameScanner.cpp.
Simplify scanning state machine and move up into FrameScanner.cpp.

Bug: 18292317
Change-Id: Iaefdce9c960abbea5dcdc2390a5da00181da0f8c
Signed-off-by: Phil Burk <philburk@google.com>
9 years agoMerge "Camera: update semantics of HIGH_QUALITY mode"
Yin-Chia Yeh [Mon, 6 Apr 2015 18:54:19 +0000 (18:54 +0000)]
Merge "Camera: update semantics of HIGH_QUALITY mode"

9 years agoCamera: update semantics of HIGH_QUALITY mode
Yin-Chia Yeh [Thu, 2 Apr 2015 21:00:40 +0000 (14:00 -0700)]
Camera: update semantics of HIGH_QUALITY mode

Also require HIGH_QUALITY to be available when FAST is.

Bug: 19665478
Change-Id: I9ef9ddefcf32b1ff981e0ffa4b440ddf64ba99c2

9 years agoMerge changes I20f53694,I75de8e57
Glenn Kasten [Mon, 6 Apr 2015 15:26:27 +0000 (15:26 +0000)]
Merge changes I20f53694,I75de8e57

* changes:
  Build a static library libfifo for use by command-line tests
  Disable libsndfile behavior to write to stderr

9 years agoMove audio includes to system/media/audio
Rom Lemarchand [Fri, 3 Apr 2015 22:12:20 +0000 (15:12 -0700)]
Move audio includes to system/media/audio

Change-Id: I26ed16aed7bea4f601367ff5610636cd6a91e3b3

9 years agoBuild a static library libfifo for use by command-line tests
Glenn Kasten [Wed, 1 Apr 2015 18:10:07 +0000 (11:10 -0700)]
Build a static library libfifo for use by command-line tests

Change-Id: I20f53694b846ce7d2bf82cca1323ec6014e174ed

9 years agoDisable libsndfile behavior to write to stderr
Glenn Kasten [Wed, 1 Apr 2015 18:09:55 +0000 (11:09 -0700)]
Disable libsndfile behavior to write to stderr

A general-purpose API that writes errors to stderr is considered harmful.
Instead, for short term add a compile-time flag HAVE_STDERR only when needed.
A longer-term solution will be to return error information via an API.

Change-Id: I75de8e57558ac797378c5582da6f97b4380ff510

9 years agoMerge "Merge commit '18162c622ab4ac8e51a21b9a5ae9b40aff5b478e' into merge"
Etan Cohen [Thu, 2 Apr 2015 03:07:28 +0000 (03:07 +0000)]
Merge "Merge commit '18162c622ab4ac8e51a21b9a5ae9b40aff5b478e' into merge"