edu.umd.cfar.lamp.mpeg1.system
Class PresentationTimeStamp

java.lang.Object
  extended byedu.umd.cfar.lamp.mpeg1.system.BaseTimeStamp
      extended byedu.umd.cfar.lamp.mpeg1.system.PresentationTimeStamp
All Implemented Interfaces:
Parsable

public class PresentationTimeStamp
extends BaseTimeStamp

Corresponds to presentation_time_stamp in ISO/IEC 11172-1.

"The presentation_time_stamp (PTS) is a 33-bit number coded in three separate fields. It indicates the intended time of presentation in the system target decoder of the presentation unit that corresponds to the first access unit that commences in the packet. The value of PTS is measured in the number of periods of a 90kHz system clock with a tolerance specified in 2.4.2. Using the notation of 2.4.2 the value encoded in the presentation_time_stamp is:

PTS = NINT (system_clock_frequency * (tp_n(k))) & 2^33
where
tp_n(k) is the presentation time of presentation unit P_n(k).

P_n(k) is the presentation unit corresponding to the first access unit that commences in the packet data. An access unit commences in the packet if the first byte of a video picture start code or the first byte of the synchronization word of an audio frame (see ISO/IEC 11172-2 and ISO/IEC 11172-3) is present in the packet data.

If there is filtering in audio, it is assumed by the system model that filtering introduces no delay, hence the sample referred to by PTS at encoding is the same sample referred to PTS at decoding."

- ISO/IEC 11172-1 Section 2.4.4.3


Field Summary
 
Fields inherited from class edu.umd.cfar.lamp.mpeg1.system.BaseTimeStamp
field1, field2, field3
 
Constructor Summary
PresentationTimeStamp()
           
 
Methods inherited from class edu.umd.cfar.lamp.mpeg1.system.BaseTimeStamp
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationTimeStamp

public PresentationTimeStamp()