Home
last modified time | relevance | path

Searched refs:data_capacity (Results 1 – 4 of 4) sorted by relevance

/system/media/camera/tests/
Dcamera_metadata_tests.cpp52 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/
Dcamera_metadata.c102 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/
Dlibcamera_metadata_fuzzer.cpp24 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/
Dcamera_metadata.h168 size_t data_capacity);
203 size_t data_capacity);