mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Synchronize DataType with Aaru.
This commit is contained in:
@@ -869,9 +869,9 @@ typedef enum
|
||||
DvdTitleKeyDecrypted = 15, ///< Decrypted DVD sector title key, 5 bytes
|
||||
DvdSectorInformation = 16, ///< DVD sector information, 1 bytes
|
||||
DvdSectorNumber = 17, ///< DVD sector number, 3 bytes
|
||||
DvdSectorIed = 18, ///< DVD sector ID error detection, 2 bytes
|
||||
DvdSectorEdc = 19, ///< DVD sector EDC, 4 bytes
|
||||
MaxSectorTag = DvdSectorEdc
|
||||
DvdSectorIedAaru = 18, ///< DVD sector ID error detection, 2 bytes
|
||||
DvdSectorEdcAaru = 19, ///< DVD sector EDC, 4 bytes
|
||||
MaxSectorTag = DvdSectorEdcAaru
|
||||
} SectorTagType;
|
||||
|
||||
/** @} */ /* end of SectorTags group */
|
||||
|
||||
@@ -121,7 +121,15 @@ typedef enum
|
||||
CdSectorPrefixCorrected = 76, ///< Compact Disc sector prefix (sync, header) corrected-only stored.
|
||||
CdSectorSuffixCorrected = 77, ///< Compact Disc sector suffix (EDC, ECC P, ECC Q) corrected-only stored.
|
||||
CompactDiscMode2Subheader = 78, ///< Compact Disc MODE 2 subheader.
|
||||
CompactDiscLeadIn = 79 ///< Compact Disc lead‑in.
|
||||
CompactDiscLeadIn = 79, ///< Compact Disc lead‑in.
|
||||
DvdDiscKeyDecrypted = 80, ///< Decrypted DVD Disc Key
|
||||
DvdSectorCprMai = 81, ///< DVD Copyright Management Information (CPR_MAI)
|
||||
DvdSectorTitleKeyDecrypted = 82, ///< Decrypted DVD Title Key
|
||||
DvdSectorId = 83, ///< DVD Identification Data (ID)
|
||||
DvdSectorIed = 84, ///< DVD ID Error Detection Code (IED)
|
||||
DvdSectorEdc = 85, ///< DVD Error Detection Code (EDC)
|
||||
DvdSectorEccPi = 86, ///< DVD Error Correction Code (ECC) Parity of Inner Code (PI)
|
||||
DvdEccBlockPo = 87 ///< DVD Error Correction Code (ECC) Parity of Outer Code (PO)
|
||||
} DataType;
|
||||
|
||||
/**
|
||||
|
||||
@@ -170,6 +170,8 @@ int32_t aaruf_get_media_tag_type_for_datatype(int32_t type)
|
||||
return CD_MCN;
|
||||
case CompactDiscLeadIn:
|
||||
return CD_LeadIn;
|
||||
case DvdDiscKeyDecrypted:
|
||||
return DVD_DiscKey_Decrypted;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user