OSDN Git Service

android-x86/system-media.git
10 years agoCamera2: update hyperfocalDistance spec
Zhijun He [Wed, 30 Apr 2014 02:23:08 +0000 (19:23 -0700)]
Camera2: update hyperfocalDistance spec

Change-Id: I1b425ab739f10d5e2ba9403baf918f3ee6150d71

10 years agoaudio utils: fix resampler bug
Eric Laurent [Fri, 2 May 2014 16:20:08 +0000 (09:20 -0700)]
audio utils: fix resampler bug

input and output frame counts passed to speex resampler
where not initialized by resampler_resample_from_input().

Bug: 14240418.
Change-Id: Ieaaea5986667abd01400775f36d12d09a2670841

10 years agoam ab03736c: am db7e74ec: am e0b59251: Merge "Added parsing of hexadecimal values"
Glenn Kasten [Wed, 30 Apr 2014 23:49:34 +0000 (23:49 +0000)]
am ab03736c: am db7e74ec: am e0b59251: Merge "Added parsing of hexadecimal values"

* commit 'ab03736c770d9d363a975cbacbc21f9864d460ee':
  Added parsing of hexadecimal values

10 years agoam db7e74ec: am e0b59251: Merge "Added parsing of hexadecimal values"
Glenn Kasten [Wed, 30 Apr 2014 23:47:44 +0000 (23:47 +0000)]
am db7e74ec: am e0b59251: Merge "Added parsing of hexadecimal values"

* commit 'db7e74ecf031e3ae070d754ffbcf1c81273f5238':
  Added parsing of hexadecimal values

10 years agoam e0b59251: Merge "Added parsing of hexadecimal values"
Glenn Kasten [Wed, 30 Apr 2014 23:44:23 +0000 (23:44 +0000)]
am e0b59251: Merge "Added parsing of hexadecimal values"

* commit 'e0b59251376ccaaba5f7f44100d33ad9469d41ed':
  Added parsing of hexadecimal values

10 years agoMerge "Added parsing of hexadecimal values"
Glenn Kasten [Wed, 30 Apr 2014 23:40:30 +0000 (23:40 +0000)]
Merge "Added parsing of hexadecimal values"

10 years agoam 6c7b41e5: am be6b522c: Merge commit \'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c...
Bill Yi [Wed, 30 Apr 2014 12:50:48 +0000 (12:50 +0000)]
am 6c7b41e5: am be6b522c: Merge commit \'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c\' into HEAD

* commit '6c7b41e5479256bb95ac3505cf95b51b0263d3cb':

10 years agoam be6b522c: Merge commit \'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c\' into HEAD
Bill Yi [Wed, 30 Apr 2014 01:00:08 +0000 (01:00 +0000)]
am be6b522c: Merge commit \'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c\' into HEAD

* commit 'be6b522ccbdbd2eec27298b0d0d0ee3d387cbb10':

10 years agoMerge "camera_metadata: Mark availableFormats as deprecated"
Zhijun He [Tue, 29 Apr 2014 19:34:48 +0000 (19:34 +0000)]
Merge "camera_metadata: Mark availableFormats as deprecated"

10 years agocamera_metadata: Mark availableFormats as deprecated
Zhijun He [Thu, 24 Apr 2014 18:17:25 +0000 (11:17 -0700)]
camera_metadata: Mark availableFormats as deprecated

Change-Id: I1cd2a39ee6a4d3ec391fa827accaa8ad1b3dfc6e

10 years agoMerge commit 'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c' into HEAD
Bill Yi [Tue, 29 Apr 2014 18:35:33 +0000 (11:35 -0700)]
Merge commit 'acdc8dc1463fcd3c40f7816fdd9f6c05b997214c' into HEAD

10 years agoaudio_route: Add APIs to update mixer based on path
Haynes Mathew George [Wed, 5 Feb 2014 04:49:25 +0000 (20:49 -0800)]
audio_route: Add APIs to update mixer based on path

