mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 06:45:11 +00:00
DVD model cleanup
This commit is contained in:
@@ -22,11 +22,11 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// Offset to VTS_ATRT n
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfTitleSets entries</remarks>
|
||||
public uint[]? Offsets { get; set; }
|
||||
public uint[] Offsets { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Entries
|
||||
/// </summary>
|
||||
public AudioSubPictureAttributesTableEntry[]? Entries { get; set; }
|
||||
public AudioSubPictureAttributesTableEntry[] Entries { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// 12-byte entries
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfVOBIDs entries</remarks>
|
||||
public CellAddressTableEntry[]? Entries { get; set; }
|
||||
public CellAddressTableEntry[] Entries { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,4 +31,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
public uint EndingSectorWithinVOB;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
|
||||
public const string VideoTitleSetIFOSignature = "DVDVIDEO-VTS";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,4 +53,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
Reserved = 0x80,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,12 +23,12 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// Language Units
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfVOBIDs entries</remarks>
|
||||
public LanguageUnitTableEntry[]? Entries { get; set; }
|
||||
public LanguageUnitTableEntry[] Entries { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Program Chains
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfVOBIDs entries</remarks>
|
||||
public ProgramChainTable[]? ProgramChains { get; set; }
|
||||
public ProgramChainTable[] ProgramChains { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,4 +26,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
public uint LanguageUnitOffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,13 +25,13 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// <summary>
|
||||
/// Entries
|
||||
/// </summary>
|
||||
public ParentalManagementMasksTableEntry[]? Entries { get; set; }
|
||||
public ParentalManagementMasksTableEntry[] Entries { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The PTL_MAIT contains the 16-bit masks for the VMG and
|
||||
/// all title sets for parental management level 8 followed
|
||||
/// by the masks for level 7, and so on to level 1.
|
||||
/// </summary>
|
||||
public byte[][]? BitMasks { get; set; }
|
||||
public byte[][] BitMasks { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,4 +21,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
public uint Offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// Program Chains
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfProgramChains entries</remarks>
|
||||
public ProgramChainTableEntry[]? Entries { get; set; }
|
||||
public ProgramChainTableEntry[] Entries { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,4 +27,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
public uint Offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// 12-byte entries
|
||||
/// </summary>
|
||||
/// <remarks>NumberOfTitles entries</remarks>
|
||||
public TitlesTableEntry[]? Entries { get; set; }
|
||||
public TitlesTableEntry[] Entries { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,4 +43,4 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// </summary>
|
||||
public uint VTSStartSector;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// <summary>
|
||||
/// Starting sector within VOB of nth VOBU
|
||||
/// </summary>
|
||||
public uint[]? StartingSectors { get; set; }
|
||||
public uint[] StartingSectors { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// "DVDVIDEO-VMG"
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string? Signature;
|
||||
public string Signature;
|
||||
|
||||
/// <summary>
|
||||
/// Last sector of VMG set (last sector of BUP)
|
||||
@@ -131,7 +131,7 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// Audio attributes of VMGM_VOBS
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
|
||||
public ulong[]? AudioAttributes;
|
||||
public ulong[] AudioAttributes = new ulong[8];
|
||||
|
||||
/// <summary>
|
||||
/// Unknown
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// "DVDVIDEO-VTS"
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string? Signature;
|
||||
public string Signature;
|
||||
|
||||
/// <summary>
|
||||
/// Last sector of title set (last sector of BUP)
|
||||
@@ -141,7 +141,7 @@ namespace SabreTools.Data.Models.DVD
|
||||
/// Audio attributes of VTSM_VOBS
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
|
||||
public ulong[]? AudioAttributes;
|
||||
public ulong[] AudioAttributes = new ulong[8];
|
||||
|
||||
/// <summary>
|
||||
/// Unknown
|
||||
|
||||
Reference in New Issue
Block a user