OSDN Git Service

android-x86/system-media.git
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

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"

9 years agoMerge "camera_metadata: update spec for RAW12"
Yin-Chia Yeh [Tue, 31 Mar 2015 18:27:37 +0000 (18:27 +0000)]
Merge "camera_metadata: update spec for RAW12"

9 years agoMerge commit '18162c622ab4ac8e51a21b9a5ae9b40aff5b478e' into merge
Etan Cohen [Tue, 31 Mar 2015 16:25:29 +0000 (09:25 -0700)]
Merge commit '18162c622ab4ac8e51a21b9a5ae9b40aff5b478e' into merge

9 years agoCamera: clarify jpeg orientation spec
Yin-Chia Yeh [Fri, 27 Mar 2015 20:54:56 +0000 (13:54 -0700)]
Camera: clarify jpeg orientation spec

When camera device physically rotate jpeg image data, thumbnail
should also be physically rotated. This behavior is required to
keep API1 backward compatiblity.

Bug: 19966527
Change-Id: Iae5250fab118f973d8e74b7387c4f3ee9c19b3c0

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 agoRemove makefile cruft.
Dan Albert [Fri, 12 Sep 2014 17:46:51 +0000 (10:46 -0700)]
Remove makefile cruft.

Don't manually include stlport, and don't use private bionic headers.

Change-Id: Ib1b2ee08cdea9ea52aaabbc95aecddb6b1a2c3a5

9 years agocamera_metadata: update spec for RAW12
Yin-Chia Yeh [Fri, 20 Mar 2015 23:53:19 +0000 (16:53 -0700)]
camera_metadata: update spec for RAW12

Change-Id: I1c528ecf62746aa96d6e132eaa874015d9d7c446

9 years agoCamera2: Add max depth point count and stream configuration tags
Eino-Ville Talvala [Mon, 23 Feb 2015 23:51:58 +0000 (15:51 -0800)]
Camera2: Add max depth point count and stream configuration tags

- Add system-level android.depth.maxDepthSamples to indicate maximum
  size of a point cloud buffer
- Add hidden android.depth.availableDepthStreamConfigurations,
  android.depth.availableDepthMinFrameDurations, and
  android.depth.availableDepthStallDurations
- Add DEPTH tag that covers the above.

Change-Id: I639f9cdfbcfdea871479f3b886db83dd88b8994f

9 years agoCamera2: fix enum ordering
Yin-Chia Yeh [Fri, 20 Feb 2015 23:34:14 +0000 (15:34 -0800)]
Camera2: fix enum ordering

Make sure new keys are appended at end of tag section to maintain
binary compatibility.

Bug: 19443488
Change-Id: I333b741b2021d364a1923bfea3a763db7ba0854d

9 years agoCamera2: lens shading related update for HAL3.3
Yin-Chia Yeh [Wed, 4 Feb 2015 18:04:37 +0000 (10:04 -0800)]
Camera2: lens shading related update for HAL3.3

1. Define android.shading.availableMode and
   android.statistics.info.availableLensShadingMapModes for
   checking availablity of corresponding controls.
2. Define android.sensor.info.lensShadingApplied to allow for
   lens shading correction baked in the RAW image data.

Change-Id: I57bc94cec351388337c8f7532c357ea9b70395af

9 years agocamera_metadata: add precapture trigger CANCEL
Zhijun He [Thu, 5 Feb 2015 22:32:57 +0000 (14:32 -0800)]
camera_metadata: add precapture trigger CANCEL

Bug: 19265647
Change-Id: I8f94ee5ace6dd3040ee2f350d589e24e53694f1b

9 years agoCamera2: tonemapping related HAL3.3 update
Yin-Chia Yeh [Thu, 5 Feb 2015 21:19:21 +0000 (13:19 -0800)]
Camera2: tonemapping related HAL3.3 update

1. Add two new tonemapping modes: GAMMA_VALUE and PRESET_CURVE
2. Change MANUAL_POSTPROC capability to support either:
     - FAST and CONTRAST_CURVE, or
     - FAST, GAMMA_VALUE, and PRESET_CURVE

Change-Id: I7aa1f9d1cd75be053def2ceb0c84dd28acd476d4

9 years agoCamera2: several metadata update for HAL3.3
Yin-Chia Yeh [Wed, 28 Jan 2015 21:18:31 +0000 (13:18 -0800)]
Camera2: several metadata update for HAL3.3

1. Add android.control.availableModes for querying available
   android.control.mode
2. Add android.control.aeLockAvailable and
   android.control.awbLockAvailable for querying AE/AWB lock,
   though only LEGACY mode are allowed to report FALSE
3. Update color correction transform and gain spec to list the
   guaranteed working range of gain and matrix coefficients.

Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6

