Searched refs:data_bytes (Results 1 – 1 of 1) sorted by relevance
498 size_t data_bytes = data_count * in calculate_camera_metadata_entry_data_size() local500 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()513 size_t data_bytes = in add_camera_metadata_entry_raw() local515 if (data_bytes + dst->data_count > dst->data_capacity) return ERROR; in add_camera_metadata_entry_raw()525 if (data_bytes == 0) { in add_camera_metadata_entry_raw()532 dst->data_count += data_bytes; in add_camera_metadata_entry_raw()645 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type, in delete_camera_metadata_entry() local648 if (data_bytes > 0) { in delete_camera_metadata_entry()651 uint8_t *end = start + data_bytes; in delete_camera_metadata_entry()652 size_t length = dst->data_count - entry->data.offset - data_bytes; in delete_camera_metadata_entry()[all …]