OSDN Git Service

android-x86/system-media.git
6 years ago[automerger] Camera: Initialize metadata padding field am: f85ced2263 am: 4c34eb7ac8
Android Build Merger (Role) [Fri, 11 May 2018 08:47:18 +0000 (08:47 +0000)]
[automerger] Camera: Initialize metadata padding field am: f85ced2263 am: 4c34eb7ac8

Change-Id: I2b38ba060b9398b616ac7adb24816655b7b46384

6 years ago[automerger] Camera: Initialize metadata padding field am: f85ced2263
Android Build Merger (Role) [Fri, 11 May 2018 08:47:16 +0000 (08:47 +0000)]
[automerger] Camera: Initialize metadata padding field am: f85ced2263

Change-Id: Ic1b147fbf96aa567af9ea10533d0012a8765eca4

6 years agoCamera: Initialize metadata padding field
Emilian Peev [Tue, 10 Apr 2018 12:11:43 +0000 (13:11 +0100)]
Camera: Initialize metadata padding field

'padding' field in internal camera metadata structure should be
initialized.

Bug: 77238656
Test: Camera CTS
Change-Id: I57919ec6d6834b5e830be7cbe871558a5da3f266
Merged-In: I57919ec6d6834b5e830be7cbe871558a5da3f266

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6
Emilian Peev [Wed, 8 Nov 2017 09:00:42 +0000 (09:00 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf am: 90045db6e6
am: 6dc0f83407

Change-Id: Ib4986884c9fe83017ee67d544ef6ef549c042cfc

6 years agoCamera metadata: Check source metadata size am: 489bbd13bf
Emilian Peev [Wed, 8 Nov 2017 08:58:10 +0000 (08:58 +0000)]
Camera metadata: Check source metadata size am: 489bbd13bf
am: 90045db6e6

Change-Id: Idfc8486d568546bc889cd1456a14ae9861359740

6 years agoCamera metadata: Check source metadata size
Emilian Peev [Wed, 8 Nov 2017 08:55:39 +0000 (08:55 +0000)]
Camera metadata: Check source metadata size
am: 489bbd13bf

Change-Id: I3664526ef2de813ea2b1c303a53d55246c1b370b

6 years agoCamera metadata: Check source metadata size
Emilian Peev [Mon, 6 Nov 2017 10:41:19 +0000 (10:41 +0000)]
Camera metadata: Check source metadata size

Source size passed by client could be smaller than 'camera_metadata_t'.
In this case the cast in 'allocate_copy_camera_metadata_checked()' will
be incorrect and we will try to access invalid heap memory.

Bug: 67782345
Test: Camera CTS
Change-Id: I9582c704f414493978d09ffb603b5e8368cda5ce

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:27:29 +0000 (04:27 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a am: e1bc1ac318
am: 0fafbe88b5

Change-Id: I6cdeb5b4234c5e6fcb2882ab7a778fa0894a28ed

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 04:24:41 +0000 (04:24 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f am: af1e40957a
am: e1bc1ac318

Change-Id: Id679d6bcb437c23b4307eff166d3040ccf7aec48

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 02:31:04 +0000 (02:31 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b am: 902b06895f
am: af1e40957a

Change-Id: I574c3cf08bc48e3600321da4a00c21cb8bc32b09

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 01:47:11 +0000 (01:47 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9 am: 960cba3e1b
am: 902b06895f

Change-Id: If84ad0268c76e0113d235e9ab026d634cae9f138

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da6...
rago [Tue, 20 Sep 2016 01:28:00 +0000 (01:28 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a am: a5dddadec9
am: 960cba3e1b

Change-Id: Ie001c2546d97cb913ad178427f5b283d58b80d38

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a
rago [Tue, 20 Sep 2016 00:57:05 +0000 (00:57 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f am: 8682da681a
am: a5dddadec9

Change-Id: I8fcbe5c0edfab078d4b86b6b6dd08d7c36b4dc91

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f
rago [Tue, 20 Sep 2016 00:46:12 +0000 (00:46 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874 am: 99589ed96f
am: 8682da681a

Change-Id: I2393804a8d234f7374a9e65fc358e10b3c2a3a88

7 years agoFix potential overflow in Visualizer effect am: 7bbd500874
rago [Tue, 20 Sep 2016 00:39:51 +0000 (00:39 +0000)]
Fix potential overflow in Visualizer effect am: 7bbd500874
am: 99589ed96f

Change-Id: I99309d36b1db752ed86d2b3f13456cd4f0cd6be1

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 20 Sep 2016 00:35:06 +0000 (00:35 +0000)]
Fix potential overflow in Visualizer effect
am: 7bbd500874

Change-Id: I88bbbf8cfa578a86a692d75dd5a8cab00be0dcfc

7 years agoFix potential overflow in Visualizer effect
rago [Tue, 23 Aug 2016 18:09:52 +0000 (11:09 -0700)]
Fix potential overflow in Visualizer effect

Bug: 30229821
Change-Id: Ia07041a5a149d7d3e120aa6ea0345fb86da37c9b
(cherry picked from commit b61dd321d08b21a5629044eca7f96e2ecd348e5f)

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:25:48 +0000 (23:25 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e am: e0cb79f1bc
am: 3197a71063

Change-Id: Id1f6192897346ce3c6b71c28c7143a6c0cce658d

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:22:50 +0000 (23:22 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99 am: ab159ee14e
am: e0cb79f1bc

Change-Id: Ia82eb5aad072dc424a010b384019140ff05e792e

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f219...
Eino-Ville Talvala [Wed, 17 Aug 2016 23:18:48 +0000 (23:18 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2 am: 6f21973d99
am: ab159ee14e

Change-Id: I34352f989484eeac66e4a87f51a2408b4fbf10b3

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2
Eino-Ville Talvala [Wed, 17 Aug 2016 23:17:01 +0000 (23:17 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834 am: 009bc279a2
am: 6f21973d99

Change-Id: I25bd8261bb5962ce12e5321156837e9ef8be06b2

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834
Eino-Ville Talvala [Wed, 17 Aug 2016 23:10:19 +0000 (23:10 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev am: 53d55d7834
am: 009bc279a2

Change-Id: Ic3b18ebaaee959686e6ed29a1289fbcfb50de8de

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev
Eino-Ville Talvala [Wed, 17 Aug 2016 23:06:15 +0000 (23:06 +0000)]
resolve merge conflicts of 28ce9cd to lmp-dev
am: 53d55d7834

Change-Id: If95d67bf8169f121f824639c7324f5470169e59e

7 years agoresolve merge conflicts of 28ce9cd to lmp-dev
Eino-Ville Talvala [Wed, 17 Aug 2016 21:30:39 +0000 (14:30 -0700)]
resolve merge conflicts of 28ce9cd to lmp-dev

Change-Id: I52e1077e21545b15a9b568a3c048580de99c8080

7 years agoCamera metadata: Check for inconsistent data count am: 241ff3e1ce
Eino-Ville Talvala [Wed, 17 Aug 2016 21:07:06 +0000 (21:07 +0000)]
Camera metadata: Check for inconsistent data count am: 241ff3e1ce
am: 59bc9e30bd

Change-Id: Ie09a5953eb7e44e45838306b2998f70541081499

7 years agoCamera metadata: Check for inconsistent data count
Eino-Ville Talvala [Wed, 17 Aug 2016 21:04:06 +0000 (21:04 +0000)]
Camera metadata: Check for inconsistent data count
am: 241ff3e1ce

Change-Id: I780f5c31874d12a2d6e16c4658902e271f07ddcf

7 years agoCamera metadata: Check for inconsistent data count
Eino-Ville Talvala [Tue, 16 Aug 2016 22:48:05 +0000 (15:48 -0700)]
Camera metadata: Check for inconsistent data count

Also check for overflow of data/entry count on append.

Bug: 30591838
Change-Id: Ibf4c3c6e236cdb28234f3125055d95ef0a2416a2

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am...
Chien-Yu Chen [Wed, 17 Aug 2016 17:41:54 +0000 (17:41 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am: 6ebb3d2a93 am: 6c1911e48b am: 40239912e1 am: 49f0bdca65 am: e961e9eb2a
am: 29afa93f4f

Change-Id: Ibd99d91c9f03a9d6194845de3326c9b56093ad1b

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am...
Chien-Yu Chen [Wed, 17 Aug 2016 17:39:55 +0000 (17:39 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am: 6ebb3d2a93 am: 6c1911e48b am: 40239912e1 am: 49f0bdca65
am: e961e9eb2a

Change-Id: I7754af66c50514f3bf97cbf31e3274f3274731a1

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am...
Chien-Yu Chen [Wed, 17 Aug 2016 17:35:21 +0000 (17:35 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am: 6ebb3d2a93 am: 6c1911e48b am: 40239912e1
am: 49f0bdca65

Change-Id: Ibc41693c4b37a010913bf63d6caea31c6345350d

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am...
Chien-Yu Chen [Wed, 17 Aug 2016 17:31:22 +0000 (17:31 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am: 6ebb3d2a93 am: 6c1911e48b
am: 40239912e1

Change-Id: I1866145d7ab1e6a03ce9504f5a872883a0259bc6

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am...
Chien-Yu Chen [Wed, 17 Aug 2016 00:10:54 +0000 (00:10 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3 am: 6ebb3d2a93
am: 6c1911e48b

Change-Id: I1399829b7532c142ce9352a096e2f73520fc38b5

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3
Chien-Yu Chen [Wed, 17 Aug 2016 00:08:29 +0000 (00:08 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec am: 4d15f88da3
am: 6ebb3d2a93

Change-Id: I25af01fd5dd1ccada3105da84893e6ea7bff119b

7 years agoCamera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec
Chien-Yu Chen [Wed, 17 Aug 2016 00:05:22 +0000 (00:05 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748 am: 5ccb5b43ec
am: 4d15f88da3

Change-Id: I637b2009b6fb1c985c867ced35f4cadf0b7d21f9

7 years agoCamera: Prevent data size overflow am: 97a9cd6748
Chien-Yu Chen [Wed, 17 Aug 2016 00:02:26 +0000 (00:02 +0000)]
Camera: Prevent data size overflow am: 97a9cd6748
am: 5ccb5b43ec

Change-Id: I3c828a810c29bc5a1f24bac2d6dfd59d9989f8f0

7 years agoCamera: Prevent data size overflow
Chien-Yu Chen [Wed, 17 Aug 2016 00:01:16 +0000 (00:01 +0000)]
Camera: Prevent data size overflow
am: 97a9cd6748

Change-Id: I45dd85c5fb5e8066d4fe66f5f07bdfd8cd0d6789

7 years agoCamera: Prevent data size overflow
Chien-Yu Chen [Fri, 12 Aug 2016 22:40:16 +0000 (15:40 -0700)]
Camera: Prevent data size overflow

Add a function to check overflow when calculating metadata
data size.

Bug: 30741779
Change-Id: I6405fe608567a4f4113674050f826f305ecae030

8 years agoCamera: update FPS range spec
Yin-Chia Yeh [Sat, 5 Dec 2015 00:02:40 +0000 (16:02 -0800)]
Camera: update FPS range spec
am: 30bf75b88a

* commit '30bf75b88a25a49fdd388fc3c5a77ecbdede2e24':
  Camera: update FPS range spec

8 years agoCamera: update FPS range spec
Yin-Chia Yeh [Fri, 20 Nov 2015 23:16:05 +0000 (15:16 -0800)]
Camera: update FPS range spec

Bug: 25427163
Change-Id: Id020b051f0ee082f9883f9a73fa3ac34540c0cfc

8 years agoCamera: Documentation updates
Eino-Ville Talvala [Thu, 12 Nov 2015 01:11:01 +0000 (01:11 +0000)]
Camera: Documentation updates
am: 04292697a7

* commit '04292697a7841d6e45e0355c9dc3ced3bbedc768':
  Camera: Documentation updates

8 years agoCamera: Documentation updates
Eino-Ville Talvala [Mon, 9 Nov 2015 02:58:27 +0000 (18:58 -0800)]
Camera: Documentation updates

 - Use preCorrectionActiveArray instead of activeArray
   for one of the possible sizes for raw outputs.

Bug: 23908116
Change-Id: I5f7efb4e399f392b9442ad458335eb0b4777e35c

8 years agofix usb audio for devices with more than 8 channels
Andy Hung [Mon, 28 Sep 2015 23:31:54 +0000 (16:31 -0700)]
fix usb audio for devices with more than 8 channels

Use the lowest 8 channels.

Bug: 24468939
Change-Id: If116133ab3c902cc6d431b287058897c8e3af875
(cherry picked from commit 67c63b290460f36f7841d6f01017bb116a2a36f1)

8 years agoCamera: update video stabilization API doc.
Jianing Wei [Tue, 29 Sep 2015 21:01:43 +0000 (14:01 -0700)]
Camera: update video stabilization API doc.

Update the video stabilization API description
to specify which scenarios guarantee stabilization
is performed if the control is set to ON and the
static metadata supports stabilization ON.

Bug: 23353979
Change-Id: I0f8662864e1c397c0a53edf11a685de2f6feb7f2

8 years agoCamera: Fix spelling of quaternion, fix metadata ordering issue
Eino-Ville Talvala [Wed, 19 Aug 2015 23:09:46 +0000 (16:09 -0700)]
Camera: Fix spelling of quaternion, fix metadata ordering issue

The cloned intrinsicCalibration and radialDistortion were not listed in the
correct location and were not propagated to CTS correctly.

Bug: 20537722
Bug: 23360503
Change-Id: Iedc55ed352dc20b26d3b8e4074379691e225b176

8 years agoMerge "Add USB proxy_get_presentation_position() for timestamps" into mnc-dev
Glenn Kasten [Fri, 7 Aug 2015 16:38:45 +0000 (16:38 +0000)]
Merge "Add USB proxy_get_presentation_position() for timestamps" into mnc-dev

8 years agoAdd USB proxy_get_presentation_position() for timestamps
Andy Hung [Tue, 4 Aug 2015 21:57:50 +0000 (14:57 -0700)]
Add USB proxy_get_presentation_position() for timestamps

Bug: 21196672
Change-Id: I7e5d7434935a15ef6bfc7630e16a7895f5e605d6

8 years agoAudio HAL API: add bit for compressed audio
Phil Burk [Tue, 4 Aug 2015 18:07:41 +0000 (11:07 -0700)]
Audio HAL API: add bit for compressed audio

Add a bit to tell the HAL that the PCM data is really encoded audio
wrapped in a data burst.
Otherwise the device may try to play the encoded data directly
which will sound like modulated white noise.

Bug: 22576112
Change-Id: I8a68a9cf08b34f231c39e9f63283f868169744c0
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Camera2: Update FAST mode for EE and NR" into mnc-dev
Chien-Yu Chen [Fri, 17 Jul 2015 17:01:21 +0000 (17:01 +0000)]
Merge "Camera2: Update FAST mode for EE and NR" into mnc-dev

8 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

8 years agoMerge "Camera: clarify largest JPEG dimension expectation" into mnc-dev
Yin-Chia Yeh [Tue, 14 Jul 2015 22:53:02 +0000 (22:53 +0000)]
Merge "Camera: clarify largest JPEG dimension expectation" into mnc-dev

8 years agoCamera metadata: fix typos.
Andy Huibers [Sat, 11 Jul 2015 15:36:42 +0000 (08:36 -0700)]
Camera metadata: fix typos.

Bug: 22417740
Change-Id: I8e71aa0dbf77d790c5d267ce2f432ceafdcc7a74

8 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

8 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

8 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

8 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

8 years agoCamera: clarify largest JPEG dimension expectation
Yin-Chia Yeh [Wed, 8 Jul 2015 21:07:39 +0000 (14:07 -0700)]
Camera: clarify largest JPEG dimension expectation

Bug: 22295208
Change-Id: I53dbb75bc05a0367566a0cd70be2a975403176df

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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