audio_route_apply_and_update_path
audio_route_reset_and_update_path

These routines allows updating the mixer controls for just the specified path.
The controls will be updated in the order listed in the path.

Change-Id: If193bc047ccbb8c6497926d6181c5c4541a9d6aa

10 years agoMerge "Non API functions should be static."
Eric Laurent [Mon, 21 Apr 2014 16:53:14 +0000 (16:53 +0000)]
Merge "Non API functions should be static."

10 years agoNon API functions should be static.
Eric Laurent [Mon, 21 Apr 2014 16:41:20 +0000 (09:41 -0700)]
Non API functions should be static.

Change-Id: I89586e413ceb24c17a18e7dcf1241aefb274d573

10 years agoMerge "camera_metadata: fix int64 enums being mismapped to Integer in API"
Zhijun He [Thu, 17 Apr 2014 20:28:12 +0000 (20:28 +0000)]
Merge "camera_metadata: fix int64 enums being mismapped to Integer in API"

10 years agoam 2c3197e3: am 3853fae2: Merge "media: echo_reference 64 bit compile issues"
Mark Salyzyn [Thu, 17 Apr 2014 19:36:42 +0000 (19:36 +0000)]
am 2c3197e3: am 3853fae2: Merge "media: echo_reference 64 bit compile issues"

* commit '2c3197e35e2e6fbf281bde19dc978c94f711324e':
  media: echo_reference 64 bit compile issues

10 years agocamera_metadata: fix int64 enums being mismapped to Integer in API
Zhijun He [Thu, 17 Apr 2014 18:33:33 +0000 (11:33 -0700)]
camera_metadata: fix int64 enums being mismapped to Integer in API

metadata generation logic wrongly maps all tags that are both int64 and enum
to Integer type in managed code. This created mismatch between native and
managed sides and caused exception when application get the metadata key.

Change-Id: I53a213078d3587522970ca8af46ac28d43eef425

10 years agoam 3853fae2: Merge "media: echo_reference 64 bit compile issues"
Mark Salyzyn [Thu, 17 Apr 2014 17:08:00 +0000 (17:08 +0000)]
am 3853fae2: Merge "media: echo_reference 64 bit compile issues"

* commit '3853fae2704e3ad79d1441364286d0c0b24b5721':
  media: echo_reference 64 bit compile issues

10 years agoMerge "Update DNG HAL tags."
Ruben Brunk [Wed, 16 Apr 2014 23:35:54 +0000 (23:35 +0000)]
Merge "Update DNG HAL tags."

10 years agoMerge "media: echo_reference 64 bit compile issues"
Mark Salyzyn [Wed, 16 Apr 2014 23:16:36 +0000 (23:16 +0000)]
Merge "media: echo_reference 64 bit compile issues"

10 years agomedia: echo_reference 64 bit compile issues
Mark Salyzyn [Wed, 16 Apr 2014 23:04:02 +0000 (16:04 -0700)]
media: echo_reference 64 bit compile issues

Change-Id: Ib84f3e6ded55a3553f9ea33d1257bfd12eb57d8c

10 years agoUpdate DNG HAL tags.
Ruben Brunk [Wed, 16 Apr 2014 00:43:56 +0000 (17:43 -0700)]
Update DNG HAL tags.

Change-Id: I17c8d4f2f211c2993117f29fa9001c9731c7dff6

10 years agoMerge "Update precision in dump."
Ruben Brunk [Tue, 15 Apr 2014 21:37:39 +0000 (21:37 +0000)]
Merge "Update precision in dump."

10 years agoUpdate precision in dump.
Ruben Brunk [Tue, 15 Apr 2014 17:55:57 +0000 (10:55 -0700)]
Update precision in dump.

Change-Id: I7508a9abad59e995163bf7fe8b4878a78711278c

10 years agoMerge "Update tinysndfile to write multichannel WAV"
Andy Hung [Thu, 10 Apr 2014 19:27:31 +0000 (19:27 +0000)]
Merge "Update tinysndfile to write multichannel WAV"

