mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-22 22:29:42 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.DVD
|
|
{
|
|
/// <see href="https://dvd.sourceforge.net/dvdinfo/ifo_vmg.html"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class TitlesTableEntry
|
|
{
|
|
/// <summary>
|
|
/// Title type
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.U1)]
|
|
public TitleType TitleType;
|
|
|
|
/// <summary>
|
|
/// Number of angles
|
|
/// </summary>
|
|
public byte NumberOfAngles;
|
|
|
|
/// <summary>
|
|
/// Number of chapters (PTTs)
|
|
/// </summary>
|
|
public ushort NumberOfChapters;
|
|
|
|
/// <summary>
|
|
/// Parental management mask
|
|
/// </summary>
|
|
public ushort ParentalManagementMask;
|
|
|
|
/// <summary>
|
|
/// Video Title Set number (VTSN)
|
|
/// </summary>
|
|
public byte VideoTitleSetNumber;
|
|
|
|
/// <summary>
|
|
/// Title number within VTS (VTS_TTN)
|
|
/// </summary>
|
|
public byte TitleNumberWithinVTS;
|
|
|
|
/// <summary>
|
|
/// Start sector for VTS, referenced to whole disk
|
|
/// (video_ts.ifo starts at sector 00000000)
|
|
/// </summary>
|
|
public uint VTSStartSector;
|
|
}
|
|
}
|