Searched refs:data_capacity (Results 1 – 4 of 4) sorted by relevance
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 52 const size_t data_capacity = 32; in TEST() local 54 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST() 60 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); in TEST() 114 const size_t data_capacity = 32; in TEST() local 117 data_capacity); in TEST() 125 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST() 131 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); in TEST() 143 const size_t data_capacity = 32; in TEST() local 146 data_capacity); in TEST() 156 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST() [all …]
|
/system/media/camera/src/ |
D | camera_metadata.c | 102 metadata_size_t data_capacity; member 158 _Static_assert(offsetof(camera_metadata_t, data_capacity) == 28, 250 size_t data_capacity) { in allocate_camera_metadata() argument 253 data_capacity); in allocate_camera_metadata() 256 buffer, memory_needed, entry_capacity, data_capacity); in allocate_camera_metadata() 269 size_t data_capacity) { in place_camera_metadata() argument 273 data_capacity); in place_camera_metadata() 288 metadata->data_capacity = data_capacity; in place_camera_metadata() 342 return metadata->data_capacity; in get_camera_metadata_data_capacity() 482 if (header->data_count > header->data_capacity) { in validate_camera_metadata_structure() [all …]
|
/system/media/camera/fuzz/ |
D | libcamera_metadata_fuzzer.cpp | 24 uint32_t data_capacity = *reinterpret_cast<const uint32_t*>(data + sizeof_int) % 0xFFF; in LLVMFuzzerTestOneInput() local 26 m = allocate_camera_metadata(entry_capacity, data_capacity); in LLVMFuzzerTestOneInput()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 168 size_t data_capacity); 203 size_t data_capacity);
|