Wasabi ExpressPlay SDK for Embedded Systems  1.10
Data Structures | Macros | Typedefs | Functions
Ts2ElementaryStream.h File Reference
#include "Atomix.h"
#include "Ts2Packet.h"
#include "Ts2Pes.h"

Go to the source code of this file.

Data Structures

struct  TS2_ElementaryStream
 

Macros

#define TS2_ES_MPEG1_VIDEO   0x01
 
#define TS2_ES_MPEG2_VIDEO   0x02
 
#define TS2_ES_MPEG1_AUDIO   0x03
 
#define TS2_ES_MPEG2_AUDIO   0x04
 
#define TS2_ES_MPEG4_VIDEO   0x10
 
#define TS2_ES_MPEG2_AAC   0x0F /* ADTS */
 
#define TS2_ES_MPEG4_AUDIO   0x11
 
#define TS2_ES_AVC   0x1B
 
#define TS2_ES_HEVC   0x24
 
#define TS2_ES_AC3   0x81
 

Typedefs

typedef struct TS2_ElementaryStream TS2_ElementaryStream
 

Functions

ATX_Result TS2_ElementaryStream_Parse (const ATX_Byte *data, ATX_Size *data_size, TS2_ElementaryStream **es)
 
ATX_Result TS2_ElementaryStream_Serialize (const TS2_ElementaryStream *self, ATX_Byte *buffer)
 
ATX_Size TS2_ElementaryStream_GetSize (const TS2_ElementaryStream *self)
 
void TS2_ElementaryStream_Destroy (TS2_ElementaryStream *self)
 
ATX_Result TS2_ElementaryStream_ProcessTsPacket (void *elementary_stream, TS2_PacketDispatcher *dispatcher, TS2_Packet *packet)
 
ATX_Result TS2_ElementaryStream_SetPESHandler (TS2_ElementaryStream *self, ATX_Result(*OnPesPacketComplete)(TS2_ElementaryStream *, TS2_PesPacket *, ATX_Any), ATX_Any client_data)
 

Macro Definition Documentation

#define TS2_ES_AC3   0x81
#define TS2_ES_AVC   0x1B
#define TS2_ES_HEVC   0x24
#define TS2_ES_MPEG1_AUDIO   0x03
#define TS2_ES_MPEG1_VIDEO   0x01
#define TS2_ES_MPEG2_AAC   0x0F /* ADTS */
#define TS2_ES_MPEG2_AUDIO   0x04
#define TS2_ES_MPEG2_VIDEO   0x02
#define TS2_ES_MPEG4_AUDIO   0x11
#define TS2_ES_MPEG4_VIDEO   0x10

Typedef Documentation

Function Documentation

void TS2_ElementaryStream_Destroy ( TS2_ElementaryStream self)
ATX_Size TS2_ElementaryStream_GetSize ( const TS2_ElementaryStream self)
ATX_Result TS2_ElementaryStream_Parse ( const ATX_Byte *  data,
ATX_Size *  data_size,
TS2_ElementaryStream **  es 
)
ATX_Result TS2_ElementaryStream_ProcessTsPacket ( void *  elementary_stream,
TS2_PacketDispatcher dispatcher,
TS2_Packet packet 
)
ATX_Result TS2_ElementaryStream_Serialize ( const TS2_ElementaryStream self,
ATX_Byte *  buffer 
)
ATX_Result TS2_ElementaryStream_SetPESHandler ( TS2_ElementaryStream self,
ATX_Result(*)(TS2_ElementaryStream *, TS2_PesPacket *, ATX_Any)  OnPesPacketComplete,
ATX_Any  client_data 
)