NaCl Player API
NaCl Player API Documentation
Samsung::NaClPlayer::ESPacket Struct Reference

#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.
 

Detailed Description

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.

Member Data Documentation

◆ dts

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.

◆ pts

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.


The documentation for this struct was generated from the following file: