libdvbpsi
1.3.2
src
descriptors
dr_42.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_42.h
3
* Copyright (C) 2001-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
7
* Johan Bilien <jobi@via.ecp.fr>
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2.1 of the License, or (at your option) any later version.
13
*
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
*
23
*****************************************************************************/
24
36
#ifndef _DVBPSI_DR_42_H_
37
#define _DVBPSI_DR_42_H_
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
44
/*****************************************************************************
45
* dvbpsi_stuffing_dr_t
46
*****************************************************************************/
58
typedef
struct
dvbpsi_stuffing_dr_s
59
{
60
uint8_t
i_stuffing_length
;
62
uint8_t
i_stuffing_byte
[255];
64
}
dvbpsi_stuffing_dr_t
;
65
66
67
/*****************************************************************************
68
* dvbpsi_DecodeStuffingDr
69
*****************************************************************************/
78
dvbpsi_stuffing_dr_t
*
dvbpsi_DecodeStuffingDr
(
79
dvbpsi_descriptor_t
* p_descriptor);
80
81
82
/*****************************************************************************
83
* dvbpsi_GenStuffingDr
84
*****************************************************************************/
95
dvbpsi_descriptor_t
*
dvbpsi_GenStuffingDr
(
96
dvbpsi_stuffing_dr_t
* p_decoded,
97
bool
b_duplicate);
98
99
100
#ifdef __cplusplus
101
};
102
#endif
103
104
#else
105
#error "Multiple inclusions of dr_42.h"
106
#endif
107
dvbpsi_stuffing_dr_s
"stuffing" descriptor structure.
Definition:
dr_42.h:58
dvbpsi_stuffing_dr_s::i_stuffing_length
uint8_t i_stuffing_length
Definition:
dr_42.h:60
dvbpsi_stuffing_dr_s::i_stuffing_byte
uint8_t i_stuffing_byte[255]
Definition:
dr_42.h:62
dvbpsi_DecodeStuffingDr
dvbpsi_stuffing_dr_t * dvbpsi_DecodeStuffingDr(dvbpsi_descriptor_t *p_descriptor)
"stuffing" descriptor decoder.
dvbpsi_GenStuffingDr
dvbpsi_descriptor_t * dvbpsi_GenStuffingDr(dvbpsi_stuffing_dr_t *p_decoded, bool b_duplicate)
"stuffing" descriptor generator.
dvbpsi_stuffing_dr_t
struct dvbpsi_stuffing_dr_s dvbpsi_stuffing_dr_t
dvbpsi_stuffing_dr_t type definition.
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
Generated on Wed Jan 29 2020 00:00:00 for libdvbpsi by
1.8.17