1 /* -*- c++ -*- */ 2 /* 3 * Copyright 2015,2016 Free Software Foundation, Inc. 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_DTV_DVB_CONFIG_H 22 #define INCLUDED_DTV_DVB_CONFIG_H 23 24 namespace gr { 25 namespace dtv { 26 enum dvb_standard_t { 27 STANDARD_DVBS2 = 0, 28 STANDARD_DVBT2, 29 }; 30 31 enum dvb_code_rate_t { 32 C1_4 = 0, 33 C1_3, 34 C2_5, 35 C1_2, 36 C3_5, 37 C2_3, 38 C3_4, 39 C4_5, 40 C5_6, 41 C7_8, 42 C8_9, 43 C9_10, 44 C13_45, 45 C9_20, 46 C90_180, 47 C96_180, 48 C11_20, 49 C100_180, 50 C104_180, 51 C26_45, 52 C18_30, 53 C28_45, 54 C23_36, 55 C116_180, 56 C20_30, 57 C124_180, 58 C25_36, 59 C128_180, 60 C13_18, 61 C132_180, 62 C22_30, 63 C135_180, 64 C140_180, 65 C7_9, 66 C154_180, 67 C11_45, 68 C4_15, 69 C14_45, 70 C7_15, 71 C8_15, 72 C32_45, 73 C2_9_VLSNR, 74 C1_5_MEDIUM, 75 C11_45_MEDIUM, 76 C1_3_MEDIUM, 77 C1_5_VLSNR_SF2, 78 C11_45_VLSNR_SF2, 79 C1_5_VLSNR, 80 C4_15_VLSNR, 81 C1_3_VLSNR, 82 C_OTHER, 83 }; 84 85 enum dvb_framesize_t { 86 FECFRAME_SHORT = 0, 87 FECFRAME_NORMAL, 88 FECFRAME_MEDIUM, 89 }; 90 91 enum dvb_constellation_t { 92 MOD_QPSK = 0, 93 MOD_16QAM, 94 MOD_64QAM, 95 MOD_256QAM, 96 MOD_8PSK, 97 MOD_8APSK, 98 MOD_16APSK, 99 MOD_8_8APSK, 100 MOD_32APSK, 101 MOD_4_12_16APSK, 102 MOD_4_8_4_16APSK, 103 MOD_64APSK, 104 MOD_8_16_20_20APSK, 105 MOD_4_12_20_28APSK, 106 MOD_128APSK, 107 MOD_256APSK, 108 MOD_BPSK, 109 MOD_BPSK_SF2, 110 MOD_8VSB, 111 MOD_OTHER, 112 }; 113 114 enum dvb_guardinterval_t { 115 GI_1_32 = 0, 116 GI_1_16, 117 GI_1_8, 118 GI_1_4, 119 GI_1_128, 120 GI_19_128, 121 GI_19_256, 122 }; 123 124 } // namespace dtv 125 } // namespace gr 126 127 typedef gr::dtv::dvb_standard_t dvb_standard_t; 128 typedef gr::dtv::dvb_code_rate_t dvb_code_rate_t; 129 typedef gr::dtv::dvb_framesize_t dvb_framesize_t; 130 typedef gr::dtv::dvb_constellation_t dvb_constellation_t; 131 typedef gr::dtv::dvb_guardinterval_t dvb_guardinterval_t; 132 133 #endif /* INCLUDED_DTV_DVB_CONFIG_H */ 134