Searched refs:data_bytes (Results 1 – 1 of 1) sorted by relevance
372 size_t data_bytes = data_count * camera_metadata_type_size[type]; in validate_and_calculate_camera_metadata_entry_data_size() local375 *data_size = data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in validate_and_calculate_camera_metadata_entry_data_size()385 size_t data_bytes = data_count * in calculate_camera_metadata_entry_data_size() local388 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()648 size_t data_bytes = in add_camera_metadata_entry_raw() local650 if (data_bytes + dst->data_count > dst->data_capacity) return ERROR; in add_camera_metadata_entry_raw()660 if (data_bytes == 0) { in add_camera_metadata_entry_raw()667 dst->data_count += data_bytes; in add_camera_metadata_entry_raw()789 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type, in delete_camera_metadata_entry() local792 if (data_bytes > 0) { in delete_camera_metadata_entry()[all …]