Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
images/camera2/metadata/ | 23-Nov-2023 | - | ||||
.gitignore | D | 23-Nov-2023 | 6 | 2 | 1 | |
ACameraMetadata.mako | D | 23-Nov-2023 | 3.1 KiB | 81 | 76 | |
CameraCharacteristicsKeys.mako | D | 23-Nov-2023 | 749 | 18 | 17 | |
CameraDeviceInfo.mako | D | 23-Nov-2023 | 1.6 KiB | 39 | 35 | |
CameraMetadataEnums.mako | D | 23-Nov-2023 | 4 KiB | 102 | 98 | |
CameraMetadataKeys.mako | D | 23-Nov-2023 | 4.3 KiB | 109 | 107 | |
CaptureRequestKeys.mako | D | 23-Nov-2023 | 744 | 18 | 17 | |
CaptureResultKeys.mako | D | 23-Nov-2023 | 742 | 18 | 17 | |
CaptureResultTest.mako | D | 23-Nov-2023 | 1.6 KiB | 39 | 35 | |
HidlMetadata.mako | D | 23-Nov-2023 | 6.7 KiB | 162 | 144 | |
README.md | D | 23-Nov-2023 | 1 KiB | 30 | 25 | |
__init__.py | D | 23-Nov-2023 | 664 | 20 | 0 | |
camera_device_info.mako | D | 23-Nov-2023 | 3 KiB | 121 | 102 | |
camera_device_info.proto | D | 23-Nov-2023 | 9.2 KiB | 197 | 178 | |
camera_metadata_tag_info.mako | D | 23-Nov-2023 | 4.4 KiB | 149 | 129 | |
camera_metadata_tags.mako | D | 23-Nov-2023 | 3.4 KiB | 113 | 99 | |
docs.html | D | 23-Nov-2023 | 1.6 MiB | |||
html.mako | D | 23-Nov-2023 | 14.3 KiB | 420 | 360 | |
metadata-check-dependencies | D | 23-Nov-2023 | 2.4 KiB | 116 | 80 | |
metadata-generate | D | 23-Nov-2023 | 9.8 KiB | 267 | 168 | |
metadata-parser-validity-check | D | 23-Nov-2023 | 1.8 KiB | 66 | 35 | |
metadata-validate | D | 23-Nov-2023 | 959 | 34 | 11 | |
metadata_definitions.xml | D | 23-Nov-2023 | 645.1 KiB | |||
metadata_definitions.xsd | D | 23-Nov-2023 | 13.9 KiB | 356 | 308 | |
metadata_helpers.py | D | 23-Nov-2023 | 47 KiB | 1,555 | 1,121 | |
metadata_helpers_test.py | D | 23-Nov-2023 | 7.6 KiB | 218 | 173 | |
metadata_model.py | D | 23-Nov-2023 | 49.7 KiB | 1,661 | 1,283 | |
metadata_model_test.py | D | 23-Nov-2023 | 4.2 KiB | 131 | 84 | |
metadata_parser_xml.py | D | 23-Nov-2023 | 10.6 KiB | 377 | 244 | |
metadata_template.mako | D | 23-Nov-2023 | 7.3 KiB | 231 | 194 | |
metadata_validate.py | D | 23-Nov-2023 | 11.2 KiB | 362 | 266 | |
ndk_camera_metadata_tags.mako | D | 23-Nov-2023 | 5.5 KiB | 203 | 182 | |
plots.py | D | 23-Nov-2023 | 5.3 KiB | 212 | 140 | |
zoom_ratio_diagrams.graffle | D | 23-Nov-2023 | 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 (Ubuntu Precise): 18sudo apt-get install python-mako 19sudo apt-get install python-bs4 20sudo apt-get install python-markdown 21sudo apt-get install tidy 22sudo apt-get install libxml2-utils #xmllint 23 24## Quick Setup (MacPorts) 25sudo port install py27-beautifulsoup4 26sudo port install py27-mako 27sudo port install py27-markdown 28sudo port install tidy 29sudo port install libxml2 #xmllint 30