OSDN Git Service
Eino-Ville Talvala [Thu, 8 Aug 2013 19:56:37 +0000 (12:56 -0700)]
Camera: Update SDK metadata key/enum generation
- Flatten Key hierarchy
- Insert Keys into their respective containers instead of separate files
- Use ints instead of Enum types
- Insert enum ints into CameraMetadata
- Add @see cross-references between enum Keys and values.
- Add Javadoc to Keys and enum values.
- Map SCALER_AVAILABLE_FORMATS to int
Bug:
10345522
Change-Id: Ia9762b326b404c572de97c2c7814c4e2e0f3070d
Timothy Knight [Tue, 30 Jul 2013 02:21:49 +0000 (19:21 -0700)]
Added auto-generator for CameraProperties CTS test
Conflicts:
camera/docs/metadata-generate
Change-Id: If34887e869cea7ea2c344c000cb959fe6297e9c0
Glenn Kasten [Tue, 5 Feb 2013 21:14:08 +0000 (13:14 -0800)]
Add support for writing float .wav to tinysndfile
Also improve error handling for the .wav reader
Change-Id: I1a309c723389c9eafd81344d9de4973d237837b8
Glenn Kasten [Tue, 30 Jul 2013 23:09:26 +0000 (23:09 +0000)]
Merge "Add memcpy_to_i16_from_i32 and memcpy_to_i16_from_float"
Eino-Ville Talvala [Tue, 30 Jul 2013 17:58:00 +0000 (17:58 +0000)]
Merge "Camera: Rename photography -> camera2"
Glenn Kasten [Fri, 21 Jun 2013 21:01:54 +0000 (14:01 -0700)]
Add memcpy_to_i16_from_i32 and memcpy_to_i16_from_float
Change-Id: I0c74d99f3201dbd7f51ba0a6e85c51c207c1db1f
Glenn Kasten [Fri, 26 Jul 2013 21:15:46 +0000 (21:15 +0000)]
Merge "Minor resampler cleanup: comments and qualifier order"
Eino-Ville Talvala [Fri, 26 Jul 2013 00:10:11 +0000 (17:10 -0700)]
Camera: Rename photography -> camera2
Change-Id: I3d7235b9a82bd5b5c32dab5c9c0bf0718ebf0447
Glenn Kasten [Wed, 17 Jul 2013 14:25:05 +0000 (07:25 -0700)]
Minor resampler cleanup: comments and qualifier order
Add comments for utility function used by resampler.
Use const int32_t * not int32_t const *.
Change-Id: Iaa5d6a5f7f77178ce0492dc77dcc5c1204271e5f
Igor Murashkin [Wed, 17 Jul 2013 23:29:34 +0000 (16:29 -0700)]
camera_metadata: add typedefs for java generated code
Change-Id: I619261b9645cda669a3b5ee7c79f4c56d4d4c3d4
Zhijun He [Wed, 17 Jul 2013 16:42:58 +0000 (09:42 -0700)]
camera_metadata: Add/Update some metadata tags
Below tags are Added/Updated:
android.statistics.sceneFlicker
android.colorCorrection.gains
android.statistics.lensShadingMapMode
android.lens.info.lensShadingMapSize
android.statistics.lensShadingMap
android.statistics.predictedColorTransform
android.statistics.predictedColorGains
android.sensor.info.sensitivityRange
Also fixed some typos in tag descrptions.
Change-Id: Ib051bd3c97dad04062ece82e90bce8e6a2531bbd
Eino-Ville Talvala [Tue, 16 Jul 2013 23:18:44 +0000 (16:18 -0700)]
Camera: Improve HTML docs appearance
- Sort TOC by kind
- Update color choices to mimic developer docs
- Add paragraph breaks to several notes sections
Change-Id: Ic4cef63d45bef9edb141f2c65f2004b2b5db4c15
Eino-Ville Talvala [Sat, 13 Jul 2013 00:02:27 +0000 (17:02 -0700)]
camera_metadata: Add visibility support, and a HAL2 tag
- Add a visibility property which controls whether a tag is available
only to the system, hidden in managed code, or public in managed code.
- Add a HAL2 tag to indicate HAL2.x-only tags
- Fix output/inputStream tags to be arrays.
Change-Id: I856d0b1bf413eefd58914e5b85b08331a4bf4536
Zhijun He [Mon, 15 Jul 2013 21:28:32 +0000 (21:28 +0000)]
Merge "Camera: Metadata: clear metadata buffer entry before values are assigned"
Zhijun He [Mon, 15 Jul 2013 20:55:11 +0000 (13:55 -0700)]
Camera: Metadata: clear metadata buffer entry before values are assigned
To avoid inconsistent state of metadata buffer entry when the entry count is 0.
Bug:
9529161
Change-Id: Ic3fa4b39457142b8bec61d0625d04672b51890b7
Igor Murashkin [Sat, 29 Jun 2013 00:27:49 +0000 (17:27 -0700)]
camera_metadata: Generate java metadata keys source code
Change-Id: Id1d1d4367eb51354e85c4eea38c593a498932e5b
Igor Murashkin [Wed, 26 Jun 2013 23:20:20 +0000 (23:20 +0000)]
Merge "Tweak the metadata-generate script to spit out git repositories that need commit"
Ravi Kumar Alamanda [Sat, 25 May 2013 01:02:24 +0000 (18:02 -0700)]
audio_route: use mixer_ctl_get/set_array
Rather than make individual calls to tinyalsa for every
value in each mixer control, which is expensive for linked
controls, use the array get/set functions instead. This
reduces the number of system calls that tinyalsa has to
make. The majority of controls are linked and have 1 or 2
values so the CPU overhead is small.
Change-Id: If32cb8c639e113403641cab0d68b32799cebb059
Igor Murashkin [Fri, 21 Jun 2013 19:10:42 +0000 (12:10 -0700)]
Tweak the metadata-generate script to spit out git repositories that need commit
Bug:
9529161
Change-Id: I739b5d5f273e8447bcb955e978c66e4d61c7ace9
The Android Open Source Project [Fri, 24 May 2013 22:30:17 +0000 (15:30 -0700)]
am
f35f6ce7: (-s ours) Reconcile with jb-mr2-release - do not merge
* commit '
f35f6ce75375b05634a0acb332635e1954058336':
camera_metadata: Add supportedHardwareLevel field
The Android Open Source Project [Fri, 24 May 2013 22:28:34 +0000 (15:28 -0700)]
Reconcile with jb-mr2-release - do not merge
Change-Id: I03fc6d2dac608cdc0e0c83a87cc90b821f4be52c
Igor Murashkin [Fri, 24 May 2013 19:40:59 +0000 (12:40 -0700)]
am
38b8cae3: camera_metadata: Add supportedHardwareLevel field
* commit '
38b8cae3876ce1c02d6da310ad93fb31d9c5a9ed':
camera_metadata: Add supportedHardwareLevel field
Igor Murashkin [Thu, 23 May 2013 23:38:59 +0000 (16:38 -0700)]
camera_metadata: Add supportedHardwareLevel field
Bug:
9111852
Change-Id: I6a01cb2678c8cd824eb2eb84d69d47a524c20750
Igor Murashkin [Thu, 23 May 2013 23:38:59 +0000 (16:38 -0700)]
camera_metadata: Add supportedHardwareLevel field
Bug:
9111852
Change-Id: I6a01cb2678c8cd824eb2eb84d69d47a524c20750
Zhijun He [Mon, 20 May 2013 17:00:46 +0000 (10:00 -0700)]
am
c2eebfff: Camera: Metadata: Fix color format dump issue
* commit '
c2eebfffbaeb9da4093d3cd1a323974dbb2b164d':
Camera: Metadata: Fix color format dump issue
Simon Wilson [Fri, 17 May 2013 21:22:42 +0000 (21:22 +0000)]
Merge "audio_route: skip missing controls"
Zhijun He [Fri, 17 May 2013 00:49:35 +0000 (17:49 -0700)]
Camera: Metadata: Fix color format dump issue
There are typos and missing color formats in metadata property file, which makes
metadata dump produce misleading logs.
This is debug only change, shouldn't impact any functionality.
Bug:
8970663
Change-Id: If6b9bac9c88db993be51f6eb22ad8821d70abf51
Zhijun He [Tue, 14 May 2013 06:31:46 +0000 (23:31 -0700)]
am
bd7f15b4: Camera: Metadata: Fix the activeArraySize typo.
* commit '
bd7f15b4123546106acb95657289026f4da5a813':
Camera: Metadata: Fix the activeArraySize typo.
Zhijun He [Mon, 13 May 2013 23:59:51 +0000 (16:59 -0700)]
Camera: Metadata: Fix the activeArraySize typo.
Bug:
8778377
Change-Id: I1b0724cdc5d72ca54f8b88d101ef13601a95c4fb
Simon Wilson [Mon, 13 May 2013 19:47:41 +0000 (12:47 -0700)]
audio_route: skip missing controls
Mixer controls that are in mixer_paths.xml but missing from
the mixer should be skipped, otherwise arrays will be accessed
out of bounds. This happened in b/
8893515.
Also print the missing control name to aid debugging.
Change-Id: Ia808df48734f78a02281408a4025652dec9762c0
Simon Wilson [Thu, 9 May 2013 18:14:18 +0000 (18:14 +0000)]
Merge "audio_route: use ctl_index instead of searching"
Eino-Ville Talvala [Tue, 7 May 2013 23:45:17 +0000 (23:45 +0000)]
Merge "Camera: Revise crop region definition." into jb-mr2-dev
Igor Murashkin [Tue, 7 May 2013 23:43:06 +0000 (23:43 +0000)]
Merge "camera_metadata: Fix inconsistencies in digital zoom reporting" into jb-mr2-dev
Alex Ray [Tue, 7 May 2013 22:31:36 +0000 (22:31 +0000)]
Merge "Camera: Metadata: Fix a.ctrl.awbAvailableModes" into jb-mr2-dev
Eino-Ville Talvala [Tue, 16 Apr 2013 22:35:18 +0000 (15:35 -0700)]
Camera: Revise crop region definition.
The current definition is too coarse for controlling the relative
cropping of the output streams.
Bug:
8484377
Change-Id: I5f673fa851dac4648b2b30fe9c7b518ce7689c9c
Igor Murashkin [Tue, 7 May 2013 17:00:46 +0000 (10:00 -0700)]
camera_metadata: Fix inconsistencies in digital zoom reporting
Bug:
8840802
Change-Id: I195aa3b3ea8a60a7f737ec9abcae676a2d6c1e4f
Igor Murashkin [Wed, 1 May 2013 00:21:54 +0000 (17:21 -0700)]
camera_metadata: add validation function to ensure structural sanity
This is particularly useful when accepting copied metadata from another process,
since it could put whatever it want into the binder parcel.
Bug:
8713951
Change-Id: I72b25b2bf96230eb995bb32e3bbd68de16e122cd
Alex Ray [Tue, 30 Apr 2013 23:43:44 +0000 (16:43 -0700)]
Camera: Metadata: Fix a.ctrl.awbAvailableModes
Bug:
8778377
Change-Id: I36138b903909d6cd849efc1775630fcea23dd57d
Igor Murashkin [Tue, 23 Apr 2013 21:31:02 +0000 (14:31 -0700)]
camera_metadata: add new android.led.transmit and availableLeds fields
Bug:
8554573
Change-Id: Iaa93deeab5ee228bf7e01c58d80f1cdb5b2bb79c
Ying Wang [Wed, 10 Apr 2013 05:04:38 +0000 (22:04 -0700)]
Add liblog
Bug:
8580410
Change-Id: I135d98df6283f2c8cfc94817b2d09d68cf0063c0
Igor Murashkin [Tue, 2 Apr 2013 22:19:40 +0000 (15:19 -0700)]
camera_metadata: Mark enum snprint with non-hidden visibility
Since by default our build system assumes everything has hidden visibility,
the symbols for the enum snprint function were not being exported.
Change-Id: I6c0b36067052aceca9ccd56a1b073fd96b35f6ef
Alex Ray [Wed, 27 Mar 2013 23:40:34 +0000 (16:40 -0700)]
Camera: Metadata: Fix markdown error in Readme.md
Protect filename that contains syntax-parsed "_" character.
Change-Id: I7688ba2e2fbf3172be46e7652fc1d228a5f474b4
Alex Ray [Wed, 27 Mar 2013 23:26:41 +0000 (16:26 -0700)]
Camera: Metadata: give explicit 3A starting states
Change-Id: I9633393484525ee0e233be9a4835aeed4a075429
Eino-Ville Talvala [Fri, 22 Mar 2013 00:20:16 +0000 (00:20 +0000)]
Merge "Camera: Add trigger metadata entries." into jb-mr2-dev
Eino-Ville Talvala [Mon, 18 Mar 2013 16:43:57 +0000 (09:43 -0700)]
Camera: Fix metadata generation on OS X.
- readlink has no -f option.
- mktemp requires a template
Change-Id: I77e2fd6a664cda5edeeeb4d781ab5439d6c7c507
Eino-Ville Talvala [Mon, 18 Mar 2013 16:42:48 +0000 (09:42 -0700)]
Camera: Add trigger metadata entries.
Camera HAL 3.0 signals triggers through the request settings metadata,
instead of through a separate trigger method.
Change-Id: I9ecfa3b300faed34af18c3e116d659f77a27da81
Simon Wilson [Wed, 13 Feb 2013 00:41:52 +0000 (16:41 -0800)]
audio_route: use ctl_index instead of searching
Store the ctl_index instead of the ctl in the path so
that path_apply() and path_reset() don't have to
do a linear search through all the controls each time
to locate the index.
Change-Id: I0204310df55303dffdf10f68b652a820ca252d95
Glenn Kasten [Wed, 13 Feb 2013 00:23:42 +0000 (16:23 -0800)]
Fix make checkbuild on Mac: swab() already declared
Change-Id: I76f55c4431c6e1fbca23cbcb43587b68f63ee07c
Ravi Kumar Alamanda [Fri, 8 Feb 2013 15:41:07 +0000 (07:41 -0800)]
Add audio_route_reset_path()
Change-Id: I24905ef23f74673e1f97b591d7dcb04a54744f05
Eino-Ville Talvala [Thu, 31 Jan 2013 02:59:41 +0000 (18:59 -0800)]
am
721b107e: (-s ours) Camera: Fix ordering of boolean enums, types for curves.: DO NOT MERGE
# Via Igor Murashkin
* commit '
721b107e98cd61046fa137adbd8fe82eb1147e99':
Camera: Fix ordering of boolean enums, types for curves.: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:41 +0000 (18:59 -0800)]
am
095e4663: (-s ours) Camera2: Docs - Add output_file option to metadata_parser_xml.py: DO NOT MERGE
# Via Igor Murashkin
* commit '
095e4663d6062c7005a1aa49e652529c6c5db97e':
Camera2: Docs - Add output_file option to metadata_parser_xml.py: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:40 +0000 (18:59 -0800)]
am
1653ad0e: (-s ours) Camera2: Docs - Fix tags to be displayed in the docs HTML: DO NOT MERGE
# Via Igor Murashkin
* commit '
1653ad0ee7565cc1bf0e67b5f0ca5fd51eab3edc':
Camera2: Docs - Fix tags to be displayed in the docs HTML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:40 +0000 (18:59 -0800)]
am
7d4f08e0: (-s ours) Camera: Docs XML - allow multiple kinds per section: DO NOT MERGE
# Via Igor Murashkin
* commit '
7d4f08e081e18ef2f478fa94c54923d74a5d6ffd':
Camera: Docs XML - allow multiple kinds per section: DO NOT MERGE
Eino-Ville Talvala [Thu, 31 Jan 2013 02:59:39 +0000 (18:59 -0800)]
am
f15f1ec0: (-s ours) Update camera metadata tests to new enums: DO NOT MERGE
# Via Igor Murashkin
* commit '
f15f1ec0f4204d172b38ae57548df1a2a31d423c':
Update camera metadata tests to new enums: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:38 +0000 (18:59 -0800)]
am
ea88f67e: (-s ours) Camera2: Doc entries no longer have type=\'enum\', instead they use enum=\'true\': DO NOT MERGE
# Via Igor Murashkin
* commit '
ea88f67efcf79f613a1183c0ff2bdf3e1068c6f3':
Camera2: Doc entries no longer have type='enum', instead they use enum='true': DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:38 +0000 (18:59 -0800)]
am
f559bd26: (-s ours) Camera2: Update generate scripts check for dependencies and to support MacPorts: DO NOT MERGE
# Via Igor Murashkin
* commit '
f559bd265b60f743029086ceab7bbd0384d85e44':
Camera2: Update generate scripts check for dependencies and to support MacPorts: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:37 +0000 (18:59 -0800)]
am
5b6e79aa: (-s ours) Camera2: Dump enum data types as strings, not integers: DO NOT MERGE
# Via Igor Murashkin
* commit '
5b6e79aad5371d5651268c65f9fef9c07c9d1a89':
Camera2: Dump enum data types as strings, not integers: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:36 +0000 (18:59 -0800)]
am
d728474a: (-s ours) Camera: Generate camera_metadata_tags and HTML docs from XML: DO NOT MERGE
# Via Igor Murashkin
* commit '
d728474a27777e3a153088a01099109f16c6a0de':
Camera: Generate camera_metadata_tags and HTML docs from XML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:35 +0000 (18:59 -0800)]
am
84a79d8c: (-s ours) Camera2: Fix metadata XML to maintain ordering: DO NOT MERGE
# Via Igor Murashkin
* commit '
84a79d8ce866c823914eaf29b828fae8ee325d6b':
Camera2: Fix metadata XML to maintain ordering: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:34 +0000 (18:59 -0800)]
am
ca9e6549: (-s ours) Camera2: Prepare to generate tags from script: DO NOT MERGE
# Via Igor Murashkin
* commit '
ca9e65498b00c26575209012b7da0b50a170f47e':
Camera2: Prepare to generate tags from script: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:33 +0000 (18:59 -0800)]
am
2fcc8c97: (-s ours) Camera: Add a script to generate files from XML: DO NOT MERGE
# Via Igor Murashkin
* commit '
2fcc8c977913ff766919ea9a0694279072121e38':
Camera: Add a script to generate files from XML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:32 +0000 (18:59 -0800)]
am
f0356df1: (-s ours) Camera: Generate tag string info from XML: DO NOT MERGE
# Via Igor Murashkin
* commit '
f0356df1c0ef2e6c59f0bd890bb79a5c318e1713':
Camera: Generate tag string info from XML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:31 +0000 (18:59 -0800)]
am
b03a004f: (-s ours) Camera: Generate camera_metadata_tags.h from XML: DO NOT MERGE
# Via Igor Murashkin
* commit '
b03a004fd5a7ad9436da45ac33246a4d07e75a7f':
Camera: Generate camera_metadata_tags.h from XML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:31 +0000 (18:59 -0800)]
am
78d9b354: (-s ours) Camera: Metadata XML cleanup, add README: DO NOT MERGE
# Via Igor Murashkin
* commit '
78d9b3543439115fe723770f1facee21a3e1793a':
Camera: Metadata XML cleanup, add README: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:30 +0000 (18:59 -0800)]
am
344fd20d: (-s ours) Camera: Metadata docs HTML generated from XML: DO NOT MERGE
# Via Igor Murashkin
* commit '
344fd20d2cd4902fe4dbdf5c3192ed8ab162eca2':
Camera: Metadata docs HTML generated from XML: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:29 +0000 (18:59 -0800)]
am
ddfc7fc4: (-s ours) Camera: Add an XML parser for the XML metadata: DO NOT MERGE
# Via Igor Murashkin
* commit '
ddfc7fc4157c2389ed60cc20a3c1384e89d8d8bb':
Camera: Add an XML parser for the XML metadata: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:29 +0000 (18:59 -0800)]
am
cd6ebaa8: (-s ours) Camera: Define all Properties via an XML data file: DO NOT MERGE
# Via Igor Murashkin
* commit '
cd6ebaa8e4567f3b425393a1badeef4f7c9496ae':
Camera: Define all Properties via an XML data file: DO NOT MERGE
Eino-Ville Talvala [Fri, 11 Jan 2013 21:57:19 +0000 (13:57 -0800)]
Camera: Fix ordering of boolean enums, types for curves.: DO NOT MERGE
- Flipping boolean enumeration definition confused some HAL
implementations.
- Tonemap curves should all be type float.
Bug:
7974125
Change-Id: I533888af5fc7f1fa709d758f1f9de1c2c3b475a3
Igor Murashkin [Wed, 5 Dec 2012 22:51:57 +0000 (14:51 -0800)]
Camera2: Docs - Add output_file option to metadata_parser_xml.py: DO NOT MERGE
Change-Id: I5b7d991bc569c36e23a9567289e9c4dbd9759378
Igor Murashkin [Wed, 5 Dec 2012 22:49:11 +0000 (14:49 -0800)]
Camera2: Docs - Fix tags to be displayed in the docs HTML: DO NOT MERGE
Change-Id: Id23043f7bb714e4b5c06f46889e1531175ed045f
Igor Murashkin [Wed, 5 Dec 2012 21:06:59 +0000 (13:06 -0800)]
Camera: Docs XML - allow multiple kinds per section: DO NOT MERGE
- When adding a new entry and maintaining ABI, make a new kind if can't be
semantically part of the last kind. Don't add to the end of an existing
non-last kind.
- Print generated file names in metadata-generate
(Aside) New sections should also be ended at the end of the root namespace to
maintain ABI compatibility.
Change-Id: I5df0a701763af3cc91ee6eead4fe9fd423c9aa86
Eino-Ville Talvala [Wed, 5 Dec 2012 18:12:13 +0000 (10:12 -0800)]
Update camera metadata tests to new enums: DO NOT MERGE
Change-Id: I9474f34de3c8d780f8bdbc388ddd883c123b41b9
Igor Murashkin [Wed, 5 Dec 2012 00:07:21 +0000 (16:07 -0800)]
Camera2: Doc entries no longer have type='enum', instead they use enum='true': DO NOT MERGE
* This allows all entries to have any backing type
(usually a byte, but for availableFormats it's int32)
* No longer need special casing for availableFormats
* No longer need to coerce an enum type into a byte
Change-Id: Ib1d4b93521e90f243b54f66c3d4c4b35032bc06a
Igor Murashkin [Tue, 4 Dec 2012 22:59:53 +0000 (14:59 -0800)]
Camera2: Update generate scripts check for dependencies and to support MacPorts: DO NOT MERGE
Change-Id: Ice9b658f8e6f87a1a490c367bff2f9a685ddee44
Igor Murashkin [Mon, 3 Dec 2012 21:55:33 +0000 (13:55 -0800)]
Camera2: Dump enum data types as strings, not integers: DO NOT MERGE
Change-Id: Ia225662d4ee0aad81b22b96355d7f39c4aa70d42
Igor Murashkin [Thu, 29 Nov 2012 23:23:03 +0000 (15:23 -0800)]
Camera: Generate camera_metadata_tags and HTML docs from XML: DO NOT MERGE
Change-Id: Ib7e9bf4855adff91a317c910aaec960f1422302a
Igor Murashkin [Fri, 30 Nov 2012 01:08:36 +0000 (17:08 -0800)]
Camera2: Fix metadata XML to maintain ordering: DO NOT MERGE
Change-Id: I69adfbb1010b5f624d3ee618a1a45e0be510ca31
Igor Murashkin [Mon, 26 Nov 2012 23:26:38 +0000 (15:26 -0800)]
Camera2: Prepare to generate tags from script: DO NOT MERGE
Change-Id: Ic5195830cd6ff296de793eb4fbe418dd4e3136ca
Igor Murashkin [Mon, 26 Nov 2012 20:01:11 +0000 (12:01 -0800)]
Camera: Add a script to generate files from XML: DO NOT MERGE
Change-Id: I638017934ddfcfe8ab8f9f56bebb587dae35f17f
Igor Murashkin [Thu, 22 Nov 2012 01:11:37 +0000 (17:11 -0800)]
Camera: Generate tag string info from XML: DO NOT MERGE
Change-Id: I5109a3c46a065fb2dce31482d4377c33aeb84176
Igor Murashkin [Wed, 21 Nov 2012 22:23:24 +0000 (14:23 -0800)]
Camera: Generate camera_metadata_tags.h from XML: DO NOT MERGE
Change-Id: Ie98f9dca854841ff1430c1314fbc570e26e5398b
Igor Murashkin [Wed, 21 Nov 2012 17:44:05 +0000 (09:44 -0800)]
Camera: Metadata XML cleanup, add README: DO NOT MERGE
Change-Id: Ib53757029becbd4148867a144ba3725c4f9e5d82
Igor Murashkin [Thu, 29 Nov 2012 21:35:15 +0000 (13:35 -0800)]
Camera: Metadata docs HTML generated from XML: DO NOT MERGE
Change-Id: Ic39249d7019dab0a6c5f5daf5d54074f6cc9c0d4
Igor Murashkin [Tue, 20 Nov 2012 00:49:37 +0000 (16:49 -0800)]
Camera: Add an XML parser for the XML metadata: DO NOT MERGE
Change-Id: Ie97893e82d6cae2cb7fa3853b326df1cf0f3ff18
Igor Murashkin [Sat, 10 Nov 2012 00:15:02 +0000 (16:15 -0800)]
Camera: Define all Properties via an XML data file: DO NOT MERGE
Change-Id: I82aad9e1e8c8064373a9881f255ec2eb9d2f023e
Simon Wilson [Wed, 16 Jan 2013 00:35:46 +0000 (16:35 -0800)]
Put audio_route into its own library
The audio_route library allows mixer paths to be
loaded from an XML file and can control a mixer
via tinyalsa. It contains useful functions that
can be factored out of the audio HAL.
Change-Id: Iebcb2b492c5936dbf0e0b976aeaa4ffbab136588
Eino-Ville Talvala [Fri, 11 Jan 2013 21:57:19 +0000 (13:57 -0800)]
Camera: Fix ordering of boolean enums, types for curves.
- Flipping boolean enumeration definition confused some HAL
implementations.
- Tonemap curves should all be type float.
Bug:
7974125
Change-Id: I533888af5fc7f1fa709d758f1f9de1c2c3b475a3
Glenn Kasten [Wed, 9 Jan 2013 00:37:06 +0000 (16:37 -0800)]
Fix build warnings
Tested by comparing assembly output of "arm-eabi-objdump -d";
the old and new .s were identical.
Change-Id: If056afb731cb6ea67563cffe51fe8f93001301e7
Glenn Kasten [Tue, 8 Jan 2013 19:31:58 +0000 (11:31 -0800)]
Merge "Implement sf_open(SFM_WRITE) and sf_writef_short"
Glenn Kasten [Fri, 4 Jan 2013 19:24:55 +0000 (11:24 -0800)]
Implement sf_open(SFM_WRITE) and sf_writef_short
Also fix handle leak in sf_close(), and bad riffSize check in sf_open(SFM_READ).
Change-Id: Idec38b244cb1d076db1505e29df347ce85e4e30a
Glenn Kasten [Mon, 17 Dec 2012 20:09:21 +0000 (12:09 -0800)]
Port libsndfile to host
Change-Id: I24a5696f313312bb5ff2b73fd58632ebbde74a9b
Igor Murashkin [Wed, 12 Dec 2012 20:47:09 +0000 (12:47 -0800)]
Merge "Camera2: Docs - Add output_file option to metadata_parser_xml.py"
Igor Murashkin [Wed, 12 Dec 2012 20:46:58 +0000 (12:46 -0800)]
Merge "Camera2: Docs - Fix tags to be displayed in the docs HTML"
Igor Murashkin [Wed, 12 Dec 2012 20:46:43 +0000 (12:46 -0800)]
Merge "Camera: Docs XML - allow multiple kinds per section"
Igor Murashkin [Wed, 5 Dec 2012 22:51:57 +0000 (14:51 -0800)]
Camera2: Docs - Add output_file option to metadata_parser_xml.py
Change-Id: I5b7d991bc569c36e23a9567289e9c4dbd9759378
Igor Murashkin [Wed, 5 Dec 2012 22:49:11 +0000 (14:49 -0800)]
Camera2: Docs - Fix tags to be displayed in the docs HTML
Change-Id: Id23043f7bb714e4b5c06f46889e1531175ed045f
Igor Murashkin [Wed, 5 Dec 2012 21:06:59 +0000 (13:06 -0800)]
Camera: Docs XML - allow multiple kinds per section
- When adding a new entry and maintaining ABI, make a new kind if can't be
semantically part of the last kind. Don't add to the end of an existing
non-last kind.
- Print generated file names in metadata-generate
(Aside) New sections should also be ended at the end of the root namespace to
maintain ABI compatibility.
Change-Id: I5df0a701763af3cc91ee6eead4fe9fd423c9aa86
Eino-Ville Talvala [Wed, 5 Dec 2012 18:12:13 +0000 (10:12 -0800)]
Update camera metadata tests to new enums
Change-Id: I9474f34de3c8d780f8bdbc388ddd883c123b41b9
Igor Murashkin [Wed, 5 Dec 2012 00:07:21 +0000 (16:07 -0800)]
Camera2: Doc entries no longer have type='enum', instead they use enum='true'
* This allows all entries to have any backing type
(usually a byte, but for availableFormats it's int32)
* No longer need special casing for availableFormats
* No longer need to coerce an enum type into a byte
Change-Id: Ib1d4b93521e90f243b54f66c3d4c4b35032bc06a
Igor Murashkin [Tue, 4 Dec 2012 22:59:53 +0000 (14:59 -0800)]
Camera2: Update generate scripts check for dependencies and to support MacPorts
Change-Id: Ice9b658f8e6f87a1a490c367bff2f9a685ddee44