using System; using System.Collections.Generic; using System.Text; namespace JT1078.FMp4 { public class SubSampleInformationBox : FullBox { public SubSampleInformationBox(byte version, uint flags=0) : base("subs", version, flags) { } public uint EntryCount { get; set; } public List SubSampleInformations { get; set; } public class SubSampleInformation { public uint SampleDelta { get; set; } public ushort SubsampleCount { get; set; } public List InnerSubSampleInformations { get; set; } public class InnerSubSampleInformation { /// /// version == 1 /// public uint SubsampleSizeLarge { get; set; } public ushort SubsampleSize { get; set; } public byte SubsamplePriority { get; set; } public byte Discardable { get; set; } public uint Reserved { get; set; } } } } }