#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_PAT_GetPMTPid (const TS2_PAT *self, ATX_UInt16 program_num, 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) | 
|  | 
◆ TS2_CAT_PID
◆ TS2_CAT_TABLE_ID
      
        
          | #define TS2_CAT_TABLE_ID   0x01 | 
      
 
 
◆ TS2_PAT_PID
◆ TS2_PAT_TABLE_ID
      
        
          | #define TS2_PAT_TABLE_ID   0x00 | 
      
 
 
◆ TS2_PMT_TABLE_ID
      
        
          | #define TS2_PMT_TABLE_ID   0x02 | 
      
 
 
◆ TS2_SECTION_CRC_SIZE
      
        
          | #define TS2_SECTION_CRC_SIZE   4 | 
      
 
 
◆ TS2_SECTION_LONG_HEADER_SIZE
      
        
          | #define TS2_SECTION_LONG_HEADER_SIZE   8 | 
      
 
 
◆ TS2_SECTION_SHORT_HEADER_SIZE
      
        
          | #define TS2_SECTION_SHORT_HEADER_SIZE   3 | 
      
 
 
◆ TS2_SectionHeader_GetSize
      
        
          | #define TS2_SectionHeader_GetSize | ( |  | h | ) |  | 
      
 
Value:(h)->section_syntax_indicator?      \
#define TS2_SECTION_LONG_HEADER_SIZE
Definition: Ts2Tables.h:38
#define TS2_SECTION_SHORT_HEADER_SIZE
Definition: Ts2Tables.h:39
 
 
◆ TS2_Table
◆ TS2_Crc_Status
| Enumerator | 
|---|
| TS2_CRC_NONE |  | 
| TS2_CRC_OK |  | 
| TS2_CRC_FAILED |  | 
 
 
◆ TS2_CAT_Construct()
◆ TS2_PAT_Construct()
◆ TS2_PAT_GetFirstPMTPid()
      
        
          | TS2_EXPORT ATX_Result TS2_PAT_GetFirstPMTPid | ( | const TS2_PAT * | self, | 
        
          |  |  | ATX_UInt16 * | pmt_pid | 
        
          |  | ) |  |  | 
      
 
 
◆ TS2_PAT_GetPMTPid()
      
        
          | TS2_EXPORT ATX_Result TS2_PAT_GetPMTPid | ( | const TS2_PAT * | self, | 
        
          |  |  | ATX_UInt16 | program_num, | 
        
          |  |  | ATX_UInt16 * | pmt_pid | 
        
          |  | ) |  |  | 
      
 
 
◆ TS2_PMT_Construct()
◆ TS2_PMT_RemoveCADescriptors()
      
        
          | ATX_Result TS2_PMT_RemoveCADescriptors | ( | TS2_PMT * | self | ) |  | 
      
 
 
◆ TS2_Section_GetPayloadSize()
      
        
          | ATX_Size TS2_Section_GetPayloadSize | ( | TS2_Section * | section | ) |  | 
      
 
 
◆ TS2_SectionHeader_Serialize()
      
        
          | ATX_Result TS2_SectionHeader_Serialize | ( | TS2_SectionHeader * | header, | 
        
          |  |  | ATX_Byte * | buffer | 
        
          |  | ) |  |  | 
      
 
 
◆ TS2_Table_AddData()
      
        
          | ATX_Result TS2_Table_AddData | ( | TS2_Table * | self, | 
        
          |  |  | const ATX_Byte * | data, | 
        
          |  |  | ATX_Size | data_size, | 
        
          |  |  | ATX_Boolean | payload_unit_start | 
        
          |  | ) |  |  | 
      
 
 
◆ TS2_Table_AddPacket()
same as TS2_Table_AddData where the packet payload is added 
 
 
◆ TS2_Table_Destruct()
◆ TS2_Table_IsEqual()
◆ TS2_Table_SerializeToPackets()
      
        
          | ATX_Result TS2_Table_SerializeToPackets | ( | TS2_Table * | self, | 
        
          |  |  | ATX_UInt16 | pid, | 
        
          |  |  | ATX_DataBuffer * | packets, | 
        
          |  |  | ATX_UInt32 * | continuity_counter | 
        
          |  | ) |  |  | 
      
 
 
◆ TS2_Table_UpdateSectionBuffer()
      
        
          | ATX_Result TS2_Table_UpdateSectionBuffer | ( | TS2_Table * | self | ) |  |