Shaka Packager SDK
Public Types | Public Member Functions | Public Attributes | List of all members
shaka::media::mp4::TrackFragmentHeader Struct Reference
Inheritance diagram for shaka::media::mp4::TrackFragmentHeader:
shaka::media::mp4::FullBox shaka::media::mp4::Box

Public Types

enum  TrackFragmentFlagsMasks {
  kBaseDataOffsetPresentMask = 0x000001 , kSampleDescriptionIndexPresentMask = 0x000002 , kDefaultSampleDurationPresentMask = 0x000008 , kDefaultSampleSizePresentMask = 0x000010 ,
  kDefaultSampleFlagsPresentMask = 0x000020 , kDurationIsEmptyMask = 0x010000 , kDefaultBaseIsMoofMask = 0x020000
}
 
enum  SampleFlagsMasks {
  kUnset = 0x00000000 , kReservedMask = 0xFC000000 , kSampleDependsOnMask = 0x03000000 , kSampleIsDependedOnMask = 0x00C00000 ,
  kSampleHasRedundancyMask = 0x00300000 , kSamplePaddingValueMask = 0x000E0000 , kNonKeySampleMask = 0x00010000 , kSampleDegradationPriorityMask = 0x0000FFFF
}
 

Public Member Functions

FourCC BoxType () const override
 
- Public Member Functions inherited from shaka::media::mp4::FullBox
uint32_t HeaderSize () const final
 
- Public Member Functions inherited from shaka::media::mp4::Box
bool Parse (BoxReader *reader)
 
void Write (BufferWriter *writer)
 
void WriteHeader (BufferWriter *writer)
 
uint32_t ComputeSize ()
 
uint32_t box_size ()
 

Public Attributes

uint32_t track_id = 0u
 
uint32_t sample_description_index = 0u
 
uint32_t default_sample_duration = 0u
 
uint32_t default_sample_size = 0u
 
uint32_t default_sample_flags = 0u
 
- Public Attributes inherited from shaka::media::mp4::FullBox
uint8_t version = 0
 
uint32_t flags = 0
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::mp4::FullBox
bool ReadWriteHeaderInternal (BoxBuffer *buffer) final
 

Detailed Description

Definition at line 751 of file box_definitions.h.

Member Function Documentation

◆ BoxType()

FourCC shaka::media::mp4::TrackFragmentHeader::BoxType ( ) const
overridevirtual
Returns
box type.

Implements shaka::media::mp4::Box.

Definition at line 2622 of file box_definitions.cc.


The documentation for this struct was generated from the following files: