Class ISO14496_Box_SDTP

Description

The Independent and Disposable Samples Box optional table answers

three questions about sample dependency: 1) does this sample depend on others (is it an I-picture)? 2) do no other samples depend on this one? 3) does this sample contain multiple (redundant) encodings of the data at this time-instant (possibly with different dependencies)?

In the absence of this table: 1) the sync sample table answers the first question; in most video codecs, I-pictures are also sync points, 2) the dependency of other samples on this one is unknown. 3) the existence of redundant coding is unknown.

When performing trick modes, such as fast-forward, it is possible to use the first piece of information to locate independently decodable samples. Similarly, when performing random access, it may be necessary to locate the previous sync point or random access recovery point, and roll-forward from the sync point or the pre-roll starting point of the random access recovery point to the desired point. While rolling forward, samples on which no others depend need not be retrieved or decoded.

The value of sampleIsDependedOn is independent of the existence of redundant codings. However, a redundant coding may have different dependencies from the primary coding; if redundant codings are available, the value of sampleDependsOn documents only the primary coding.

A sample dependency Box may also occur in the Track Fragment Box.

Located in /ISO14496/Box/SDTP.php (line 79)

ISO14496_Box
   |
   --ISO14496_Box_Full
      |
      --ISO14496_Box_SDTP
Method Summary
ISO14496_Box_SDTP __construct (Reader $reader, [ &$options = array()])
Variables
Methods
Constructor __construct (line 90)

Constructs the class with given parameters and reads box related data from the ISO Base Media file.

  • access: public
ISO14496_Box_SDTP __construct (Reader $reader, [ &$options = array()])
  • Reader $reader: The reader object.
  • &$options

Redefinition of:
ISO14496_Box_Full::__construct()
Constructs the class with given parameters and reads box related data from the ISO Base Media file.
getSampleDependencyTypeTable (line 126)

Returns an array of values. Each entry is an array containing the following keys.

  • sampleDependsOn -- takes one of the following four values: 0: the dependency of this sample is unknown; 1: this sample does depend on others (not an I picture); 2: this sample does not depend on others (I picture); 3: reserved
  • sampleIsDependedOn -- takes one of the following four values: 0: the dependency of other samples on this sample is unknown; 1: other samples depend on this one (not disposable); 2: no other sample depends on this one (disposable); 3: reserved
  • sampleHasRedundancy -- takes one of the following four values: 0: it is unknown whether there is redundant coding in this sample; 1: there is redundant coding in this sample; 2: there is no redundant coding in this sample; 3: reserved

  • access: public
Array getSampleDependencyTypeTable ()

Inherited Methods

Inherited From ISO14496_Box_Full

ISO14496_Box_Full::__construct()
ISO14496_Box_Full::getFlags()
ISO14496_Box_Full::getVersion()
ISO14496_Box_Full::hasFlag()
ISO14496_Box_Full::setFlags()
ISO14496_Box_Full::setVersion()
ISO14496_Box_Full::__toString()

Inherited From ISO14496_Box

ISO14496_Box::__construct()
ISO14496_Box::addBox()
ISO14496_Box::constructBoxes()
ISO14496_Box::getBoxes()
ISO14496_Box::getBoxesByIdentifier()
ISO14496_Box::getContainer()
ISO14496_Box::getOffset()
ISO14496_Box::getOption()
ISO14496_Box::getOptions()
ISO14496_Box::getParent()
ISO14496_Box::getSize()
ISO14496_Box::getType()
ISO14496_Box::hasBox()
ISO14496_Box::isContainer()
ISO14496_Box::setContainer()
ISO14496_Box::setOffset()
ISO14496_Box::setOption()
ISO14496_Box::setOptions()
ISO14496_Box::setParent()
ISO14496_Box::setSize()
ISO14496_Box::setType()
ISO14496_Box::__get()
ISO14496_Box::__isset()
ISO14496_Box::__set()
ISO14496_Box::__toString()
ISO14496_Box::__unset()

Documentation generated on Fri, 05 Sep 2008 20:19:21 +0300 by phpDocumentor 1.4.1