9 years agocamera_metadata: reprocessing spec update
Zhijun He [Fri, 16 Jan 2015 02:17:24 +0000 (18:17 -0800)]
camera_metadata: reprocessing spec update

* Clarify reprocessing capabilities and reprocessing controls
* Update noise reduction and edge sharpening controls for
finer granularity controls.

Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4

9 years agocamera_metadata: add lens facing EXTERNAL enum
Zhijun He [Mon, 12 Jan 2015 23:06:16 +0000 (15:06 -0800)]
camera_metadata: add lens facing EXTERNAL enum

This is for usb camera support

Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b

9 years agoMerge "radio meta data utility library"
Eric Laurent [Mon, 16 Mar 2015 18:16:21 +0000 (18:16 +0000)]
Merge "radio meta data utility library"

9 years agoMerge "radio metadata definitions"
Eric Laurent [Mon, 16 Mar 2015 18:16:11 +0000 (18:16 +0000)]
Merge "radio metadata definitions"

9 years agoradio meta data utility library
Eric Laurent [Thu, 5 Mar 2015 21:01:38 +0000 (13:01 -0800)]
radio meta data utility library

Added utility library to manage radio meta data.
Radio HALs can link against this library and use it to create
meta data entries and pass them to the framework.

Change-Id: I7acd585246042024e641ac048815861373ab6d94

9 years agoradio metadata definitions
Eric Laurent [Thu, 5 Mar 2015 21:00:24 +0000 (13:00 -0800)]
radio metadata definitions

Added public definitions for radio metadata and
metadata utility library API.

Change-Id: I61ead52d319e36a1e39ad7dd175fb260d3c1b93a

9 years agoCamera2: Add max depth point count and stream configuration tags
Eino-Ville Talvala [Mon, 23 Feb 2015 23:51:58 +0000 (15:51 -0800)]
Camera2: Add max depth point count and stream configuration tags

- Add system-level android.depth.maxDepthSamples to indicate maximum
  size of a point cloud buffer
- Add hidden android.depth.availableDepthStreamConfigurations,
  android.depth.availableDepthMinFrameDurations, and
  android.depth.availableDepthStallDurations
- Add DEPTH tag that covers the above.

Change-Id: I639f9cdfbcfdea871479f3b886db83dd88b8994f

9 years agoAdd channel index mask audio data conversion
Andy Hung [Mon, 2 Feb 2015 23:34:13 +0000 (15:34 -0800)]
Add channel index mask audio data conversion

Adds memcpy_by_index_array_initialization_src_index which fills an
index array used by memcpy_by_index_array.

Change-Id: Id8823a11cad642688ecbc16d9f2d894845d6e9c0

9 years agoCamera2: fix enum ordering
Yin-Chia Yeh [Fri, 20 Feb 2015 23:34:14 +0000 (15:34 -0800)]
Camera2: fix enum ordering

Make sure new keys are appended at end of tag section to maintain
binary compatibility.

Bug: 19443488
Change-Id: I333b741b2021d364a1923bfea3a763db7ba0854d

9 years agoMerge "Camera2: lens shading related update for HAL3.3"
Yin-Chia Yeh [Tue, 10 Feb 2015 01:15:44 +0000 (01:15 +0000)]
Merge "Camera2: lens shading related update for HAL3.3"

9 years agoCamera2: lens shading related update for HAL3.3
Yin-Chia Yeh [Wed, 4 Feb 2015 18:04:37 +0000 (10:04 -0800)]
Camera2: lens shading related update for HAL3.3

1. Define android.shading.availableMode and
   android.statistics.info.availableLensShadingMapModes for
   checking availablity of corresponding controls.
2. Define android.sensor.info.lensShadingApplied to allow for
   lens shading correction baked in the RAW image data.

Change-Id: I57bc94cec351388337c8f7532c357ea9b70395af

9 years agoMerge "Camera2: tonemapping related HAL3.3 update"
Yin-Chia Yeh [Mon, 9 Feb 2015 19:11:28 +0000 (19:11 +0000)]
Merge "Camera2: tonemapping related HAL3.3 update"

9 years agocamera_metadata: add precapture trigger CANCEL
Zhijun He [Thu, 5 Feb 2015 22:32:57 +0000 (14:32 -0800)]
camera_metadata: add precapture trigger CANCEL

Bug: 19265647
Change-Id: I8f94ee5ace6dd3040ee2f350d589e24e53694f1b

9 years agoam dfd2e7a6: am cad66197: camera-metadata: clarify the AE precapture trigger API...
Zhijun He [Mon, 9 Feb 2015 04:15:30 +0000 (04:15 +0000)]
am dfd2e7a6: am cad66197: camera-metadata: clarify the AE precapture trigger API spec

