libdvbpsi
1.3.2
src
descriptors
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
{
52
uint8_t
i_sample_rate_code
;
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
;
65
int
b_text_code
;
66
unsigned
char
text
[128];
67
int
b_language_flag
;
68
int
b_language_flag_2
;
69
uint8_t
language
[3];
70
uint8_t
language_2
[3];
71
}
dvbpsi_ac3_audio_dr_t
;
72
73
/*****************************************************************************
74
* dvbpsi_DecodeAc3AudioDr
75
*****************************************************************************/
83
dvbpsi_ac3_audio_dr_t
*
dvbpsi_DecodeAc3AudioDr
(
dvbpsi_descriptor_t
*p_descriptor);
84
85
#ifdef __cplusplus
86
}
87
#endif
88
89
#endif
90
dvbpsi_DecodeAc3AudioDr
dvbpsi_ac3_audio_dr_t * dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor)
Decode a AC-3 Audio descriptor (tag 0x81)
dvbpsi_ac3_audio_dr_t
struct dvbpsi_ac3_audio_dr_s dvbpsi_ac3_audio_dr_t
dvbpsi_ac3_audio_dr_t type definition.
dvbpsi_ac3_audio_dr_s
AC-3 Audio Descriptor.
Definition
dr_81.h:51
dvbpsi_ac3_audio_dr_s::i_textlen
uint8_t i_textlen
Definition
dr_81.h:64
dvbpsi_ac3_audio_dr_s::i_asvcflags
uint8_t i_asvcflags
Definition
dr_81.h:63
dvbpsi_ac3_audio_dr_s::language_2
uint8_t language_2[3]
Definition
dr_81.h:70
dvbpsi_ac3_audio_dr_s::b_full_svc
int b_full_svc
Definition
dr_81.h:58
dvbpsi_ac3_audio_dr_s::i_surround_mode
uint8_t i_surround_mode
Definition
dr_81.h:55
dvbpsi_ac3_audio_dr_s::i_sample_rate_code
uint8_t i_sample_rate_code
Definition
dr_81.h:52
dvbpsi_ac3_audio_dr_s::language
uint8_t language[3]
Definition
dr_81.h:69
dvbpsi_ac3_audio_dr_s::i_bsmod
uint8_t i_bsmod
Definition
dr_81.h:56
dvbpsi_ac3_audio_dr_s::i_lang_code2
uint8_t i_lang_code2
Definition
dr_81.h:60
dvbpsi_ac3_audio_dr_s::b_text_code
int b_text_code
Definition
dr_81.h:65
dvbpsi_ac3_audio_dr_s::text
unsigned char text[128]
Definition
dr_81.h:66
dvbpsi_ac3_audio_dr_s::i_priority
uint8_t i_priority
Definition
dr_81.h:62
dvbpsi_ac3_audio_dr_s::i_mainid
uint8_t i_mainid
Definition
dr_81.h:61
dvbpsi_ac3_audio_dr_s::i_num_channels
uint8_t i_num_channels
Definition
dr_81.h:57
dvbpsi_ac3_audio_dr_s::i_bsid
uint8_t i_bsid
Definition
dr_81.h:53
dvbpsi_ac3_audio_dr_s::b_language_flag
int b_language_flag
Definition
dr_81.h:67
dvbpsi_ac3_audio_dr_s::i_lang_code
uint8_t i_lang_code
Definition
dr_81.h:59
dvbpsi_ac3_audio_dr_s::b_language_flag_2
int b_language_flag_2
Definition
dr_81.h:68
dvbpsi_ac3_audio_dr_s::i_bit_rate_code
uint8_t i_bit_rate_code
Definition
dr_81.h:54
dvbpsi_descriptor_s
Descriptor structure.
Definition
descriptor.h:83
Generated on Thu Jul 18 2024 00:00:00 for libdvbpsi by
1.12.0