/system/media/camera/tests/ |
camera_metadata_tests.cpp | 50 const size_t data_capacity = 32; local 52 m = allocate_camera_metadata(entry_capacity, data_capacity); 58 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); 112 const size_t data_capacity = 32; local 115 data_capacity); 123 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); 129 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); 141 const size_t data_capacity = 32; local 144 data_capacity); 154 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); 166 const size_t data_capacity = 32; local 197 const size_t data_capacity = 32; local 213 const size_t data_capacity = 128; local 395 const size_t data_capacity = 50; local 463 const size_t data_capacity = 450; local 516 const size_t data_capacity = 100; local 576 const size_t data_capacity = 50; local 603 const size_t data_capacity = 50; local 686 const size_t data_capacity = 50; local 712 const size_t data_capacity = 50; local 794 const size_t data_capacity = 50; local 968 const size_t data_capacity = 100; local 1082 const size_t data_capacity = 450; local [all...] |
/hardware/libhardware/modules/camera/ |
Metadata.cpp | 137 size_t data_capacity = get_camera_metadata_data_count(mData) + size; local 144 tmp = allocate_camera_metadata(entry_capacity * 2, data_capacity * 2); 147 __func__, entry_capacity, data_capacity);
|
/system/media/camera/src/ |
camera_metadata.c | 82 * | (data_capacity-data_count) bytes | 99 metadata_size_t data_capacity; member in struct:camera_metadata 197 size_t data_capacity) { 200 data_capacity); 204 data_capacity); 210 size_t data_capacity) { 214 data_capacity); 225 metadata->data_capacity = data_capacity; 276 return metadata->data_capacity; [all...] |
/system/media/camera/include/system/ |
camera_metadata.h | 164 * data_capacity in bytes. The resulting structure is all contiguous in memory, 169 size_t data_capacity); 195 * data_capacity in bytes. If the buffer is larger than the required space, 204 size_t data_capacity); 267 * data_count == data_capacity.
|