/hardware/libhardware/modules/camera/ |
Metadata.cpp | 136 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; local 144 tmp = allocate_camera_metadata(entry_capacity * 2, data_capacity * 2); 147 __func__, entry_capacity, data_capacity);
|
/hardware/libhardware/modules/usbcamera/ |
Metadata.cpp | 127 size_t entry_capacity = get_camera_metadata_entry_count(mData) + 1; local 131 tmp = allocate_camera_metadata(entry_capacity * 2, data_capacity * 2); 134 __func__, entry_capacity, data_capacity);
|
/system/media/camera/tests/ |
camera_metadata_tests.cpp | 49 const size_t entry_capacity = 5; local 52 m = allocate_camera_metadata(entry_capacity, data_capacity); 56 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); 111 const size_t entry_capacity = 5; local 114 size_t buf_size = calculate_camera_metadata_size(entry_capacity, 123 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); 127 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); 140 const size_t entry_capacity = 5; local 143 size_t buf_size = calculate_camera_metadata_size(entry_capacity, 154 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity) 165 const size_t entry_capacity = 5; local 196 const size_t entry_capacity = 5; local 212 const size_t entry_capacity = 5; local 394 const size_t entry_capacity = 5; local 442 const size_t entry_capacity = 5; local 462 const size_t entry_capacity = 50; local 515 const size_t entry_capacity = 12; local 575 const size_t entry_capacity = 5; local 602 const size_t entry_capacity = 5; local 685 const size_t entry_capacity = 5; local 711 const size_t entry_capacity = 5; local 793 const size_t entry_capacity = 5; local 967 const size_t entry_capacity = 5; local 1081 const size_t entry_capacity = 50; local [all...] |
/system/media/camera/src/ |
camera_metadata.c | 76 * | (entry_capacity-entry_count) entries | 96 metadata_size_t entry_capacity; member in struct:camera_metadata 196 camera_metadata_t *allocate_camera_metadata(size_t entry_capacity, 199 size_t memory_needed = calculate_camera_metadata_size(entry_capacity, 203 entry_capacity, 209 size_t entry_capacity, 213 size_t memory_needed = calculate_camera_metadata_size(entry_capacity, 221 metadata->entry_capacity = entry_capacity; 228 metadata->entry_capacity) - (uint8_t*)metadata [all...] |