Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
aidl/ | 15-Dec-2024 | - | 244 | 219 | ||
images/camera2/metadata/ | 14-Jan-2024 | - | ||||
.gitignore | D | 14-Jan-2024 | 6 | 2 | 1 | |
ACameraMetadata.mako | D | 14-Jan-2024 | 3.1 KiB | 81 | 76 | |
CameraCharacteristicsKeys.mako | D | 15-Dec-2024 | 1.7 KiB | 40 | 38 | |
CameraDeviceInfo.mako | D | 15-Dec-2024 | 1.9 KiB | 46 | 42 | |
CameraMetadataEnums.mako | D | 15-Dec-2024 | 4.2 KiB | 107 | 103 | |
CameraMetadataKeys.mako | D | 15-Dec-2024 | 4.5 KiB | 114 | 111 | |
CaptureRequestKeys.mako | D | 15-Dec-2024 | 927 | 21 | 20 | |
CaptureResultKeys.mako | D | 15-Dec-2024 | 925 | 21 | 20 | |
CaptureResultTest.mako | D | 15-Dec-2024 | 1.8 KiB | 45 | 41 | |
HidlMetadata.mako | D | 14-Jan-2024 | 6.9 KiB | 170 | 150 | |
README.md | D | 15-Dec-2024 | 1.2 KiB | 33 | 28 | |
__init__.py | D | 14-Jan-2024 | 664 | 20 | 0 | |
camera_device_info.mako | D | 14-Jan-2024 | 3.9 KiB | 149 | 126 | |
camera_device_info.proto | D | 15-Dec-2024 | 11.6 KiB | 246 | 223 | |
camera_metadata_asserts.mako | D | 15-Dec-2024 | 3.5 KiB | 92 | 81 | |
camera_metadata_tag_info.mako | D | 14-Jan-2024 | 4.4 KiB | 149 | 129 | |
camera_metadata_tags.mako | D | 14-Jan-2024 | 3.4 KiB | 113 | 99 | |
docs.html | D | 15-Dec-2024 | 1.9 MiB | 42,754 | 33,476 | |
extension_camera_metadata_tags.mako | D | 15-Dec-2024 | 1.3 KiB | 42 | 39 | |
html.mako | D | 14-Jan-2024 | 14.4 KiB | 424 | 363 | |
metadata-check-dependencies | D | 14-Jan-2024 | 2.4 KiB | 116 | 80 | |
metadata-generate | D | 15-Dec-2024 | 11.1 KiB | 300 | 189 | |
metadata-parser-validity-check | D | 14-Jan-2024 | 1.8 KiB | 66 | 35 | |
metadata-validate | D | 14-Jan-2024 | 959 | 34 | 11 | |
metadata_definitions.xml | D | 15-Dec-2024 | 775.4 KiB | 15,026 | 13,748 | |
metadata_definitions.xsd | D | 15-Dec-2024 | 14.4 KiB | 362 | 314 | |
metadata_enums.py | D | 15-Dec-2024 | 1.8 KiB | 54 | 31 | |
metadata_helpers.py | D | 15-Dec-2024 | 53.2 KiB | 1,731 | 1,253 | |
metadata_helpers_test.py | D | 14-Jan-2024 | 7.6 KiB | 218 | 173 | |
metadata_model.py | D | 15-Dec-2024 | 51.1 KiB | 1,696 | 1,312 | |
metadata_model_test.py | D | 14-Jan-2024 | 4.2 KiB | 131 | 84 | |
metadata_parser_xml.py | D | 15-Dec-2024 | 11 KiB | 395 | 254 | |
metadata_template.mako | D | 15-Dec-2024 | 7.7 KiB | 242 | 203 | |
metadata_validate.py | D | 14-Jan-2024 | 11.2 KiB | 362 | 266 | |
ndk_camera_metadata_asserts.mako | D | 15-Dec-2024 | 2.4 KiB | 80 | 71 | |
ndk_camera_metadata_tags.mako | D | 15-Dec-2024 | 6.7 KiB | 218 | 195 | |
ndk_name_to_tag.mako | D | 15-Dec-2024 | 1.9 KiB | 57 | 50 | |
plots.py | D | 14-Jan-2024 | 5.3 KiB | 212 | 140 | |
session_characteristics_tags.mako | D | 15-Dec-2024 | 1.3 KiB | 42 | 39 | |
vndk_camera_metadata_tags.mako | D | 14-Jan-2024 | 1.7 KiB | 55 | 51 | |
zoom_ratio_diagrams.graffle | D | 14-Jan-2024 | 20.4 KiB |
README.md
1# Camera Metadata XML 2## Introduction 3This is a set of scripts to manipulate the camera metadata in an XML form. 4 5## Generated Files 6Many files can be generated from XML, such as the documentation (html/pdf), 7C code, Java code, and even XML itself (as a round-trip validity check). 8 9## Dependencies 10* Python 2.7.x+ 11* Beautiful Soup 4+ - HTML/XML parser, used to parse `metadata_definitions.xml` 12* Mako 0.7+ - Template engine, needed to do file generation. 13* Markdown 2.1+ - Plain text to HTML converter, for docs formatting. 14* Tidy - Cleans up the XML/HTML files. 15* XML Lint - Validates XML against XSD schema. 16 17## Quick Setup (Debian Rodete): 18NOTE: Debian (and most Linux distros) no longer package Python 2. 19 Python 3 dependencies are listed below. 20``` 21sudo apt install python3-mako \ 22 python3-bs4 \ 23 python3-markdown \ 24 tidy \ 25 libxml2-utils 26``` 27 28## Quick Usage: 291. Modify or add to `metadata_definition.xml` 302. Execute `metadata-generate` 313. Run `m ds-docs` to make sure the javadoc is correctly generated 324. Commit and Upload the repos listed at the end of `metadata-generate` 33