10 years agoUpdate tinysndfile to write multichannel WAV
Andy Hung [Thu, 10 Apr 2014 01:52:06 +0000 (18:52 -0700)]
Update tinysndfile to write multichannel WAV

Change-Id: Ibe73ff5e787bde8f7c5e4c326e849978410ff58f
Signed-off-by: Andy Hung <hunga@google.com>
10 years agocamera_metadata: Add MANUAL capture intent
Zhijun He [Wed, 9 Apr 2014 17:55:50 +0000 (10:55 -0700)]
camera_metadata: Add MANUAL capture intent

Change-Id: I6a3ba818cc7d13e0fcf0d90a16c53884b6cc20ab

10 years agocamera_metadata: Make colorFilterArrangement public
Zhijun He [Wed, 9 Apr 2014 00:22:07 +0000 (17:22 -0700)]
camera_metadata: Make colorFilterArrangement public

Also fix a typo in spec.

Change-Id: I8427df6b28149c0f8ced27b110efe96dd38357f4

10 years agoMerge "Add q4_27 conversion from float with tests"
Andy Hung [Mon, 7 Apr 2014 21:08:22 +0000 (21:08 +0000)]
Merge "Add q4_27 conversion from float with tests"

10 years agoAdd q4_27 conversion from float with tests
Andy Hung [Fri, 4 Apr 2014 20:05:43 +0000 (13:05 -0700)]
Add q4_27 conversion from float with tests

Change-Id: If7cb0b1e1fbd34202a4be69e91cb2c8743ab0ad6
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd typedefs and macros for simple and packed minifloat
Glenn Kasten [Thu, 3 Apr 2014 19:31:41 +0000 (12:31 -0700)]
Add typedefs and macros for simple and packed minifloat

Also fix bug in gain_from_float; it was not properly handling +Inf.

Change-Id: Icaa3700f3d2df5ac744db6f3a1d74142641d2d13

10 years agoChange references of Q19.12 to Q4.27 for clarity
Andy Hung [Wed, 2 Apr 2014 18:23:56 +0000 (11:23 -0700)]
Change references of Q19.12 to Q4.27 for clarity

Change-Id: Ic8585026942ff509971193d780c2378f3df4cb0c
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoRename attenuation to gain, and update comments
Glenn Kasten [Tue, 1 Apr 2014 23:52:43 +0000 (16:52 -0700)]
Rename attenuation to gain, and update comments

Change-Id: Ic59ba490cfe6e21e050e1489a913cd6ae0826255

10 years agoRepresent attenuation using 16-bit minifloat
Glenn Kasten [Mon, 31 Mar 2014 22:58:40 +0000 (15:58 -0700)]
Represent attenuation using 16-bit minifloat

Change-Id: I3768318f9170b24dc209aaa4c9a78a5e22d98630

10 years agocamera-metadata: Fix availableTestPatternModes type
Zhijun He [Fri, 28 Mar 2014 06:54:16 +0000 (23:54 -0700)]
camera-metadata: Fix availableTestPatternModes type

Also fixed the typo in android.control.mode related
with scene mode.

Change-Id: I5e311bac4694e1ccfc8d3210fbf8b40e1b31ecef

10 years agoam 8818dd66: am 77828c90: Merge "Fixes for LP64"
Glenn Kasten [Wed, 26 Mar 2014 22:22:39 +0000 (22:22 +0000)]
am 8818dd66: am 77828c90: Merge "Fixes for LP64"

* commit '8818dd669b2cf03f7a66288e9d743de4722c9d81':
  Fixes for LP64

10 years agoam 77828c90: Merge "Fixes for LP64"
Glenn Kasten [Wed, 26 Mar 2014 21:23:24 +0000 (21:23 +0000)]
am 77828c90: Merge "Fixes for LP64"

* commit '77828c90b42043e375230afec9876c7b5bfe1f84':
  Fixes for LP64

