libdvbpsi  2.0.0-git
dr_81.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2013-2014 Michael Ira Krufky
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_81.h
19 
20 Decode AC-3 Audio Descriptor.
21 
22 */
23 
30 #ifndef _DR_81_H
31 #define _DR_81_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /*****************************************************************************
38  * dvbpsi_ac3_audio_dr_s
39  *****************************************************************************/
50 typedef struct dvbpsi_ac3_audio_dr_s
51 {
53  uint8_t i_bsid;
54  uint8_t i_bit_rate_code;
55  uint8_t i_surround_mode;
56  uint8_t i_bsmod;
57  uint8_t i_num_channels;
58  int b_full_svc;
59  uint8_t i_lang_code;
60  uint8_t i_lang_code2;
61  uint8_t i_mainid;
62  uint8_t i_priority;
63  uint8_t i_asvcflags;
64  uint8_t i_textlen;
66  unsigned char text[128];
69  uint8_t language[3];
70  uint8_t language_2[3];
72 
73 /*****************************************************************************
74  * dvbpsi_DecodeAc3AudioDr
75  *****************************************************************************/
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif
90 
int b_language_flag_2
Definition: dr_81.h:68
uint8_t i_textlen
Definition: dr_81.h:64
uint8_t language_2[3]
Definition: dr_81.h:70
dvbpsi_ac3_audio_dr_t * dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor)
Decode a AC-3 Audio descriptor (tag 0x81)
uint8_t i_mainid
Definition: dr_81.h:61
uint8_t i_asvcflags
Definition: dr_81.h:63
uint8_t i_bsid
Definition: dr_81.h:53
uint8_t i_bsmod
Definition: dr_81.h:56
int b_language_flag
Definition: dr_81.h:67
uint8_t i_surround_mode
Definition: dr_81.h:55
struct dvbpsi_ac3_audio_dr_s dvbpsi_ac3_audio_dr_t
dvbpsi_ac3_audio_dr_t type definition.
uint8_t i_priority
Definition: dr_81.h:62
unsigned char text[128]
Definition: dr_81.h:66
uint8_t i_num_channels
Definition: dr_81.h:57
uint8_t i_lang_code2
Definition: dr_81.h:60
AC-3 Audio Descriptor.
Definition: dr_81.h:50
uint8_t i_bit_rate_code
Definition: dr_81.h:54
int b_text_code
Definition: dr_81.h:65
int b_full_svc
Definition: dr_81.h:58
uint8_t language[3]
Definition: dr_81.h:69
Descriptor structure.
Definition: descriptor.h:82
uint8_t i_lang_code
Definition: dr_81.h:59
uint8_t i_sample_rate_code
Definition: dr_81.h:52