#include "Atomix.h"
#include "Ts2Packet.h"
#include "Ts2Utils.h"
Go to the source code of this file.
|
ATX_Size | TS2_Section_GetPayloadSize (TS2_Section *section) |
|
ATX_Result | TS2_SectionHeader_Serialize (TS2_SectionHeader *header, ATX_Byte *buffer) |
|
ATX_Result | TS2_Table_AddData (TS2_Table *self, const ATX_Byte *data, ATX_Size data_size, ATX_Boolean payload_unit_start) |
|
TS2_EXPORT ATX_Result | TS2_Table_AddPacket (TS2_Table *self, const TS2_Packet *packet) |
| same as TS2_Table_AddData where the packet payload is added More...
|
|
ATX_Result | TS2_Table_SerializeToPackets (TS2_Table *self, ATX_UInt16 pid, ATX_DataBuffer *packets, ATX_UInt32 *continuity_counter) |
|
ATX_Result | TS2_Table_UpdateSectionBuffer (TS2_Table *self) |
|
ATX_Boolean | TS2_Table_IsEqual (TS2_Table *self, TS2_Table *other) |
|
TS2_EXPORT void | TS2_Table_Destruct (TS2_Table *self) |
|
TS2_EXPORT ATX_Result | TS2_PAT_Construct (TS2_PAT *self) |
|
TS2_EXPORT ATX_Result | TS2_PAT_GetFirstPMTPid (const TS2_PAT *self, ATX_UInt16 *pmt_pid) |
|
TS2_EXPORT ATX_Result | TS2_PMT_Construct (TS2_PMT *self) |
|
ATX_Result | TS2_PMT_RemoveCADescriptors (TS2_PMT *self) |
|
TS2_EXPORT ATX_Result | TS2_CAT_Construct (TS2_CAT *self) |
|
#define TS2_CAT_TABLE_ID 0x01 |
#define TS2_PAT_TABLE_ID 0x00 |
#define TS2_PMT_TABLE_ID 0x02 |
#define TS2_SECTION_CRC_SIZE 4 |
#define TS2_SECTION_LONG_HEADER_SIZE 8 |
#define TS2_SECTION_SHORT_HEADER_SIZE 3 |
#define TS2_SectionHeader_GetSize |
( |
|
h | ) |
|
Value:(h)->section_syntax_indicator? \
Enumerator |
---|
TS2_CRC_NONE |
|
TS2_CRC_OK |
|
TS2_CRC_FAILED |
|
TS2_EXPORT ATX_Result TS2_PAT_GetFirstPMTPid |
( |
const TS2_PAT * |
self, |
|
|
ATX_UInt16 * |
pmt_pid |
|
) |
| |
ATX_Result TS2_PMT_RemoveCADescriptors |
( |
TS2_PMT * |
self | ) |
|
ATX_Size TS2_Section_GetPayloadSize |
( |
TS2_Section * |
section | ) |
|
ATX_Result TS2_SectionHeader_Serialize |
( |
TS2_SectionHeader * |
header, |
|
|
ATX_Byte * |
buffer |
|
) |
| |
ATX_Result TS2_Table_AddData |
( |
TS2_Table * |
self, |
|
|
const ATX_Byte * |
data, |
|
|
ATX_Size |
data_size, |
|
|
ATX_Boolean |
payload_unit_start |
|
) |
| |
same as TS2_Table_AddData where the packet payload is added
ATX_Result TS2_Table_SerializeToPackets |
( |
TS2_Table * |
self, |
|
|
ATX_UInt16 |
pid, |
|
|
ATX_DataBuffer * |
packets, |
|
|
ATX_UInt32 * |
continuity_counter |
|
) |
| |
ATX_Result TS2_Table_UpdateSectionBuffer |
( |
TS2_Table * |
self | ) |
|