10 years agoMerge "Fixes for LP64"
Glenn Kasten [Wed, 26 Mar 2014 21:10:58 +0000 (21:10 +0000)]
Merge "Fixes for LP64"

10 years agoFixes for LP64
Kévin PETIT [Wed, 26 Mar 2014 11:56:32 +0000 (11:56 +0000)]
Fixes for LP64

Change-Id: I30a4eee58385f868795c7fae24a0dd189acf8592
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
10 years agoCamera: Update HAL version in HTML documentation to 3.2
Eino-Ville Talvala [Tue, 25 Mar 2014 22:20:16 +0000 (15:20 -0700)]
Camera: Update HAL version in HTML documentation to 3.2

Change-Id: Iae64e83d7c06121aa0163589562c223335ad8f8c

10 years agoMerge "camera_metadata: Add partial flash state"
Zhijun He [Tue, 25 Mar 2014 20:54:31 +0000 (20:54 +0000)]
Merge "camera_metadata: Add partial flash state"

10 years agocamera_metadata: Add partial flash state
Zhijun He [Tue, 25 Mar 2014 18:33:29 +0000 (11:33 -0700)]
camera_metadata: Add partial flash state

Bug 13637334

Change-Id: Ife5d943851f3f47d33b05d7450765dd273eb1036

10 years agoam a275d476: am fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""
Colin Cross [Tue, 25 Mar 2014 00:20:38 +0000 (00:20 +0000)]
am a275d476: am fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""

* commit 'a275d476dd92715898b156daa414d06b4bafca97':
  Revert "Update 64-bit blacklist for libaudioroute"

10 years agoMerge "camera3: Update whiteLevel/greenSplit docs."
Ruben Brunk [Tue, 25 Mar 2014 00:12:12 +0000 (00:12 +0000)]
Merge "camera3: Update whiteLevel/greenSplit docs."

10 years agoam fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""
Colin Cross [Tue, 25 Mar 2014 00:10:35 +0000 (00:10 +0000)]
am fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""

* commit 'fecd69c05469aaef9f71bd40c2bcfc0532abbc6c':
  Revert "Update 64-bit blacklist for libaudioroute"

10 years agoam fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""
Colin Cross [Tue, 25 Mar 2014 00:10:14 +0000 (00:10 +0000)]
am fecd69c0: Merge "Revert "Update 64-bit blacklist for libaudioroute""

* commit 'fecd69c05469aaef9f71bd40c2bcfc0532abbc6c':
  Revert "Update 64-bit blacklist for libaudioroute"

10 years agocamera3: Update whiteLevel/greenSplit docs.
Ruben Brunk [Tue, 18 Mar 2014 21:37:04 +0000 (14:37 -0700)]
camera3: Update whiteLevel/greenSplit docs.

Bug: 13191430
Change-Id: I61cab65da546bdf1a748f46c28b6fce218b27bc4

10 years agoMerge "Revert "Update 64-bit blacklist for libaudioroute""
Colin Cross [Tue, 25 Mar 2014 00:01:22 +0000 (00:01 +0000)]
Merge "Revert "Update 64-bit blacklist for libaudioroute""

10 years agoRevert "Update 64-bit blacklist for libaudioroute"
Colin Cross [Sat, 22 Mar 2014 05:33:52 +0000 (22:33 -0700)]
Revert "Update 64-bit blacklist for libaudioroute"

This reverts commit b7bd550f054eb141d1e0b57effe614a0f6defd6a.

libaudioroute builds fine for 64-bit

10 years agoMerge "Add PCM_32_BIT and PCM_8_24_BIT to format conversion"
Andy Hung [Wed, 19 Mar 2014 20:39:30 +0000 (20:39 +0000)]
Merge "Add PCM_32_BIT and PCM_8_24_BIT to format conversion"

10 years agoMerge "Rename to clamp16_from_float for naming consistency"
Andy Hung [Wed, 19 Mar 2014 18:07:02 +0000 (18:07 +0000)]
Merge "Rename to clamp16_from_float for naming consistency"

