OSDN Git Service

android-x86/system-media.git
9 years agoCamera2: Update FAST mode for EE and NR
Chien-Yu Chen [Tue, 14 Jul 2015 23:33:58 +0000 (16:33 -0700)]
Camera2: Update FAST mode for EE and NR

FAST for EE/NR modes may be the same as OFF for devices
whose EE/NR will slow down the capture rate.

Bug: 22486061
Change-Id: Ie3581b43bd46f7804d2859a5f881d974ab91a260

9 years agoMerge "audio: fix audio_device_is_digital() function." into mnc-dev
Eric Laurent [Fri, 10 Jul 2015 16:30:17 +0000 (16:30 +0000)]
Merge "audio: fix audio_device_is_digital() function." into mnc-dev

9 years agoaudio: fix audio_device_is_digital() function.
Eric Laurent [Fri, 10 Jul 2015 01:36:54 +0000 (18:36 -0700)]
audio: fix audio_device_is_digital() function.

audio_device_is_digital() was returning true for all input devices.

Bug: 22381136.
Change-Id: I6df4c415934faf6b73200e2a0a12caff02a0c86d

9 years agoCamera: Update API references for high-speed recording refactor
Eino-Ville Talvala [Tue, 30 Jun 2015 20:32:09 +0000 (13:32 -0700)]
Camera: Update API references for high-speed recording refactor

Bug: 21664295
Change-Id: I4fec36b5cacd1d366ebc66b97c7797820a83e538

9 years agoMerge "SPDIFEncoder: EAC3 fixes from NVidia" into mnc-dev
Phil Burk [Thu, 9 Jul 2015 19:17:56 +0000 (19:17 +0000)]
Merge "SPDIFEncoder: EAC3 fixes from NVidia" into mnc-dev

9 years agoSPDIFEncoder: EAC3 fixes from NVidia
Phil Burk [Wed, 8 Jul 2015 18:39:07 +0000 (11:39 -0700)]
SPDIFEncoder: EAC3 fixes from NVidia

These fixes were suggested by NVidia
https://android-review.googlesource.com/#/c/158460/1

Bug: 22351015
Change-Id: I4da4885360b191e1835c0f2762efc32f51942d66
Signed-off-by: Phil Burk <philburk@google.com>
9 years agoCamera: Enforce ZERO_SHUTTER_LAG mode
Chien-Yu Chen [Wed, 8 Jul 2015 18:49:38 +0000 (11:49 -0700)]
Camera: Enforce ZERO_SHUTTER_LAG mode

Camera devices that support YUV or PRIVATE reprocessing must list
ZERO_SHUTTER_LAG mode in android.edge.availableEdgeModes and
android.noiseReduction.availableNoiseReductionModes, and it must
be the default mode for ZSL template.

Bug: 22266686
Change-Id: If62226b495557bcf4b72f579d7fb993d4b30c089

9 years agoCamera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement
Eino-Ville Talvala [Tue, 7 Jul 2015 17:40:59 +0000 (10:40 -0700)]
Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancement

This mode splits processing quality based on stream resolution, to
enable ZSL operation where low-resolution (preview/recording) streams
require more processing since they are immediately user-visible, while
the high-resolution intermediate ZSL stream should have minimal/no
processing since it will be reprocessed into final quality when
necessary

Bug: 22266686
Change-Id: Ibf7415712e3fb839fc951a9722baffa7a654575c

9 years agoMerge "audio: add definitions for devices connected over IP" into mnc-dev
Eric Laurent [Mon, 6 Jul 2015 21:47:22 +0000 (21:47 +0000)]
Merge "audio: add definitions for devices connected over IP" into mnc-dev

9 years agoaudio: add definitions for devices connected over IP
Eric Laurent [Wed, 1 Jul 2015 00:12:29 +0000 (17:12 -0700)]
audio: add definitions for devices connected over IP

