Shaka Packager SDK
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
shaka::media::mp4::FullBox Struct Reference

#include <box.h>

Inheritance diagram for shaka::media::mp4::FullBox:
shaka::media::mp4::Box shaka::media::mp4::ALACSpecific shaka::media::mp4::ChunkLargeOffset shaka::media::mp4::CompactSampleSize shaka::media::mp4::CompositionTimeToSample shaka::media::mp4::DataEntryUrl shaka::media::mp4::DataReference shaka::media::mp4::DecodingTimeToSample shaka::media::mp4::EditList shaka::media::mp4::ElementaryStreamDescriptor shaka::media::mp4::FlacSpecific shaka::media::mp4::HandlerReference shaka::media::mp4::ID3v2 shaka::media::mp4::MediaHeader shaka::media::mp4::Metadata shaka::media::mp4::MovieExtendsHeader shaka::media::mp4::MovieFragmentHeader shaka::media::mp4::MovieHeader shaka::media::mp4::NullMediaHeader shaka::media::mp4::ProtectionSystemSpecificHeader shaka::media::mp4::SampleAuxiliaryInformationOffset shaka::media::mp4::SampleAuxiliaryInformationSize shaka::media::mp4::SampleDescription shaka::media::mp4::SampleEncryption shaka::media::mp4::SampleGroupDescription shaka::media::mp4::SampleSize shaka::media::mp4::SampleToChunk shaka::media::mp4::SampleToGroup shaka::media::mp4::SchemeType shaka::media::mp4::SegmentIndex shaka::media::mp4::SoundMediaHeader shaka::media::mp4::SubtitleMediaHeader shaka::media::mp4::SyncSample shaka::media::mp4::TrackEncryption shaka::media::mp4::TrackExtends shaka::media::mp4::TrackFragmentDecodeTime shaka::media::mp4::TrackFragmentHeader shaka::media::mp4::TrackFragmentRun shaka::media::mp4::TrackHeader shaka::media::mp4::VideoMediaHeader

Public Member Functions

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 ()
 
virtual FourCC BoxType () const =0
 
uint32_t box_size ()
 

Public Attributes

uint8_t version = 0
 
uint32_t flags = 0
 

Protected Member Functions

bool ReadWriteHeaderInternal (BoxBuffer *buffer) final
 

Detailed Description

Defines FullBox, the other base ISO BMFF box objects as defined in ISO 14496-12:2012 ISO BMFF section 4.2. All ISO BMFF compatible boxes inherit from either Box or FullBox.

Definition at line 83 of file box.h.

Member Function Documentation

◆ HeaderSize()

uint32_t shaka::media::mp4::FullBox::HeaderSize ( ) const
finalvirtual
Returns
box header size in bytes.

Reimplemented from shaka::media::mp4::Box.

Definition at line 77 of file box.cc.

◆ ReadWriteHeaderInternal()

bool shaka::media::mp4::FullBox::ReadWriteHeaderInternal ( BoxBuffer buffer)
finalprotectedvirtual

Read/write mp4 box header. Note that this function expects that ComputeSize has been invoked already.

Returns
true on success, false otherwise.

Reimplemented from shaka::media::mp4::Box.

Definition at line 82 of file box.cc.


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