10 years agoMerge "camera_metadata: Update exposureTimeRange related specs"
Zhijun He [Wed, 19 Mar 2014 02:11:57 +0000 (02:11 +0000)]
Merge "camera_metadata: Update exposureTimeRange related specs"

10 years agoAdd PCM_32_BIT and PCM_8_24_BIT to format conversion
Andy Hung [Tue, 18 Mar 2014 20:13:45 +0000 (13:13 -0700)]
Add PCM_32_BIT and PCM_8_24_BIT to format conversion

Change-Id: I533f0be84410117d1c31229bb80b8cabda430f99
Signed-off-by: Andy Hung <hunga@google.com>
10 years agocamera_metadata: Update exposureTimeRange related specs
Zhijun He [Tue, 18 Mar 2014 20:37:23 +0000 (13:37 -0700)]
camera_metadata: Update exposureTimeRange related specs

Bug: 13250951
Change-Id: I8a77feb1b9877c75fd5a41a324fe17605ed338e0

10 years agoRename to clamp16_from_float for naming consistency
Andy Hung [Tue, 18 Mar 2014 19:00:55 +0000 (12:00 -0700)]
Rename to clamp16_from_float for naming consistency

clamp16FromFloat changes to clamp16_from_float.

Change-Id: I01921b1cdc0ba890d347fb57cbe9585c4996ffeb
Signed-off-by: Andy Hung <hunga@google.com>
10 years agohal3: Add missing available mode tags.
Ruben Brunk [Tue, 4 Mar 2014 23:01:25 +0000 (15:01 -0800)]
hal3: Add missing available mode tags.

Change-Id: I588aacade5c5638967970e2e7eb04924c0ea9cc7

10 years agoMerge "hal3: Add availableHotPixelModes, update modes."
Ruben Brunk [Sat, 15 Mar 2014 00:14:46 +0000 (00:14 +0000)]
Merge "hal3: Add availableHotPixelModes, update modes."

10 years agohal3: Add availableHotPixelModes, update modes.
Ruben Brunk [Tue, 4 Mar 2014 22:09:44 +0000 (14:09 -0800)]
hal3: Add availableHotPixelModes, update modes.

Bug: 12957573
Change-Id: I2fd6ef60bf98c53288c2bc343d82a06602474916

10 years agoMerge "Add primitives_tests to audio_utils"
Andy Hung [Fri, 14 Mar 2014 19:58:01 +0000 (19:58 +0000)]
Merge "Add primitives_tests to audio_utils"

10 years agoam 73457221: am 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"
Glenn Kasten [Fri, 14 Mar 2014 18:38:40 +0000 (18:38 +0000)]
am 73457221: am 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"

* commit '734572219819cb10f957d1c98bc819316fc168aa':
  Update 64-bit blacklist for libaudioroute

10 years agoam 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"
Glenn Kasten [Fri, 14 Mar 2014 18:33:54 +0000 (18:33 +0000)]
am 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"

* commit '81e7e45299eb0f0528a4ead333f97b9dd2ef9e35':
  Update 64-bit blacklist for libaudioroute

10 years agoam 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"
Glenn Kasten [Fri, 14 Mar 2014 18:33:51 +0000 (18:33 +0000)]
am 81e7e452: Merge "Update 64-bit blacklist for libaudioroute"

* commit '81e7e45299eb0f0528a4ead333f97b9dd2ef9e35':
  Update 64-bit blacklist for libaudioroute

10 years agoMerge "Update 64-bit blacklist for libaudioroute"
Glenn Kasten [Fri, 14 Mar 2014 18:29:21 +0000 (18:29 +0000)]
Merge "Update 64-bit blacklist for libaudioroute"

10 years agoMerge "resolved conflicts for merge of 8b91acde to master"
Narayan Kamath [Fri, 14 Mar 2014 13:12:46 +0000 (13:12 +0000)]
Merge "resolved conflicts for merge of 8b91acde to master"