Bug: 22068684.
Change-Id: I9c11f54a1059a887833bd1d04499a39071ae458d

9 years agoMerge "Camera: Remove FREEFORM cropping requirement from FULL" into mnc-dev
Eino-Ville Talvala [Mon, 6 Jul 2015 17:51:42 +0000 (17:51 +0000)]
Merge "Camera: Remove FREEFORM cropping requirement from FULL" into mnc-dev

9 years agoMerge "audio: introduce new audio flags for latency" into mnc-dev
Glenn Kasten [Thu, 2 Jul 2015 23:52:52 +0000 (23:52 +0000)]
Merge "audio: introduce new audio flags for latency" into mnc-dev

9 years agoaudio: introduce new audio flags for latency
Glenn Kasten [Sat, 20 Jun 2015 00:42:28 +0000 (17:42 -0700)]
audio: introduce new audio flags for latency

Bug: 10546170
Bug: 19230391
Change-Id: I62a8a2e4d5e607fade42d0a36068e8fe4eca5bba

9 years agoMerge "camera2: Fix ABI for new tags." into mnc-dev
Ruben Brunk [Wed, 1 Jul 2015 20:00:08 +0000 (20:00 +0000)]
Merge "camera2: Fix ABI for new tags." into mnc-dev

9 years agocamera2: Fix ABI for new tags.
Ruben Brunk [Wed, 1 Jul 2015 18:32:39 +0000 (11:32 -0700)]
camera2: Fix ABI for new tags.

Bug: 22229158
Change-Id: If8dc8524258b59b45e56ce54f451c59b9c7e79e2

9 years agoCamera: Remove FREEFORM cropping requirement from FULL
Eino-Ville Talvala [Tue, 30 Jun 2015 23:33:57 +0000 (16:33 -0700)]
Camera: Remove FREEFORM cropping requirement from FULL

Bug: 22207844
Change-Id: Ie31698dffe17bf9d7b95f931fd0f0ec9593ac35a

9 years agoMerge "Camera2: Remove references to sync.frameNumber" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:09:28 +0000 (22:09 +0000)]
Merge "Camera2: Remove references to sync.frameNumber" into mnc-dev

9 years agoMerge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev
Eino-Ville Talvala [Fri, 26 Jun 2015 19:53:24 +0000 (19:53 +0000)]
Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

9 years agoCamera2: Remove references to sync.frameNumber
Chien-Yu Chen [Fri, 26 Jun 2015 18:25:45 +0000 (11:25 -0700)]
Camera2: Remove references to sync.frameNumber

Remove public references to sync.frameNumber because it's
a hidden key.

Bug: 21957397
Change-Id: Id7b1fd25caf6a38948951633fa0a08bc85510772

9 years agoCamera2: Add clarification about simultaneous trigger use
Eino-Ville Talvala [Wed, 24 Jun 2015 22:17:09 +0000 (15:17 -0700)]
Camera2: Add clarification about simultaneous trigger use

Allow triggers to be activated at the same time, and specify
allowed behaviors.

Bug: 21399067
Change-Id: I831ec55fc3739e3f49b0a84bb74f0348edb7103c

9 years agoMerge "Update HAL notes for pre-correction array dimens." into mnc-dev
Ruben Brunk [Wed, 24 Jun 2015 18:47:09 +0000 (18:47 +0000)]
Merge "Update HAL notes for pre-correction array dimens." into mnc-dev

9 years agoUpdate HAL notes for pre-correction array dimens.
Ruben Brunk [Tue, 23 Jun 2015 23:41:06 +0000 (16:41 -0700)]
Update HAL notes for pre-correction array dimens.

Bug: 20491394
Change-Id: I0edb71d62091d0c23827e9097b302b2d623c46f1

9 years agoMerge "camera_metadata: fix typo in high speed metadata" into mnc-dev
Zhijun He [Tue, 23 Jun 2015 18:52:03 +0000 (18:52 +0000)]
Merge "camera_metadata: fix typo in high speed metadata" into mnc-dev

