Home
last modified time | relevance | path

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

/system/media/camera/src/
Dcamera_metadata.c114 #define DATA_ALIGNMENT ((size_t) 8) macro
174 MAX_ALIGNMENT(MAX_ALIGNMENT(DATA_ALIGNMENT, METADATA_ALIGNMENT), ENTRY_ALIGNMENT)
292 metadata->data_start = ALIGN_TO(data_unaligned, DATA_ALIGNMENT); in place_camera_metadata()
309 memory_needed = ALIGN_TO(memory_needed, DATA_ALIGNMENT); in calculate_camera_metadata_size()
381 camera_metadata_type_size[type] > (SIZE_MAX - DATA_ALIGNMENT + 1) / data_count) { in validate_and_calculate_camera_metadata_entry_data_size()
389 *data_size = data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in validate_and_calculate_camera_metadata_entry_data_size()
402 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()
432 .alignment = DATA_ALIGNMENT in validate_camera_metadata_structure()
567 ALIGN_TO((uintptr_t)data + alignmentOffset, DATA_ALIGNMENT)) { in validate_camera_metadata_structure()
570 __FUNCTION__, i, data, DATA_ALIGNMENT, in validate_camera_metadata_structure()