Searched refs:entry_capacity (Results 1 - 3 of 3) sorted by relevance

/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp37 const size_t entry_capacity = 5; local
40 m = allocate_camera_metadata(entry_capacity, data_capacity);
44 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
77 const size_t entry_capacity = 5; local
80 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
89 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
93 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
104 const size_t entry_capacity = 5; local
107 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
118 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacit
129 const size_t entry_capacity = 5; local
158 const size_t entry_capacity = 5; local
174 const size_t entry_capacity = 5; local
311 const size_t entry_capacity = 5; local
359 const size_t entry_capacity = 50; local
411 const size_t entry_capacity = 12; local
470 const size_t entry_capacity = 5; local
497 const size_t entry_capacity = 5; local
580 const size_t entry_capacity = 5; local
606 const size_t entry_capacity = 5; local
688 const size_t entry_capacity = 5; local
844 const size_t entry_capacity = 5; local
945 const size_t entry_capacity = 50; local
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c63 * | (entry_capacity-entry_count) entries |
82 size_t entry_capacity; member in struct:camera_metadata
124 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity, argument
126 if (entry_capacity == 0) return NULL;
128 size_t memory_needed = calculate_camera_metadata_size(entry_capacity,
132 entry_capacity,
138 size_t entry_capacity,
141 if (entry_capacity == 0) return NULL;
143 size_t memory_needed = calculate_camera_metadata_size(entry_capacity,
151 metadata->entry_capacity
136 place_camera_metadata(void *dst, size_t dst_size, size_t entry_capacity, size_t data_capacity) argument
[all...]
/system/media/camera/include/system/
H A Dcamera_metadata.h159 * and extra data. The entry_capacity is measured in entry counts, and
164 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity,
170 * bytes of data. The entry_capacity is measured in entry counts, and
179 size_t entry_capacity,
239 * way. That is, in the copied structure, entry_count == entry_capacity, and

Completed in 42 milliseconds