* commit 'dfd2e7a60006f8408f89ecbf880bd479d1102ad8':
  camera-metadata: clarify the AE precapture trigger API spec

9 years agoam cad66197: camera-metadata: clarify the AE precapture trigger API spec
Zhijun He [Sun, 8 Feb 2015 22:36:48 +0000 (22:36 +0000)]
am cad66197: camera-metadata: clarify the AE precapture trigger API spec

* commit 'cad6619726fc322e9f0a2c958cd5e5cac319a795':
  camera-metadata: clarify the AE precapture trigger API spec

9 years agocamera-metadata: clarify the AE precapture trigger API spec
Zhijun He [Fri, 6 Feb 2015 21:42:40 +0000 (13:42 -0800)]
camera-metadata: clarify the AE precapture trigger API spec

Doc only change.

Bug: 19301706
Change-Id: I8f94ee5ace6dd3040ee2f350d589e24e53694f1b

9 years agoCamera2: tonemapping related HAL3.3 update
Yin-Chia Yeh [Thu, 5 Feb 2015 21:19:21 +0000 (13:19 -0800)]
Camera2: tonemapping related HAL3.3 update

1. Add two new tonemapping modes: GAMMA_VALUE and PRESET_CURVE
2. Change MANUAL_POSTPROC capability to support either:
     - FAST and CONTRAST_CURVE, or
     - FAST, GAMMA_VALUE, and PRESET_CURVE

Change-Id: I7aa1f9d1cd75be053def2ceb0c84dd28acd476d4

9 years agoam 370fbd58: am fa73c084: camera_metadata: relax the EV compensation requirements
Zhijun He [Fri, 6 Feb 2015 16:48:03 +0000 (16:48 +0000)]
am 370fbd58: am fa73c084: camera_metadata: relax the EV compensation requirements

* commit '370fbd58a2e5ba3c7b54ba0e550ef4ce493582bc':
  camera_metadata: relax the EV compensation requirements

9 years agoam fa73c084: camera_metadata: relax the EV compensation requirements
Zhijun He [Fri, 6 Feb 2015 00:07:00 +0000 (00:07 +0000)]
am fa73c084: camera_metadata: relax the EV compensation requirements

* commit 'fa73c084d0accb03eec5e9296cc05239a13a577e':
  camera_metadata: relax the EV compensation requirements

9 years agocamera_metadata: relax the EV compensation requirements
Zhijun He [Wed, 4 Feb 2015 21:51:22 +0000 (13:51 -0800)]
camera_metadata: relax the EV compensation requirements

FULL and LIMITED is allowed to advertise [0,0], which indicates that the
exposure compensation is not supported.

Bug: 19219128
Change-Id: I6020a771201d754351f76617f68c06363fac78e8

9 years agoMerge "Camera2: several metadata update for HAL3.3"
Yin-Chia Yeh [Tue, 3 Feb 2015 00:40:40 +0000 (00:40 +0000)]
Merge "Camera2: several metadata update for HAL3.3"

9 years agoCamera2: several metadata update for HAL3.3
Yin-Chia Yeh [Wed, 28 Jan 2015 21:18:31 +0000 (13:18 -0800)]
Camera2: several metadata update for HAL3.3

1. Add android.control.availableModes for querying available
   android.control.mode
2. Add android.control.aeLockAvailable and
   android.control.awbLockAvailable for querying AE/AWB lock,
   though only LEGACY mode are allowed to report FALSE
3. Update color correction transform and gain spec to list the
   guaranteed working range of gain and matrix coefficients.

Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6

9 years agoam f8af8629: am 65720457: Merge "Fix "error: \'memset\' was not declared in this...
Elliott Hughes [Sat, 31 Jan 2015 09:41:49 +0000 (09:41 +0000)]
am f8af8629: am 65720457: Merge "Fix "error: \'memset\' was not declared in this scope"."

* commit 'f8af8629f04c703b21f3d9eabd9ebdcba10e4bac':
  Fix "error: 'memset' was not declared in this scope".

9 years agoam 65720457: Merge "Fix "error: \'memset\' was not declared in this scope"."
Elliott Hughes [Sat, 31 Jan 2015 08:50:21 +0000 (08:50 +0000)]
am 65720457: Merge "Fix "error: \'memset\' was not declared in this scope"."

* commit '657204576c253d119a7fa0661a0d3c49bd822da9':
  Fix "error: 'memset' was not declared in this scope".

9 years agoMerge "Fix "error: 'memset' was not declared in this scope"."
Elliott Hughes [Sat, 31 Jan 2015 08:38:32 +0000 (08:38 +0000)]
Merge "Fix "error: 'memset' was not declared in this scope"."