DtvKit_ATSC3.0
Loading...
Searching...
No Matches
atsc_core_atsc3_signaling.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3 *
4 * This file is part of a DTVKit Software Component
5 * You are permitted to copy, modify or distribute this file subject to the terms
6 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
7 *
8 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
10 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * If you or your organisation is not a member of DTVKit then you have access
13 * to this source code outside of the terms of the licence agreement
14 * and you are expected to delete this and any associated files immediately.
15 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
16 *******************************************************************************/
17
18#ifndef ATSC_CORE_ATSC3_SIGNALING_H
19#define ATSC_CORE_ATSC3_SIGNALING_H
20
21#include <unistd.h>
22#include <string>
23#include <sys/types.h>
24#include <netinet/in.h>
25#include <net/if.h>
26#include <arpa/inet.h>
27#include <sys/socket.h>
28
29#include "atsc_types.h"
30#include "atsc_core_common.h"
32
40namespace at3_signaling{
41
49 bool Slt(char* pData, int32_t iDataLen, sServiceListTable_t* pSlt);
50
57 int32_t Lct(uint8_t *pPacket, int32_t iDataLen, sLctHeader_t *pLct);
58
65 sLlsTableData_t LLS(uint8_t* pData, int32_t iDataLen);
66
73 int32_t ParseIp(const uint8_t* pData, sIpHeader_t* pIp);
74
81 bool Usbd(char *pData, int32_t iDataLen, sUserServiceBundleDesc_t *pUsbd);
82
89 bool Held(uint8_t* pData, int32_t iDataLen, sHeldElement_t* pHeld);
90
97 bool Stsid(uint8_t* pData, int32_t iDataLen, sServiceTransportSessionInstanceDesc_t* pStsid);
98
105 bool Envelope(uint8_t* pData, int32_t iDataLen, sMetadataEnvelope_t* pEnvelope);
106
113 bool FdtInstance(uint8_t* pData, int32_t iDataLen, sFdtInstanceElement_t *pFdt);
114
121 bool Efdt(uint8_t* pData, int32_t iDataLen, sEfdtElement_t *pEfdt);
122
129 bool Mpd(uint8_t* pData, int32_t iDataLen, sMediaPresentationDesc_t*pMpd);
130
137 int32_t LLSSingedMultiTable(uint8_t* pData, int32_t iDataLength);
138
145 void SystemTime(uint8_t* pData, int32_t iDataLength, char *pDate, sSystemTime_t *pSystemTime);
146
153 void RRT(uint8_t* pData, int32_t iDataLength, sRrtDataTable_t *sRrtData);
154
161 void SvcSaCapabilitiesMapping( int32_t iCapCode , sServiceListTable_t *pSltBase , int32_t iSvcCnt );
162};
163
164#endif //ATSC_CORE_ATSC3_SIGNALING_H
Definition atsc_core_atsc3_signaling.h:40
Definition atsc_core_atsc3_signaling_types.h:647
Definition atsc_core_atsc3_signaling_types.h:734
Definition atsc_core_atsc3_signaling_types.h:744
Definition atsc_core_atsc3_signaling_types.h:432
Definition atsc_core_common.h:41
Definition atsc_core_atsc3_signaling_types.h:206
Definition atsc_core_atsc3_signaling_types.h:229
Definition atsc_core_atsc3_signaling_types.h:591
Definition atsc_types.h:507
Definition atsc_types.h:651
Definition atsc_core_atsc3_signaling_types.h:725
Definition atsc_types.h:514
Definition atsc_core_atsc3_signaling_types.h:502