Home
last modified time | relevance | path

Searched refs:camera_metadata_t (Results 1 – 3 of 3) sorted by relevance

/system/media/camera/include/system/
Dcamera_metadata.h151 typedef struct camera_metadata camera_metadata_t; typedef
168 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity,
187 camera_metadata_t *allocate_copy_camera_metadata_checked(
188 const camera_metadata_t *src,
202 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size,
211 void free_camera_metadata(camera_metadata_t *metadata);
226 size_t get_camera_metadata_size(const camera_metadata_t *metadata);
234 size_t get_camera_metadata_compact_size(const camera_metadata_t *metadata);
243 size_t get_camera_metadata_entry_count(const camera_metadata_t *metadata);
249 size_t get_camera_metadata_entry_capacity(const camera_metadata_t *metadata);
[all …]
/system/media/camera/src/
Dcamera_metadata.c163 const camera_metadata_t *metadata) { in get_entries()
168 static uint8_t *get_data(const camera_metadata_t *metadata) { in get_data()
176 camera_metadata_t *allocate_copy_camera_metadata_checked( in allocate_copy_camera_metadata_checked()
177 const camera_metadata_t *src, in allocate_copy_camera_metadata_checked()
187 camera_metadata_t *metadata = (camera_metadata_t*) buffer; in allocate_copy_camera_metadata_checked()
196 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity, in allocate_camera_metadata()
207 camera_metadata_t *place_camera_metadata(void *dst, in place_camera_metadata()
217 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata()
223 ALIGN_TO(sizeof(camera_metadata_t), ENTRY_ALIGNMENT); in place_camera_metadata()
234 void free_camera_metadata(camera_metadata_t *metadata) { in free_camera_metadata()
[all …]
/system/media/camera/tests/
Dcamera_metadata_tests.cpp48 camera_metadata_t *m = NULL; in TEST()
64 camera_metadata_t *m = NULL; in TEST()
78 camera_metadata_t *src = NULL; in TEST()
79 camera_metadata_t *copy = NULL; in TEST()
96 camera_metadata_t *m = NULL; in TEST()
108 camera_metadata_t *m = NULL; in TEST()
137 camera_metadata_t *m = NULL; in TEST()
162 camera_metadata_t *m = NULL; in TEST()
195 camera_metadata_t *m = NULL; in TEST()
211 camera_metadata_t *m = NULL; in TEST()
[all …]