17 #ifndef _TS2_ELEMENTARY_STREAM_H_ 18 #define _TS2_ELEMENTARY_STREAM_H_ 31 #define TS2_ES_MPEG1_VIDEO 0x01 32 #define TS2_ES_MPEG2_VIDEO 0x02 33 #define TS2_ES_MPEG1_AUDIO 0x03 34 #define TS2_ES_MPEG2_AUDIO 0x04 35 #define TS2_ES_PRIVATE_DATA 0x06 36 #define TS2_ES_MPEG4_VIDEO 0x10 37 #define TS2_ES_MPEG2_AAC 0x0F 38 #define TS2_ES_MPEG4_AUDIO 0x11 39 #define TS2_ES_AVC 0x1B 40 #define TS2_ES_HEVC 0x24 41 #define TS2_ES_AC3 0x81 Definition: Ts2ElementaryStream.h:50
TS2_ElementaryStream_Type es_type
Definition: Ts2ElementaryStream.h:56
Definition: Ts2ElementaryStream.h:52
Definition: Ts2ElementaryStream.h:51
ATX_Size TS2_ElementaryStream_GetSize(const TS2_ElementaryStream *self)
ATX_Result TS2_ElementaryStream_SetPESHandler(TS2_ElementaryStream *self, ATX_Result(*OnPesPacketComplete)(TS2_ElementaryStream *, TS2_PesPacket *, ATX_Any), ATX_Any client_data)
TS2_Descriptor * TS2_ElementaryStream_GetDescriptor(const TS2_ElementaryStream *self, ATX_Byte desc_tag)
ATX_UInt8 type
Definition: Ts2ElementaryStream.h:57
TS2_PesPacketAssembler packet_assembler
Definition: Ts2ElementaryStream.h:63
ATX_UInt16 pid
Definition: Ts2ElementaryStream.h:58
TS2_ElementaryStream_Type
Definition: Ts2ElementaryStream.h:49
ATX_Result TS2_ElementaryStream_Parse(const ATX_Byte *data, ATX_Size *data_size, TS2_ElementaryStream **es)
ATX_Any client_data
Definition: Ts2ElementaryStream.h:60
Definition: Ts2ElementaryStream.h:69
ATX_Result(* OnPESPacketComplete)(TS2_ElementaryStream *self, TS2_PesPacket *pes_packet, ATX_Any client_data)
Definition: Ts2ElementaryStream.h:64
TS2_ElementaryStream base
Definition: Ts2ElementaryStream.h:70
Definition: Ts2Packet.h:91
ATX_Result TS2_ElementaryStream_ProcessTsPacket(void *elementary_stream, TS2_PacketDispatcher *dispatcher, TS2_Packet *packet)
struct TS2_PacketDispatcher TS2_PacketDispatcher
Definition: Ts2Packet.h:102
ATX_Boolean is_sdr
Definition: Ts2ElementaryStream.h:71
ATX_Result TS2_ElementaryStream_Serialize(const TS2_ElementaryStream *self, ATX_Byte *buffer)
Definition: Ts2ElementaryStream.h:55
Definition: Ts2Descriptors.h:51
ATX_Boolean is_primary
Definition: Ts2ElementaryStream.h:72
ATX_List * descs
Definition: Ts2ElementaryStream.h:59
void TS2_ElementaryStream_Destroy(TS2_ElementaryStream *self)
ATX_Boolean is_secondary
Definition: Ts2ElementaryStream.h:73