Searched refs:ALIGN_TO (Results 1 – 1 of 1) sorted by relevance
/system/media/camera/src/ |
D | camera_metadata.c | 35 #define ALIGN_TO(val, alignment) \ macro 276 ALIGN_TO(sizeof(camera_metadata_t), ENTRY_ALIGNMENT); in place_camera_metadata() 282 metadata->data_start = ALIGN_TO(data_unaligned, DATA_ALIGNMENT); in place_camera_metadata() 296 memory_needed = ALIGN_TO(memory_needed, ENTRY_ALIGNMENT); in calculate_camera_metadata_size() 299 memory_needed = ALIGN_TO(memory_needed, DATA_ALIGNMENT); in calculate_camera_metadata_size() 302 memory_needed = ALIGN_TO(memory_needed, METADATA_PACKET_ALIGNMENT); in calculate_camera_metadata_size() 375 *data_size = data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in validate_and_calculate_camera_metadata_entry_data_size() 388 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size() 399 uintptr_t aligned_ptr = ALIGN_TO(metadata, METADATA_PACKET_ALIGNMENT); in validate_camera_metadata_structure() 423 uintptr_t aligned_ptr = ALIGN_TO((uintptr_t) metadata + alignmentOffset, in validate_camera_metadata_structure() [all …]
|