HomeSort by relevance Sort by last modified time
    Searched defs:entry_capacity (Results 1 - 2 of 2) sorted by null

  /system/media/camera/tests/
camera_metadata_tests.cpp 47 const size_t entry_capacity = 5; local
50 m = allocate_camera_metadata(entry_capacity, data_capacity);
54 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
87 const size_t entry_capacity = 5; local
90 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
99 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
103 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
116 const size_t entry_capacity = 5; local
119 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
130 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity)
141 const size_t entry_capacity = 5; local
172 const size_t entry_capacity = 5; local
188 const size_t entry_capacity = 5; local
335 const size_t entry_capacity = 5; local
383 const size_t entry_capacity = 5; local
403 const size_t entry_capacity = 50; local
456 const size_t entry_capacity = 12; local
516 const size_t entry_capacity = 5; local
543 const size_t entry_capacity = 5; local
626 const size_t entry_capacity = 5; local
652 const size_t entry_capacity = 5; local
734 const size_t entry_capacity = 5; local
908 const size_t entry_capacity = 5; local
1022 const size_t entry_capacity = 50; local
    [all...]
  /system/media/camera/src/
camera_metadata.c 80 * | (entry_capacity-entry_count) entries |
99 size_t entry_capacity; member in struct:camera_metadata
186 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity,
188 if (entry_capacity == 0) return NULL;
190 size_t memory_needed = calculate_camera_metadata_size(entry_capacity,
194 entry_capacity,
200 size_t entry_capacity,
203 if (entry_capacity == 0) return NULL;
205 size_t memory_needed = calculate_camera_metadata_size(entry_capacity,
213 metadata->entry_capacity = entry_capacity
    [all...]

Completed in 31 milliseconds