unplugged-vendor/system/media/camera/docs
2025-10-06 13:59:42 +00:00
..
images/camera2/metadata Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
__init__.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ACameraMetadata.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
camera_device_info.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
camera_device_info.proto Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
camera_metadata_tag_info.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
camera_metadata_tags.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CameraCharacteristicsKeys.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CameraDeviceInfo.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CameraMetadataEnums.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CameraMetadataKeys.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CaptureRequestKeys.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CaptureResultKeys.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CaptureResultTest.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
docs.html Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
HidlMetadata.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
html.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_definitions.xml Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_definitions.xsd Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_helpers_test.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_helpers.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_model_test.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_model.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_parser_xml.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_template.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata_validate.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata-check-dependencies Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata-generate Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata-parser-validity-check Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
metadata-validate Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ndk_camera_metadata_tags.mako Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
plots.py Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
zoom_ratio_diagrams.graffle Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Camera Metadata XML

Introduction

This is a set of scripts to manipulate the camera metadata in an XML form.

Generated Files

Many files can be generated from XML, such as the documentation (html/pdf), C code, Java code, and even XML itself (as a round-trip validity check).

Dependencies

  • Python 2.7.x+
  • Beautiful Soup 4+ - HTML/XML parser, used to parse metadata_definitions.xml
  • Mako 0.7+ - Template engine, needed to do file generation.
  • Markdown 2.1+ - Plain text to HTML converter, for docs formatting.
  • Tidy - Cleans up the XML/HTML files.
  • XML Lint - Validates XML against XSD schema.

Quick Setup (Ubuntu Precise):

sudo apt-get install python-mako sudo apt-get install python-bs4 sudo apt-get install python-markdown sudo apt-get install tidy sudo apt-get install libxml2-utils #xmllint

Quick Setup (MacPorts)

sudo port install py27-beautifulsoup4 sudo port install py27-mako sudo port install py27-markdown sudo port install tidy sudo port install libxml2 #xmllint