NaCl Player API
NaCl Player API Documentation
|
#include <media_common.h>
Public Attributes | |
TimeTicks | pts |
TimeTicks | dts |
TimeDelta | duration |
Duration of the packet. | |
bool | is_key_frame |
Whether the packet represents a key frame. | |
uint32_t | size |
Size in bytes of packet data. | |
const void * | buffer |
Base address of buffer containing data of the packet. | |
Structure describing Elementary Stream packet. It contains all necessary timing information to display sent packets in appropriate order and synchronize different streams.
Definition at line 269 of file media_common.h.
TimeTicks Samsung::NaClPlayer::ESPacket::dts |
Decode Timestamp, indicates time relative to begging of the stream when packet must be sent to decoder.
Usually equals to pts except rare cases like B-Frames.
Definition at line 278 of file media_common.h.
TimeTicks Samsung::NaClPlayer::ESPacket::pts |
Presentation Timestamp, indicates time relative to begging of the stream when packet must be rendered.
Definition at line 272 of file media_common.h.