Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 12 of 12) sorted by relevance

/system/media/camera/src/
Dcamera_metadata.c157 const camera_metadata_t *metadata) { in get_entries() argument
159 ((uint8_t*)metadata + metadata->entries_start); in get_entries()
162 static uint8_t *get_data(const camera_metadata_t *metadata) { in get_data() argument
163 return (uint8_t*)metadata + metadata->data_start; in get_data()
177 camera_metadata_t *metadata = (camera_metadata_t*) buffer; in allocate_copy_camera_metadata_checked() local
178 if (validate_camera_metadata_structure(metadata, &src_size) != OK) { in allocate_copy_camera_metadata_checked()
183 return metadata; in allocate_copy_camera_metadata_checked()
209 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata() local
210 metadata->version = CURRENT_METADATA_VERSION; in place_camera_metadata()
211 metadata->flags = 0; in place_camera_metadata()
[all …]
/system/extras/tests/sdcard/
Dplot_sdcard.py133 metadata = Metadata()
142 if not metadata.complete:
143 metadata.Parse(line)
152 metadata.UpdateWith(dataset)
176 if not metadata.complete:
180 return (metadata, data)
183 def PlotIterations(metadata, data): argument
205 gp.title(metadata.AsTitle())
210 dataset.RescaleTo(metadata.iterations)
224 (metadata.name, metadata.kernel, metadata.duration),
[all …]
/system/media/camera/include/system/
Dcamera_metadata.h199 void free_camera_metadata(camera_metadata_t *metadata);
214 size_t get_camera_metadata_size(const camera_metadata_t *metadata);
222 size_t get_camera_metadata_compact_size(const camera_metadata_t *metadata);
228 size_t get_camera_metadata_entry_count(const camera_metadata_t *metadata);
234 size_t get_camera_metadata_entry_capacity(const camera_metadata_t *metadata);
240 size_t get_camera_metadata_data_count(const camera_metadata_t *metadata);
247 size_t get_camera_metadata_data_capacity(const camera_metadata_t *metadata);
281 int validate_camera_metadata_structure(const camera_metadata_t *metadata,
480 void dump_camera_metadata(const camera_metadata_t *metadata,
489 void dump_indented_camera_metadata(const camera_metadata_t *metadata,
/system/media/camera/docs/
Dmetadata-generate50 $thisdir/metadata-check-dependencies || exit 1
51 $thisdir/metadata-validate $thisdir/metadata_properties.xml || exit 1
52 $thisdir/metadata-parser-sanity-check || exit 1
Dcamera_metadata_tags.mako33 * Top level hierarchy definitions for camera metadata. *_INFO sections are for
34 * the static metadata that can be retrived without opening the camera device.
39 % for i in find_all_sections(metadata):
52 % for i in find_all_sections(metadata):
59 * Main enum for defining camera metadata tags. New entries must always go
65 % for sec in find_all_sections(metadata):
82 % for sec in find_all_sections(metadata):
Dmetadata_parser_xml.py89 def metadata(self): member in MetadataParserXml
108 self.metadata.insert_tag(tag['id'], tag.string)
123 insert = self.metadata.insert_entry
134 insert = self.metadata.insert_clone
141 self.metadata.construct_graph()
240 ctx = Context(buf, metadata=self.metadata, **helpers)
Dcamera_metadata_tag_info.mako35 % for i in find_all_sections(metadata):
41 % for i in find_all_sections(metadata):
47 % for sec in find_all_sections(metadata):
59 % for i in find_all_sections(metadata):
72 % for sec in find_all_sections(metadata):
102 enum_values = metadata.find_all(find_values)
Dmetadata_template.mako17 <metadata
18 xmlns="http://schemas.android.com/service/camera/metadata/"
20 … xsi:schemaLocation="http://schemas.android.com/service/camera/metadata/ metadata_properties.xsd">
23 % for tag in metadata.tags:
32 % for root in metadata.outer_namespaces:
152 </metadata>
Dmetadata-validate20 $thisdir/metadata-check-dependencies || exit 1
Dmetadata-parser-sanity-check26 $thisdir/metadata-check-dependencies || exit 1
DREADME.md3 This is a set of scripts to manipulate the camera metadata in an XML form.
Dhtml.mako111 % for section in metadata.find_all(lambda x: isinstance(x, metadata_model.Section)):
137 % for root in metadata.outer_namespaces:
293 % for tag in metadata.tags: