TimeToSampleBox Class Reference

#include <IsoFileClasses.hpp>

Inheritance diagram for TimeToSampleBox:

FullBox Box List of all members.

Public Member Functions

 TimeToSampleBox (unsigned_int8 version=0)
virtual ~TimeToSampleBox ()
void decode (Byte *buffer, UInt32 count)
void encode (Byte **buffer, UInt32 *count)
UInt32 estimateSize ()
UInt32 add_sample_delta (unsigned_int32 new_sample_delta)
UInt32 decode_sample_delta ()
UInt32 getCumulativeSampleDelta ()

Public Attributes

unsigned_int32 entry_count
Vector< unsigned_int32 > sample_count
Vector< unsigned_int32 > sample_delta
Vector< unsigned_int32 > decoded_sample_delta
unsigned_int32 min_sample_delta
unsigned_int32 max_sample_delta

Detailed Description

ISO/IEC 14496-12:2005(E) Class TimeToSampleBox, for details about all public undocumented data (attributes), see ISO/IEC 14496-12:2005(E). Such attributes are syntax elements documented in standard under same name and class.


Constructor & Destructor Documentation

TimeToSampleBox::TimeToSampleBox ( unsigned_int8  version = 0  ) 

TimeToSampleBox::~TimeToSampleBox (  )  [virtual]


Member Function Documentation

UInt32 TimeToSampleBox::add_sample_delta ( unsigned_int32  new_sample_delta  ) 

Add a new TimeToSampleBox::sample_delta

Returns:
The new TimeToSampleBox::entry_count

void TimeToSampleBox::decode ( Byte *  buffer,
UInt32  count 
) [virtual]

See also:
Box::decode

Reimplemented from FullBox.

UInt32 TimeToSampleBox::decode_sample_delta (  ) 

Decode the differentially encoded TimeToSampleBox::sample_delta to linear array of decoded_sample_delta, one entry corresponding to each sample

See also:
TimeToSampleBox::decoded_sample_delta

void TimeToSampleBox::encode ( Byte **  buffer,
UInt32 *  count 
) [virtual]

See also:
Box::encode

Reimplemented from FullBox.

UInt32 TimeToSampleBox::estimateSize (  )  [virtual]

See also:
Box::estimateSize

Reimplemented from FullBox.

UInt32 TimeToSampleBox::getCumulativeSampleDelta (  ) 

Get sum of all sample deltas, i.e., media duration


Member Data Documentation

Vector<unsigned_int32> TimeToSampleBox::decoded_sample_delta

Decoded differentially encoded TimeToSampleBox::sample_delta in a linear array, one entry corresponding to each sample

See also:
TimeToSampleBox::decode_sample_delta

unsigned_int32 TimeToSampleBox::entry_count

unsigned_int32 TimeToSampleBox::max_sample_delta

The max value in the decoded TimeToSampleBox::decode_sample_delta

See also:
TimeToSampleBox::decode_sample_delta

unsigned_int32 TimeToSampleBox::min_sample_delta

The minimum value in the decoded TimeToSampleBox::decode_sample_delta

See also:
TimeToSampleBox::decode_sample_delta

Vector<unsigned_int32> TimeToSampleBox::sample_count

Vector<unsigned_int32> TimeToSampleBox::sample_delta


The documentation for this class was generated from the following files:
Generated on Sun Aug 20 15:06:40 2006 for ISOCodec by  doxygen 1.4.7