9 years agoMerge "Camera: document expected thumbnail size in capture result" into mnc-dev
Yin-Chia Yeh [Tue, 23 Jun 2015 17:12:37 +0000 (17:12 +0000)]
Merge "Camera: document expected thumbnail size in capture result" into mnc-dev

9 years agoCamera: document expected thumbnail size in capture result
Yin-Chia Yeh [Mon, 22 Jun 2015 22:50:05 +0000 (15:50 -0700)]
Camera: document expected thumbnail size in capture result

Bug: 21880406
Change-Id: I05a3f9731715a5906a13ba5f8647c887df73b6a7

9 years agocamera_metadata: fix typo in high speed metadata
Zhijun He [Tue, 23 Jun 2015 14:59:24 +0000 (07:59 -0700)]
camera_metadata: fix typo in high speed metadata

Bug: 21442271
Change-Id: I3052d99213ed5dbdc27f7f39f8cec92caeeefdc2

9 years agoRemove HIGH_RESOLUTION level, adjust FULL requirements.
Eino-Ville Talvala [Wed, 17 Jun 2015 18:32:55 +0000 (11:32 -0700)]
Remove HIGH_RESOLUTION level, adjust FULL requirements.

Allow FULL-level devices to run slower for >= 8MP sizes, with
the slow sizes listed in a different size list to maintain
backwards compatibility with previous FULL requirements.

Remove the redundant HIGH_RESOLUTION level and adjust documentation
to match.

Bug: 20945581
Change-Id: I3baf08361c084b21808461da8bfb254be585ad3a

9 years agoMerge "SPDIFEncoder: add reset method for flush" into mnc-dev
Phil Burk [Sat, 20 Jun 2015 00:14:40 +0000 (00:14 +0000)]
Merge "SPDIFEncoder: add reset method for flush" into mnc-dev

9 years agoSPDIFEncoder: add reset method for flush
Phil Burk [Fri, 19 Jun 2015 22:06:14 +0000 (15:06 -0700)]
SPDIFEncoder: add reset method for flush

This may help prevent noise burst from corrupt encoded data
reaching the AVR.

Bug: 19604395
Change-Id: I789b9b40f1fdfd26a24902bcb7c21f2cc22bef65
Signed-off-by: Phil Burk <philburk@google.com>
9 years agoMerge "Add sf_writef_int to tiny libsndfile" into mnc-dev
Glenn Kasten [Fri, 19 Jun 2015 20:13:56 +0000 (20:13 +0000)]
Merge "Add sf_writef_int to tiny libsndfile" into mnc-dev

9 years agoAdd sf_writef_int to tiny libsndfile
Glenn Kasten [Thu, 18 Jun 2015 22:38:15 +0000 (15:38 -0700)]
Add sf_writef_int to tiny libsndfile

Change-Id: I301781c079b0c6501a940dd7f6b782dd876d2899

9 years agoMerge "camera_metadata: add FACE_PRIORITY_LOW_LIGHT" into mnc-dev
Zhijun He [Fri, 19 Jun 2015 16:23:22 +0000 (16:23 +0000)]
Merge "camera_metadata: add FACE_PRIORITY_LOW_LIGHT" into mnc-dev

9 years agocamera_metadata: add FACE_PRIORITY_LOW_LIGHT
Zhijun He [Wed, 17 Jun 2015 02:44:18 +0000 (19:44 -0700)]
camera_metadata: add FACE_PRIORITY_LOW_LIGHT

Add FACE_PRIORITY_LOW_LIGHT to allow higher sensitivity value AE under low
light.

Also fix some minor doc issue for high speed recording capability.

Bug: 21813977
Change-Id: I965ece936c1bc3d3cb370454e950fde4aad06335

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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 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 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 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 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 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: 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