libdvbpsi  2.0.0-git
dr_53.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_53.h
3  * Copyright (C) 2013, M2X BV
4  *
5  * Authors: Jean-Paul Saman <jpsaman@videolan.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  *****************************************************************************/
22 
34 #ifndef _DVBPSI_DR_53_H_
35 #define _DVBPSI_DR_53_H_
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /*****************************************************************************
42  * dvbpsi_ca_system_s
43  *****************************************************************************/
55 typedef struct dvbpsi_ca_system_s
56 {
57  uint16_t i_ca_system_id;
60 
65 #define DVBPSI_CA_SYSTEM_ID_DR_MAX 127
66 
67 /*****************************************************************************
68  * dvbpsi_ca_identifier_dr_s
69  *****************************************************************************/
82 {
83  uint8_t i_number;
87 
88 
89 /*****************************************************************************
90  * dvbpsi_DecodeCAIdentifierDr
91  *****************************************************************************/
101 
102 
103 /*****************************************************************************
104  * dvbpsi_GenStreamIdentifierDr
105  *****************************************************************************/
117  bool b_duplicate);
118 
119 
120 #ifdef __cplusplus
121 };
122 #endif
123 
124 #else
125 #error "Multiple inclusions of dr_53.h"
126 #endif
dvbpsi_ca_system_t p_system[DVBPSI_CA_SYSTEM_ID_DR_MAX]
Definition: dr_53.h:84
uint8_t i_number
Definition: dr_53.h:83
dvbpsi_ca_identifier_dr_t * dvbpsi_DecodeCAIdentifierDr(dvbpsi_descriptor_t *p_descriptor)
"DA identifier" descriptor decoder.
struct dvbpsi_ca_system_s dvbpsi_ca_system_t
dvbpsi_ca_system_t type definition. The CA system identifier field is allocated using values found in...
dvbpsi_descriptor_t * dvbpsi_GenCAIdentifierDr(dvbpsi_ca_identifier_dr_t *p_decoded, bool b_duplicate)
"CA identifier" descriptor generator.
"CA identifier" descriptor structure.
Definition: dr_53.h:81
struct dvbpsi_ca_identifier_dr_s dvbpsi_ca_identifier_dr_t
dvbpsi_ca_identifier_dr_t type definition.
CA system identifier structure.
Definition: dr_53.h:55
#define DVBPSI_CA_SYSTEM_ID_DR_MAX
Maximum number of dvbpsi_ca_system_t entries present in.
Definition: dr_53.h:65
Descriptor structure.
Definition: descriptor.h:82
uint16_t i_ca_system_id
Definition: dr_53.h:57