libdvbpsi
1.3.2
src
descriptors
dr_86.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_86.h
19
20
Decode Caption Service Descriptor.
21
22
*/
23
30
#ifndef _DR_86_H
31
#define _DR_86_H
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
/*****************************************************************************
38
* dvbpsi_caption_service_t
39
*****************************************************************************/
50
typedef
struct
dvbpsi_caption_service_s
51
{
52
char
i_iso_639_code
[3];
53
int
b_digital_cc
;
54
int
b_line21_field
;
55
uint16_t
i_caption_service_number
;
56
int
b_easy_reader
;
57
int
b_wide_aspect_ratio
;
58
}
dvbpsi_caption_service_t
;
59
60
/*****************************************************************************
61
* dvbpsi_caption_service_dr_s
62
*****************************************************************************/
73
typedef
struct
dvbpsi_caption_service_dr_s
74
{
75
uint8_t
i_number_of_services
;
76
dvbpsi_caption_service_t
services
[0x1f];
77
}
dvbpsi_caption_service_dr_t
;
78
79
/*****************************************************************************
80
* dvbpsi_DecodeCaptionServiceDr
81
*****************************************************************************/
89
dvbpsi_caption_service_dr_t
*
dvbpsi_DecodeCaptionServiceDr
(
dvbpsi_descriptor_t
*p_descriptor);
90
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
96
dvbpsi_caption_service_dr_t
struct dvbpsi_caption_service_dr_s dvbpsi_caption_service_dr_t
dvbpsi_caption_service_dr_t type definition.
dvbpsi_caption_service_s::i_caption_service_number
uint16_t i_caption_service_number
Definition:
dr_86.h:55
dvbpsi_caption_service_dr_s::i_number_of_services
uint8_t i_number_of_services
Definition:
dr_86.h:75
dvbpsi_caption_service_s::b_easy_reader
int b_easy_reader
Definition:
dr_86.h:56
dvbpsi_caption_service_s::b_digital_cc
int b_digital_cc
Definition:
dr_86.h:53
dvbpsi_caption_service_s
Caption Service.
Definition:
dr_86.h:51
dvbpsi_caption_service_dr_s::services
dvbpsi_caption_service_t services[0x1f]
Definition:
dr_86.h:76
dvbpsi_caption_service_s::i_iso_639_code
char i_iso_639_code[3]
Definition:
dr_86.h:52
dvbpsi_caption_service_t
struct dvbpsi_caption_service_s dvbpsi_caption_service_t
dvbpsi_caption_service_t type definition.
dvbpsi_caption_service_dr_s
Caption Service Descriptor.
Definition:
dr_86.h:74
dvbpsi_caption_service_s::b_wide_aspect_ratio
int b_wide_aspect_ratio
Definition:
dr_86.h:57
dvbpsi_caption_service_s::b_line21_field
int b_line21_field
Definition:
dr_86.h:54
dvbpsi_DecodeCaptionServiceDr
dvbpsi_caption_service_dr_t * dvbpsi_DecodeCaptionServiceDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Caption Service descriptor (tag 0x86)
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:83
Generated on Tue Jul 28 2020 00:00:00 for libdvbpsi by
1.8.18