libdvbpsi  1.2.0
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 
40 {
41  uint8_t i_stream_type;
42  uint16_t i_elementary_pid;
43  char i_iso_639_code[3];
45 
46 /*****************************************************************************
47  * dvbpsi_service_location_dr_s
48  *****************************************************************************/
61 {
62  uint16_t i_pcr_pid;
68 
69 
70 /*****************************************************************************
71  * dvbpsi_DecodeServiceDataDr
72  *****************************************************************************/
83 
84 #if 0
85 /*****************************************************************************
86  * dvbpsi_GenServiceDataDr
87  *****************************************************************************/
98 dvbpsi_descriptor_t *dvbpsi_GenServiceLocationDr (dvbpsi_service_dr_t *
99  p_decoded,
100  bool b_duplicate);
101 #endif
102 
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #else
109 #error "Multiple inclusions of dr_a1.h"
110 #endif
dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(dvbpsi_descriptor_t *p_descriptor)
"service location" descriptor decoder.
Definition: dr_a1.h:39
uint8_t i_number_elements
Definition: dr_a1.h:63
char i_iso_639_code[3]
Definition: dr_a1.h:43
uint16_t i_pcr_pid
Definition: dr_a1.h:62
"service" descriptor structure.
Definition: dr_48.h:58
Definition: dr_a1.h:60
dvbpsi_service_location_element_t elements[0xff]
Definition: dr_a1.h:65
Descriptor structure.
Definition: descriptor.h:78
uint16_t i_elementary_pid
Definition: dr_a1.h:42
struct dvbpsi_service_location_dr_s dvbpsi_service_location_dr_t
dvbpsi_service_dr_t type definition.
uint8_t i_stream_type
Definition: dr_a1.h:41