Added second layer DVD PFI structure data type.

This commit is contained in:
2025-12-13 11:59:19 +00:00
parent 2daf7a6a48
commit ced56fad6c
4 changed files with 16 additions and 7 deletions

View File

@@ -94,6 +94,9 @@ The most current and authoritative list is always maintained in the `libaaruform
|80 |DVD Disc Key (decrypted)
|81 |DVD CPI_MAI
|82 |DVD Title Key (decrypted)
|83 |Flux data
|84 |Bitstream data
|===
|83 |DVD Identification Data (ID)
|84 |DVD ID Error Detection Code (IED)
|85 |DVD Error Detection Code (EDC)
|86 |DVD Error Correction Code (ECC) Parity of Inner Code (PI)
|87 |DVD Error Correction Code (ECC) Parity of Outer Code (PO)
|88 |DVD Physical Format Information for the second layer

View File

@@ -774,7 +774,7 @@ typedef enum
// VideoNow, types 740 to 749
// Iomega, types 750 to 759
Bernoulli10 = 750, ///< 8"x11" Bernoulli Box disk with 10Mb capacity
Bernoulli10 = 750, ///< 8"x11" Bernoulli Box disk with 10Mb capacity
///< 8"x11" Bernoulli Box disk with 20Mb capacity
Bernoulli20 = 751,
///< 5⅓" Bernoulli Box II disk with 20Mb capacity
@@ -1060,7 +1060,8 @@ typedef enum
MiniDiscUTOC = 71, ///< User TOC, contains fragments, track names, and can be from 1 to 3 sectors of 2336 bytes
MiniDiscDTOC = 72, ///< Not entirely clear kind of TOC that only appears on MD-DATA discs
DVD_DiscKey_Decrypted = 73, ///< Decrypted DVD disc key,
MaxMediaTag = DVD_DiscKey_Decrypted
DVD_PFI_2ndLayer = 74, ///< DVD Physical Format Information for the second layer
MaxMediaTag = DVD_PFI_2ndLayer
} MediaTagType;
/** @} */ /* end of MediaTags group */

View File

@@ -129,7 +129,8 @@ typedef enum
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)
DvdEccBlockPo = 87, ///< DVD Error Correction Code (ECC) Parity of Outer Code (PO)
DvdPfi2ndLayer = 88 ///< DVD Physical Format Information for the second layer
} DataType;
/**

View File

@@ -17,8 +17,8 @@
*/
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#include <wincrypt.h>
#include <windows.h>
#endif
#include <aaru.h>
@@ -54,6 +54,8 @@ AARU_LOCAL int32_t AARU_CALL aaruf_get_media_tag_type_for_datatype(const int32_t
return CD_TEXT;
case DvdPfi:
return DVD_PFI;
case DvdPfi2ndLayer:
return DVD_PFI_2ndLayer;
case DvdLeadInCmi:
return DVD_CMI;
case DvdDiscKey:
@@ -212,6 +214,8 @@ AARU_LOCAL int32_t AARU_CALL aaruf_get_datatype_for_media_tag_type(const int32_t
return CompactDiscLeadInCdText;
case DVD_PFI:
return DvdPfi;
case DVD_PFI_2ndLayer:
return DvdPfi2ndLayer;
case DVD_CMI:
return DvdLeadInCmi;
case DVD_DiscKey: