• Home
Name Date Size #Lines LOC

..--

images/camera2/metadata/03-May-2024-

.gitignoreD03-May-20246 21

ACameraMetadata.makoD03-May-20243.1 KiB8176

CameraCharacteristicsKeys.makoD03-May-2024749 1817

CameraDeviceInfo.makoD03-May-20241.6 KiB3935

CameraMetadataEnums.makoD03-May-20243.9 KiB9995

CameraMetadataKeys.makoD03-May-20244.3 KiB109107

CaptureRequestKeys.makoD03-May-2024744 1817

CaptureResultKeys.makoD03-May-2024742 1817

CaptureResultTest.makoD03-May-20241.6 KiB3935

HidlMetadata.makoD03-May-20246.7 KiB162144

README.mdD03-May-20241,021 3025

__init__.pyD03-May-2024664 200

camera_device_info.makoD03-May-20242.5 KiB10588

camera_device_info.protoD03-May-20247.5 KiB167150

camera_metadata_tag_info.makoD03-May-20243.5 KiB11499

camera_metadata_tags.makoD03-May-20243.6 KiB11399

docs.htmlD03-May-20241.3 MiB32,46325,292

html.makoD03-May-202414.2 KiB420360

metadata-check-dependenciesD03-May-20242.4 KiB11680

metadata-generateD03-May-20249.5 KiB262163

metadata-parser-sanity-checkD03-May-20241.8 KiB6635

metadata-validateD03-May-2024958 3411

metadata_definitions.xmlD03-May-2024541.2 KiB10,8569,842

metadata_definitions.xsdD03-May-202413 KiB343295

metadata_helpers.pyD03-May-202446.4 KiB1,5351,105

metadata_helpers_test.pyD03-May-20247.7 KiB218173

metadata_model.pyD03-May-202449.4 KiB1,6451,271

metadata_model_test.pyD03-May-20244.2 KiB13184

metadata_parser_xml.pyD03-May-202410.5 KiB377244

metadata_template.makoD03-May-20247.4 KiB234197

metadata_validate.pyD03-May-202411.2 KiB362266

ndk_camera_metadata_tags.makoD03-May-20245.5 KiB205184

plots.pyD03-May-20245.3 KiB212140

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