10 years agoresolved conflicts for merge of 8b91acde to master
Narayan Kamath [Fri, 14 Mar 2014 10:56:35 +0000 (10:56 +0000)]
resolved conflicts for merge of 8b91acde to master

Change-Id: I6a0a02c008bcc38b8ff4b9a251c1e8e7b3d1c102

10 years agoam ebb95847: am b7f55262: Merge "libcamera_metadata: 64-bit compile issues"
Mark Salyzyn [Fri, 14 Mar 2014 10:46:38 +0000 (10:46 +0000)]
am ebb95847: am b7f55262: Merge "libcamera_metadata: 64-bit compile issues"

* commit 'ebb958476492e5c382176a6ac048435f8954e995':
  libcamera_metadata: 64-bit compile issues

10 years agoam 6d41d77a: Merge "libcamera_metadata: assert correct state on exit"
Mark Salyzyn [Thu, 13 Mar 2014 23:19:02 +0000 (23:19 +0000)]
am 6d41d77a: Merge "libcamera_metadata: assert correct state on exit"

* commit '6d41d77a36741776c26c6983de83f169a0c8ab9d':
  libcamera_metadata: assert correct state on exit

10 years agoam b7f55262: Merge "libcamera_metadata: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 23:18:58 +0000 (23:18 +0000)]
am b7f55262: Merge "libcamera_metadata: 64-bit compile issues"

* commit 'b7f552621eb37f9f5135c7b9110fdddc1c96ab75':
  libcamera_metadata: 64-bit compile issues

10 years agoam 6d41d77a: Merge "libcamera_metadata: assert correct state on exit"
Mark Salyzyn [Thu, 13 Mar 2014 23:06:52 +0000 (23:06 +0000)]
am 6d41d77a: Merge "libcamera_metadata: assert correct state on exit"

* commit '6d41d77a36741776c26c6983de83f169a0c8ab9d':
  libcamera_metadata: assert correct state on exit

10 years agoMerge "libcamera_metadata: assert correct state on exit"
Mark Salyzyn [Thu, 13 Mar 2014 23:01:12 +0000 (23:01 +0000)]
Merge "libcamera_metadata: assert correct state on exit"

10 years agoAdd primitives_tests to audio_utils
Andy Hung [Thu, 13 Mar 2014 22:09:35 +0000 (15:09 -0700)]
Add primitives_tests to audio_utils

Change-Id: Id6959d0f571aef5cb32004895fd7aabd9a5704b8
Signed-off-by: Andy Hung <hunga@google.com>
10 years agolibcamera_metadata: assert correct state on exit
Alex Ray [Wed, 13 Nov 2013 02:09:31 +0000 (18:09 -0800)]
libcamera_metadata: assert correct state on exit

(cherry picked from commit 151389f386c45ff23ca5e2df4c3aaeb1fde3c496)

Change-Id: I2d9138f61665baa6695ac086184246334038236d

10 years agoam b7f55262: Merge "libcamera_metadata: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 21:41:56 +0000 (21:41 +0000)]
am b7f55262: Merge "libcamera_metadata: 64-bit compile issues"

* commit 'b7f552621eb37f9f5135c7b9110fdddc1c96ab75':
  libcamera_metadata: 64-bit compile issues

10 years agoMerge "libcamera_metadata: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 21:36:04 +0000 (21:36 +0000)]
Merge "libcamera_metadata: 64-bit compile issues"

10 years agolibcamera_metadata: 64-bit compile issues
Mark Salyzyn [Thu, 13 Mar 2014 20:24:19 +0000 (13:24 -0700)]
libcamera_metadata: 64-bit compile issues

- logger messages use %zu for size_t
- print format for int32_t and int64_t types.

Change-Id: I3117b074b473f591fd69426a9cd53e8d5d1de52b

10 years agoMerge "camera3: Pass vendor tags through binder."
Ruben Brunk [Thu, 13 Mar 2014 20:18:20 +0000 (20:18 +0000)]
Merge "camera3: Pass vendor tags through binder."

