android13/system/media/camera/docs
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
aidl initial 2024-06-22 20:45:49 +08:00
images/camera2/metadata initial 2024-06-22 20:45:49 +08:00
.gitignore initial 2024-06-22 20:45:49 +08:00
ACameraMetadata.mako initial 2024-06-22 20:45:49 +08:00
CameraCharacteristicsKeys.mako initial 2024-06-22 20:45:49 +08:00
CameraDeviceInfo.mako initial 2024-06-22 20:45:49 +08:00
CameraMetadataEnums.mako initial 2024-06-22 20:45:49 +08:00
CameraMetadataKeys.mako initial 2024-06-22 20:45:49 +08:00
CaptureRequestKeys.mako initial 2024-06-22 20:45:49 +08:00
CaptureResultKeys.mako initial 2024-06-22 20:45:49 +08:00
CaptureResultTest.mako initial 2024-06-22 20:45:49 +08:00
HidlMetadata.mako initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
__init__.py initial 2024-06-22 20:45:49 +08:00
camera_device_info.mako initial 2024-06-22 20:45:49 +08:00
camera_device_info.proto initial 2024-06-22 20:45:49 +08:00
camera_metadata_asserts.mako initial 2024-06-22 20:45:49 +08:00
camera_metadata_tag_info.mako initial 2024-06-22 20:45:49 +08:00
camera_metadata_tags.mako initial 2024-06-22 20:45:49 +08:00
docs.html initial 2024-06-22 20:45:49 +08:00
html.mako initial 2024-06-22 20:45:49 +08:00
metadata-check-dependencies initial 2024-06-22 20:45:49 +08:00
metadata-generate initial 2024-06-22 20:45:49 +08:00
metadata-parser-validity-check initial 2024-06-22 20:45:49 +08:00
metadata-validate initial 2024-06-22 20:45:49 +08:00
metadata_definitions.xml initial 2024-06-22 20:45:49 +08:00
metadata_definitions.xsd initial 2024-06-22 20:45:49 +08:00
metadata_enums.py initial 2024-06-22 20:45:49 +08:00
metadata_helpers.py initial 2024-06-22 20:45:49 +08:00
metadata_helpers_test.py initial 2024-06-22 20:45:49 +08:00
metadata_model.py initial 2024-06-22 20:45:49 +08:00
metadata_model_test.py initial 2024-06-22 20:45:49 +08:00
metadata_parser_xml.py initial 2024-06-22 20:45:49 +08:00
metadata_template.mako initial 2024-06-22 20:45:49 +08:00
metadata_validate.py initial 2024-06-22 20:45:49 +08:00
ndk_camera_metadata_tags.mako initial 2024-06-22 20:45:49 +08:00
plots.py initial 2024-06-22 20:45:49 +08:00
vndk_camera_metadata_tags.mako initial 2024-06-22 20:45:49 +08:00
zoom_ratio_diagrams.graffle initial 2024-06-22 20:45:49 +08:00

README.md

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