package stsd

import "41.neocities.org/sofia/stsd"

Index

Types

type Box

type Box struct {
	BoxHeader     sofia.BoxHeader
	FullBoxHeader sofia.FullBoxHeader
	EntryCount    uint32
	Box           []sofia.Box
	AudioSample   *enca.SampleEntry
	VisualSample  *encv.SampleEntry
}

ISO/IEC 14496-12

aligned(8) class SampleDescriptionBox() extends FullBox('stsd', version, 0) {
   int i ;
   unsigned int(32) entry_count;
   for (i = 1 ; i <= entry_count ; i++){
      SampleEntry(); // an instance of a class derived from SampleEntry
   }
}

func (*Box) Append

func (b *Box) Append(buf []byte) ([]byte, error)

func (*Box) Read

func (b *Box) Read(buf []byte) error

func (*Box) SampleEntry

func (b *Box) SampleEntry() (*sofia.SampleEntry, bool)

func (*Box) Sinf

func (b *Box) Sinf() (*sinf.Box, bool)