GNU Radio's DVBS2RX Package
dvb_defines.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2018 Ron Economos.
4
*
5
* This is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3, or (at your option)
8
* any later version.
9
*
10
* This software is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this software; see the file COPYING. If not, write to
17
* the Free Software Foundation, Inc., 51 Franklin Street,
18
* Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef INCLUDED_DVBS2RX_DVB_DEFINES_H
22
#define INCLUDED_DVBS2RX_DVB_DEFINES_H
23
24
#define TRUE 1
25
#define FALSE 0
26
27
#define BB_HEADER_LENGTH_BITS 80
28
29
// BB HEADER fields
30
#define TS_GS_TRANSPORT 3
31
#define TS_GS_GENERIC_PACKETIZED 0
32
#define TS_GS_GENERIC_CONTINUOUS 1
33
#define TS_GS_RESERVED 2
34
35
#define SIS_MIS_SINGLE 1
36
#define SIS_MIS_MULTIPLE 0
37
38
#define CCM 1
39
#define ACM 0
40
41
#define ISSYI_ACTIVE 1
42
#define ISSYI_NOT_ACTIVE 0
43
44
#define NPD_ACTIVE 1
45
#define NPD_NOT_ACTIVE 0
46
47
#define FRAME_SIZE_NORMAL 64800
48
#define FRAME_SIZE_MEDIUM 32400
49
#define FRAME_SIZE_SHORT 16200
50
51
// BCH Code
52
#define BCH_CODE_N8 0
53
#define BCH_CODE_N10 1
54
#define BCH_CODE_N12 2
55
#define BCH_CODE_S12 3
56
#define BCH_CODE_M12 4
57
58
#define LDPC_ENCODE_TABLE_LENGTH (FRAME_SIZE_NORMAL * 10)
59
60
#define NORMAL_PUNCTURING 3240
61
#define MEDIUM_PUNCTURING 1620
62
#define SHORT_PUNCTURING_SET1 810
63
#define SHORT_PUNCTURING_SET2 1224
64
65
#define VLSNR_OFF 0
66
#define VLSNR_SET1 1
67
#define VLSNR_SET2 2
68
69
#define EXTRA_PILOT_SYMBOLS_SET1 ((18 * 34) + (3 * 36))
70
#define EXTRA_PILOT_SYMBOLS_SET2 ((9 * 32) + 36)
71
72
#endif
/* INCLUDED_DVBS2RX_DVB_DEFINES_H */
lib
dvb_defines.h
Generated by
1.16.1