10 years agocamera3: Pass vendor tags through binder.
Ruben Brunk [Sat, 15 Feb 2014 00:40:56 +0000 (16:40 -0800)]
camera3: Pass vendor tags through binder.

Bug: 12134423

Change-Id: Icef3fe9e67160767bdb8244ac49c85b68b497123

10 years agoAdd support for Q8.23 data in audio primitives
Andy Hung [Wed, 12 Mar 2014 18:46:15 +0000 (11:46 -0700)]
Add support for Q8.23 data in audio primitives

Change-Id: I420f1564c0f2c46c81e4596b9d76506e1ebc4a14
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd i32 Q0.31 support to audio primitives
Andy Hung [Wed, 12 Mar 2014 21:44:12 +0000 (14:44 -0700)]
Add i32 Q0.31 support to audio primitives

Change-Id: I118b5eacc9e348cbab8fc51bdf1d498fcbe25241
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd ability to read floats using libsndfile
Glenn Kasten [Tue, 11 Mar 2014 16:03:35 +0000 (09:03 -0700)]
Add ability to read floats using libsndfile

Change-Id: Ia38bac52a68819da73e351e70986de9e29663ed0

10 years agoUpdate 64-bit blacklist for libaudioroute
Glenn Kasten [Sat, 1 Mar 2014 01:24:39 +0000 (17:24 -0800)]
Update 64-bit blacklist for libaudioroute

libaudioroute depends on tinyalsa, which are both 32-bit only since it
is used by mediaserver

Change-Id: If85741bdea73c4272ee751800a0a7f44e6f8efee

10 years agoMerge "Add memcpy based on audio_format to audio_utils"
Andy Hung [Sat, 8 Mar 2014 00:27:35 +0000 (00:27 +0000)]
Merge "Add memcpy based on audio_format to audio_utils"

10 years agoMerge "Add additional audio format conversion for packed 24 bit"
Andy Hung [Fri, 7 Mar 2014 21:25:36 +0000 (21:25 +0000)]
Merge "Add additional audio format conversion for packed 24 bit"

10 years agoam 30bf0cc1: audio_route: fix crash with unsupported control types
Eric Laurent [Fri, 7 Mar 2014 18:30:29 +0000 (18:30 +0000)]
am 30bf0cc1: audio_route: fix crash with unsupported control types

* commit '30bf0cc133ecab46b7999ac791ebe95d0c51d746':
  audio_route: fix crash with unsupported control types

10 years agoAdded parsing of hexadecimal values
Johan Gustavsson [Fri, 8 Nov 2013 09:54:12 +0000 (10:54 +0100)]
Added parsing of hexadecimal values

Parsing of hexadecimal values enables expressing e.g. IIR filter
values in hexadecimal format.

Change-Id: Iaa2913777f96176cc4ffa62d9f44cf2e4a5b5c5b

10 years agoam 018c9453: am 7403742d: am 30bf0cc1: audio_route: fix crash with unsupported contro...
Eric Laurent [Fri, 7 Mar 2014 03:02:43 +0000 (03:02 +0000)]
am 018c9453: am 7403742d: am 30bf0cc1: audio_route: fix crash with unsupported control types

* commit '018c9453eb24a9fcd99f90f6f2aa309849ef4ce2':
  audio_route: fix crash with unsupported control types

10 years agoAdd memcpy based on audio_format to audio_utils
Andy Hung [Fri, 7 Mar 2014 01:36:40 +0000 (17:36 -0800)]
Add memcpy based on audio_format to audio_utils

Use audio_utils/format.h to include them.

Change-Id: I5b9fb0ba3fa09858e0b5af1ffefa3c69d943720f
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoAdd additional audio format conversion for packed 24 bit
Andy Hung [Thu, 6 Mar 2014 21:04:56 +0000 (13:04 -0800)]
Add additional audio format conversion for packed 24 bit

