libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
DpmHeader Struct Reference

Header of the Data Position Measurement block. More...

#include <aaruformat/structs/dpm.h>

Data Fields

uint32_t identifier
 Block identifier, must be BlockType::DataPositionMeasurementBlock.
uint32_t entries
 Number of DpmEntry records.
uint32_t calibrations
 Number of DpmCalibration records.
uint32_t nominalSpacing
 Nominal number of sectors between entries.
uint16_t timingUnit
 Sectors per timing unit (1 on CD, 16 on DVD, 32 on BD), 0 if unknown.
uint16_t speed
 Requested speed, as a multiple of the medium base speed. 0xFFFF maximum, 0 unknown.
uint8_t layerEnds
 Number of layer boundaries (layers - 1), 0 for single layer media or if unknown.
uint8_t flags
 Flags, see DPM_FLAG_OPPOSITE_TRACK_PATH.
uint16_t reserved
 Reserved, must be 0.
uint64_t length
 Payload bytes after this header.
uint64_t crc64
 CRC64-ECMA of the payload.

Detailed Description

Header of the Data Position Measurement block.

Definition at line 76 of file dpm.h.

Field Documentation

◆ calibrations

uint32_t DpmHeader::calibrations

Number of DpmCalibration records.

Definition at line 80 of file dpm.h.

Referenced by dpm_payload_length().

◆ crc64

uint64_t DpmHeader::crc64

CRC64-ECMA of the payload.

Definition at line 88 of file dpm.h.

Referenced by aaruf_verify_image(), and validate_dpm_block().

◆ entries

uint32_t DpmHeader::entries

Number of DpmEntry records.

Definition at line 79 of file dpm.h.

Referenced by dpm_payload_length(), and process_dpm_block().

◆ flags

uint8_t DpmHeader::flags

Flags, see DPM_FLAG_OPPOSITE_TRACK_PATH.

Definition at line 85 of file dpm.h.

◆ identifier

uint32_t DpmHeader::identifier

Block identifier, must be BlockType::DataPositionMeasurementBlock.

Definition at line 78 of file dpm.h.

Referenced by aaruf_verify_image(), process_dpm_block(), and validate_dpm_block().

◆ layerEnds

uint8_t DpmHeader::layerEnds

Number of layer boundaries (layers - 1), 0 for single layer media or if unknown.

Definition at line 84 of file dpm.h.

Referenced by dpm_payload_length().

◆ length

uint64_t DpmHeader::length

Payload bytes after this header.

Definition at line 87 of file dpm.h.

Referenced by aaruf_verify_image(), process_dpm_block(), recover_dpm_block(), and validate_dpm_block().

◆ nominalSpacing

uint32_t DpmHeader::nominalSpacing

Nominal number of sectors between entries.

Definition at line 81 of file dpm.h.

◆ reserved

uint16_t DpmHeader::reserved

Reserved, must be 0.

Definition at line 86 of file dpm.h.

◆ speed

uint16_t DpmHeader::speed

Requested speed, as a multiple of the medium base speed. 0xFFFF maximum, 0 unknown.

Definition at line 83 of file dpm.h.

◆ timingUnit

uint16_t DpmHeader::timingUnit

Sectors per timing unit (1 on CD, 16 on DVD, 32 on BD), 0 if unknown.

Definition at line 82 of file dpm.h.


The documentation for this struct was generated from the following file:
  • include/aaruformat/structs/dpm.h