Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleEntry ¶
type SampleEntry struct { SampleEntry sofia.SampleEntry Extends struct { Width uint16 Height uint16 HorizResolution uint32 VertResolution uint32 FrameCount uint16 CompressorName [32]uint8 Depth uint16 // contains filtered or unexported fields } Box []*sofia.Box Sinf sinf.Box }
ISO/IEC 14496-12
class VisualSampleEntry(codingname) extends SampleEntry(codingname) { unsigned int(16) pre_defined = 0; const unsigned int(16) reserved = 0; unsigned int(32)[3] pre_defined = 0; unsigned int(16) width; unsigned int(16) height; template unsigned int(32) horizresolution = 0x00480000; // 72 dpi template unsigned int(32) vertresolution = 0x00480000; // 72 dpi const unsigned int(32) reserved = 0; template unsigned int(16) frame_count = 1; uint(8)[32] compressorname; template unsigned int(16) depth = 0x0018; int(16) pre_defined = -1; // other boxes from derived specifications CleanApertureBox clap; // optional PixelAspectRatioBox pasp; // optional }
func (*SampleEntry) Append ¶ added in v1.6.3
func (s *SampleEntry) Append(buf []byte) ([]byte, error)
func (*SampleEntry) Read ¶
func (s *SampleEntry) Read(buf []byte) error
Click to show internal directories.
Click to hide internal directories.