Change-Id: Id1c6a3de9dab629e4a4ec716acd09e1dbc990935
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoam 7403742d: am 30bf0cc1: audio_route: fix crash with unsupported control types
Eric Laurent [Thu, 6 Mar 2014 22:41:17 +0000 (22:41 +0000)]
am 7403742d: am 30bf0cc1: audio_route: fix crash with unsupported control types

* commit '7403742de26589ecd83d117c1cb374d038d7b0f5':
  audio_route: fix crash with unsupported control types

10 years agoam 30bf0cc1: audio_route: fix crash with unsupported control types
Eric Laurent [Thu, 6 Mar 2014 21:02:33 +0000 (21:02 +0000)]
am 30bf0cc1: audio_route: fix crash with unsupported control types

* commit '30bf0cc133ecab46b7999ac791ebe95d0c51d746':
  audio_route: fix crash with unsupported control types

10 years agoaudio_route: fix crash with unsupported control types
Eric Laurent [Wed, 18 Dec 2013 17:58:04 +0000 (09:58 -0800)]
audio_route: fix crash with unsupported control types

Check if control type is supported before accessing xxx_value
fields in mixer_state structure.

Also remove unused parameter warning.

Bug: 12871072.
Change-Id: I64c7d5e16728e3502f1fcd0a40658b72ec7acbe7

10 years agocamera_metadata: Change CameraCaptureResultTest to CaptureResultTest
Zhijun He [Tue, 4 Mar 2014 01:39:47 +0000 (17:39 -0800)]
camera_metadata: Change CameraCaptureResultTest to CaptureResultTest

Change-Id: I3da633a9a50cbf1cd27ed4c4fe29acf8b78b54a7

10 years agocamera_metadata: Make android.shading.mode public
Zhijun He [Tue, 4 Mar 2014 01:32:30 +0000 (17:32 -0800)]
camera_metadata: Make android.shading.mode public

Change-Id: I94f506be19940b1881e65a8de9fe8198194932a3

10 years agoAdd float_from_q19_12 inline primitive
Andy Hung [Fri, 28 Feb 2014 23:29:47 +0000 (15:29 -0800)]
Add float_from_q19_12 inline primitive

Unifies conversion to float from Q19.12 integer format.

Change-Id: Ic6f81019c19321f4bbc3d231276a60510419a901
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "Add Q19.12 to float conversion"
Andy Hung [Thu, 27 Feb 2014 03:32:37 +0000 (03:32 +0000)]
Merge "Add Q19.12 to float conversion"

10 years agoMerge "Fix float to i16 conversion in primitives.c"
Andy Hung [Thu, 27 Feb 2014 02:28:53 +0000 (02:28 +0000)]
Merge "Fix float to i16 conversion in primitives.c"

10 years agoAdd Q19.12 to float conversion
Andy Hung [Tue, 25 Feb 2014 03:07:40 +0000 (19:07 -0800)]
Add Q19.12 to float conversion

Change-Id: I4c9affada24da4a61afff83442fc74bb0db41549
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoFix float to i16 conversion in primitives.c
Andy Hung [Tue, 25 Feb 2014 02:36:35 +0000 (18:36 -0800)]
Fix float to i16 conversion in primitives.c

Updated memcpy_to_i16_from_float():
Made bit-accurate invertible with power of 2 scaling.
Also removed discontinuity around 0 (round versus truncate).

Added clamp16FromFloat() to clamp float audio range of
[-1.0, 1.0) to int16_t.

Change-Id: I45b23f32ae46a4d7f86c8e5482ee43538298ce89
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "camera_metadata: Correct some minor errors in awb region spec"
Zhijun He [Mon, 24 Feb 2014 23:18:39 +0000 (23:18 +0000)]
Merge "camera_metadata: Correct some minor errors in awb region spec"

10 years agoMerge "Add non-zero sample and frame counting functions"
Glenn Kasten [Mon, 24 Feb 2014 22:21:38 +0000 (22:21 +0000)]
Merge "Add non-zero sample and frame counting functions"