#include "Atomix.h"
Go to the source code of this file.
|
ATX_Result | TS2_Descriptor_Parse (const ATX_Byte *data, ATX_Size *data_size, TS2_DescriptorType desc_type, ATX_Boolean as_generic, TS2_Descriptor **desc) |
|
ATX_Result | TS2_Descriptor_Serialize (TS2_Descriptor *self, ATX_Byte *buffer) |
| Serialize the descriptor. More...
|
|
ATX_Size | TS2_DescriptorList_GetSize (ATX_List *descs) |
|
ATX_Result | TS2_DescriptorList_Serialize (ATX_List *descs, ATX_Byte *buffer) |
|
void | TS2_DescriptorList_Destroy (ATX_List *descs) |
|
ATX_Result | TS2_CADescriptor_Create (ATX_UInt16 system_id, ATX_UInt16 pid, const ATX_Byte *private_data, ATX_Size private_data_size, TS2_CADescriptor **ca_desc) |
|
◆ TS2_AUDIO_STREAM_DESCRIPTOR_TAG
#define TS2_AUDIO_STREAM_DESCRIPTOR_TAG 3 |
◆ TS2_CA_DESCRIPTOR_TAG
#define TS2_CA_DESCRIPTOR_TAG 9 |
◆ TS2_CADescriptor_GetPrivateDataSize
#define TS2_CADescriptor_GetPrivateDataSize |
( |
|
self | ) |
(ATX_Size)((self->base.length - 4)) |
◆ TS2_Descriptor_Destroy
#define TS2_Descriptor_Destroy |
( |
|
self | ) |
(self)->Destroy(self) |
Release all the memory that has been allocated for the descriptor object 'self'.
◆ TS2_Descriptor_GetSize
#define TS2_Descriptor_GetSize |
( |
|
self | ) |
((self)->length + 2) |
Get the descriptor size in bytes.
This is the serialized form size.
◆ TS2_DESCRIPTOR_HEADER_SIZE
#define TS2_DESCRIPTOR_HEADER_SIZE 2 |
◆ TS2_DOVI_BL_PRESENT
◆ TS2_DOVI_EL_PRESENT
◆ TS2_DOVI_FLAG_BL_PRESENT
#define TS2_DOVI_FLAG_BL_PRESENT 0x01 |
◆ TS2_DOVI_FLAG_EL_PRESENT
#define TS2_DOVI_FLAG_EL_PRESENT 0x02 |
◆ TS2_DOVI_FLAG_RPU_PRESENT
#define TS2_DOVI_FLAG_RPU_PRESENT 0x04 |
◆ TS2_DOVI_FORMAT_IDENTIFIER
#define TS2_DOVI_FORMAT_IDENTIFIER 0x444F5649 |
◆ TS2_DOVI_RPU_PRESENT
◆ TS2_DOVI_VIDEO_STREAM_DESCRIPTOR_TAG
#define TS2_DOVI_VIDEO_STREAM_DESCRIPTOR_TAG 176 /* 0xB0 */ |
◆ TS2_REGISTRATION_DESCRIPTOR_TAG
#define TS2_REGISTRATION_DESCRIPTOR_TAG 5 |
◆ TS2_RegistrationDescriptor_GetAdditionalInfoSize
#define TS2_RegistrationDescriptor_GetAdditionalInfoSize |
( |
|
self | ) |
(ATX_Size)((self->base.length - 4)) |
◆ TS2_VIDEO_STREAM_DESCRIPTOR_TAG
#define TS2_VIDEO_STREAM_DESCRIPTOR_TAG 2 |
◆ TS2_VideoStreamDescriptor_Mpeg1OnlyFlag
#define TS2_VideoStreamDescriptor_Mpeg1OnlyFlag |
( |
|
vdesc | ) |
((vdesc)->flags & 0x04) |
◆ TS2_Descriptor
◆ TS2_DescriptorType
Enumerator |
---|
AS_GENERIC | |
PMT_DESCRIPTOR | |
CAT_DESCRIPTOR | |
PMT_ES_DESCRIPTOR | |
CA_DESC_PRIVATE_DESCRIPTOR | |
KSM_ACCESS_CRITERIA_DESCRIPTOR | |
◆ TS2_CADescriptor_Create()
ATX_Result TS2_CADescriptor_Create |
( |
ATX_UInt16 |
system_id, |
|
|
ATX_UInt16 |
pid, |
|
|
const ATX_Byte * |
private_data, |
|
|
ATX_Size |
private_data_size, |
|
|
TS2_CADescriptor ** |
ca_desc |
|
) |
| |
◆ TS2_Descriptor_Parse()
◆ TS2_Descriptor_Serialize()
ATX_Result TS2_Descriptor_Serialize |
( |
TS2_Descriptor * |
self, |
|
|
ATX_Byte * |
buffer |
|
) |
| |
Serialize the descriptor.
- Parameters
-
◆ TS2_DescriptorList_Destroy()
void TS2_DescriptorList_Destroy |
( |
ATX_List * |
descs | ) |
|
◆ TS2_DescriptorList_GetSize()
ATX_Size TS2_DescriptorList_GetSize |
( |
ATX_List * |
descs | ) |
|
◆ TS2_DescriptorList_Serialize()
ATX_Result TS2_DescriptorList_Serialize |
( |
ATX_List * |
descs, |
|
|
ATX_Byte * |
buffer |
|
) |
| |