25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace JT1078.FMp4
  5. {
  6. public class SubSampleInformationBox : FullBox
  7. {
  8. public SubSampleInformationBox(byte version, uint flags=0) : base("subs", version, flags)
  9. {
  10. }
  11. public uint EntryCount { get; set; }
  12. public List<SubSampleInformation> SubSampleInformations { get; set; }
  13. public class SubSampleInformation
  14. {
  15. public uint SampleDelta { get; set; }
  16. public ushort SubsampleCount { get; set; }
  17. public List<InnerSubSampleInformation> InnerSubSampleInformations { get; set; }
  18. public class InnerSubSampleInformation
  19. {
  20. /// <summary>
  21. /// version == 1
  22. /// </summary>
  23. public uint SubsampleSizeLarge { get; set; }
  24. public ushort SubsampleSize { get; set; }
  25. public byte SubsamplePriority { get; set; }
  26. public byte Discardable { get; set; }
  27. public uint Reserved { get; set; }
  28. }
  29. }
  30. }
  31. }