libdvbpsi  2.0.0-git
dr_a1.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2012 Yonathan Yusim
3 
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8 
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13 
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 dr_a1.h
19 
20 Service Location Descriptor.
21 
22 */
23 
30 #ifndef _DVBPSI_DR_A1_H_
31 #define _DVBPSI_DR_A1_H_
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37 
38 /*****************************************************************************
39  * dvbpsi_service_location_element_s
40  *****************************************************************************/
52 {
53  uint8_t i_stream_type;
54  uint16_t i_elementary_pid;
55  char i_iso_639_code[3];
57 
58 /*****************************************************************************
59  * dvbpsi_service_location_dr_s
60  *****************************************************************************/
73 {
74  uint16_t i_pcr_pid;
80 
81 
82 /*****************************************************************************
83  * dvbpsi_DecodeServiceLocationDr
84  *****************************************************************************/
95 
96 /*****************************************************************************
97  * dvbpsi_GenServiceLocationDr
98  *****************************************************************************/
110  dvbpsi_service_location_dr_t* p_decoded,
111  bool b_duplicate);
112 
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #else
119 #error "Multiple inclusions of dr_a1.h"
120 #endif
dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(dvbpsi_descriptor_t *p_descriptor)
"service location" descriptor decoder.
"service location element" structure
Definition: dr_a1.h:51
uint8_t i_number_elements
Definition: dr_a1.h:75
char i_iso_639_code[3]
Definition: dr_a1.h:55
uint16_t i_pcr_pid
Definition: dr_a1.h:74
"service" descriptor structure.
Definition: dr_a1.h:72
struct dvbpsi_service_location_element_s dvbpsi_service_location_element_t
dvbpsi_service_location_element_t typedefinition.
dvbpsi_service_location_element_t elements[0xff]
Definition: dr_a1.h:77
Descriptor structure.
Definition: descriptor.h:82
uint16_t i_elementary_pid
Definition: dr_a1.h:54
struct dvbpsi_service_location_dr_s dvbpsi_service_location_dr_t
dvbpsi_service_location_dr_t type definition.
uint8_t i_stream_type
Definition: dr_a1.h:53
dvbpsi_descriptor_t * dvbpsi_GenServiceLocationDr(dvbpsi_service_location_dr_t *p_decoded, bool b_duplicate)
"service" descriptor generator.