Click or drag to resize
SampleToChunkBox Class
As samples are added to a media, they are collected into chunks that allow optimized data access. A chunk contains one or more samples. Chunks in a media may have different sizes, and the samples within a chunk may have different sizes. The sample-to-chunk atom stores chunk information for the samples in a media.
Inheritance Hierarchy
SystemObject
  StreamCoders.Container.MP4Box
    StreamCoders.Container.MP4FullBox
      StreamCoders.Container.MP4SampleToChunkBox

Namespace: StreamCoders.Container.MP4
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class SampleToChunkBox : FullBox

The SampleToChunkBox type exposes the following members.

Constructors
  NameDescription
Public methodSampleToChunkBox(Byte)
Initializes a new instance of the SampleToChunkBox class
Public methodSampleToChunkBox(Box)
Initializes a new instance of the SampleToChunkBox class
Top
Properties
  NameDescription
Public propertyBoxSize
Gets the content + header size of a single box (without children) in bytes.
(Inherited from Box.)
Public propertyContentSize (Overrides BoxContentSize.)
Public propertyFullTreeSize
Gets the boxes size including all children and header sizes (in bytes).
(Inherited from Box.)
Public propertyHeaderSize (Inherited from FullBox.)
Top
Methods
  NameDescription
Public methodAddChild
Adds a child.
(Inherited from Box.)
Public methodAddChunk
Adds a chunk of samples to the box
Public methodDebugWriteToFile (Inherited from Box.)
Public methodFindChild(BoxType)
Finds a child of this item.
(Inherited from Box.)
Public methodFindChild(BoxType)
Finds a child of this item.
(Inherited from Box.)
Public methodFindChildT
Finds the first occurance of a child immediate to the current box.
(Inherited from Box.)
Public methodFindChildFullT
Finds child of type T in full tree.
(Inherited from Box.)
Public methodFindChildFullSubClassedT
Finds first child subclassed from type T in full tree.
(Inherited from Box.)
Public methodFindChildrenT
Finds multiple Children of the same type immediate to the current box.
(Inherited from Box.)
Public methodFindChildrenFullSubClassedT
Finds object derived subclassed from T in full tree.
(Inherited from Box.)
Public methodFindParentT
Traverses up until root node until an immediate parent is found.
(Inherited from Box.)
Public methodFindParentOrChildT
Traverses Parent and immediate children up to root node for a specific box type.
(Inherited from Box.)
Public methodGetChunk
Public methodParse
Parses this object.
(Inherited from Box.)
Public methodReadDebugData
Reads the debug data.
(Inherited from Box.)
Public methodSetDirty
Marks box and its children as dirty. Initially all boxes are dirty.
(Inherited from Box.)
Public methodSkip
Skips the remaining bytes of the box by reading them.
(Inherited from Box.)
Public methodUpdate
Updates the box and it's children. The box must be set dirty.
(Inherited from Box.)
Public methodVerifyDebugData
Verify debug data.
(Inherited from Box.)
Public methodVerifyDebugData(String)
Verify debug data.
(Inherited from Box.)
Public methodWriteInto
Writes the box and its children to a destination stream.
(Inherited from Box.)
Top
Events
  NameDescription
Public eventOnBeforeWrite
Event to be raised before a Box is written to an output stream using Box.WriteInto
(Inherited from Box.)
Top
Fields
  NameDescription
Public fieldBoxType
Contains the type of the box.
(Inherited from Box.)
Public fieldBoxValueType
The value representation of the box type.
(Inherited from Box.)
Public fieldFlags (Inherited from FullBox.)
Public fieldSampleToChunkEntries
Public fieldSizeExcludingHeader
The size of the box without header.
(Inherited from Box.)
Public fieldSizeIncludingHeader
The size of the current box including header.
(Inherited from Box.)
Public fieldUserType
Custom Box type (uuid).
(Inherited from Box.)
Public fieldVersion (Inherited from FullBox.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also