• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

aidl/15-Dec-2024-244219

images/camera2/metadata/14-Jan-2024-

.gitignoreD14-Jan-20246 21

ACameraMetadata.makoD14-Jan-20243.1 KiB8176

CameraCharacteristicsKeys.makoD15-Dec-20241.7 KiB4038

CameraDeviceInfo.makoD15-Dec-20241.9 KiB4642

CameraMetadataEnums.makoD15-Dec-20244.2 KiB107103

CameraMetadataKeys.makoD15-Dec-20244.5 KiB114111

CaptureRequestKeys.makoD15-Dec-2024927 2120

CaptureResultKeys.makoD15-Dec-2024925 2120

CaptureResultTest.makoD15-Dec-20241.8 KiB4541

HidlMetadata.makoD14-Jan-20246.9 KiB170150

README.mdD15-Dec-20241.2 KiB3328

__init__.pyD14-Jan-2024664 200

camera_device_info.makoD14-Jan-20243.9 KiB149126

camera_device_info.protoD15-Dec-202411.6 KiB246223

camera_metadata_asserts.makoD15-Dec-20243.5 KiB9281

camera_metadata_tag_info.makoD14-Jan-20244.4 KiB149129

camera_metadata_tags.makoD14-Jan-20243.4 KiB11399

docs.htmlD15-Dec-20241.9 MiB42,75433,476

extension_camera_metadata_tags.makoD15-Dec-20241.3 KiB4239

html.makoD14-Jan-202414.4 KiB424363

metadata-check-dependenciesD14-Jan-20242.4 KiB11680

metadata-generateD15-Dec-202411.1 KiB300189

metadata-parser-validity-checkD14-Jan-20241.8 KiB6635

metadata-validateD14-Jan-2024959 3411

metadata_definitions.xmlD15-Dec-2024775.4 KiB15,02613,748

metadata_definitions.xsdD15-Dec-202414.4 KiB362314

metadata_enums.pyD15-Dec-20241.8 KiB5431

metadata_helpers.pyD15-Dec-202453.2 KiB1,7311,253

metadata_helpers_test.pyD14-Jan-20247.6 KiB218173

metadata_model.pyD15-Dec-202451.1 KiB1,6961,312

metadata_model_test.pyD14-Jan-20244.2 KiB13184

metadata_parser_xml.pyD15-Dec-202411 KiB395254

metadata_template.makoD15-Dec-20247.7 KiB242203

metadata_validate.pyD14-Jan-202411.2 KiB362266

ndk_camera_metadata_asserts.makoD15-Dec-20242.4 KiB8071

ndk_camera_metadata_tags.makoD15-Dec-20246.7 KiB218195

ndk_name_to_tag.makoD15-Dec-20241.9 KiB5750

plots.pyD14-Jan-20245.3 KiB212140

session_characteristics_tags.makoD15-Dec-20241.3 KiB4239

vndk_camera_metadata_tags.makoD14-Jan-20241.7 KiB5551

zoom_ratio_diagrams.graffleD14-Jan-202420.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