/usr/include/gnuradio/swig/atsc_swig.i is in gnuradio-dev 3.7.9.1-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | /* -*- c++ -*- */
/*
* Copyright 2009 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
%include "gnuradio.i"
//load generated python docstrings
%include "atsc_swig_doc.i"
%{
#include <gnuradio/atsc/randomizer.h>
#include <gnuradio/atsc/derandomizer.h>
#include <gnuradio/atsc/rs_encoder.h>
#include <gnuradio/atsc/rs_decoder.h>
#include <gnuradio/atsc/interleaver.h>
#include <gnuradio/atsc/deinterleaver.h>
#include <gnuradio/atsc/trellis_encoder.h>
#include <gnuradio/atsc/viterbi_decoder.h>
#include <gnuradio/atsc/ds_to_softds.h>
#include <gnuradio/atsc/field_sync_mux.h>
#include <gnuradio/atsc/field_sync_demux.h>
#include <gnuradio/atsc/equalizer.h>
#include <gnuradio/atsc/fs_checker.h>
#include <gnuradio/atsc/bit_timing_loop.h>
#include <gnuradio/atsc/fpll.h>
#include <gnuradio/atsc/depad.h>
#include <gnuradio/atsc/pad.h>
%}
%include "gnuradio/atsc/consts.h"
%constant int sizeof_atsc_mpeg_packet = sizeof(atsc_mpeg_packet);
%constant int sizeof_atsc_mpeg_packet_no_sync = sizeof(atsc_mpeg_packet_no_sync);
%constant int sizeof_atsc_mpeg_packet_rs_encoded = sizeof(atsc_mpeg_packet_rs_encoded);
%constant int sizeof_atsc_data_segment = sizeof(atsc_data_segment);
%constant int sizeof_atsc_soft_data_segment = sizeof(atsc_soft_data_segment);
%constant int sizeof_atsc_mpeg_packet_pad = atsc_mpeg_packet::NPAD;
%constant int sizeof_atsc_mpeg_packet_no_sync_pad = atsc_mpeg_packet_no_sync::NPAD;
%constant int sizeof_atsc_mpeg_packet_rs_encoded_pad = atsc_mpeg_packet_rs_encoded::NPAD;
%constant int sizeof_atsc_data_segment_pad = atsc_data_segment::NPAD;
%constant int sizeof_atsc_soft_data_segment_pad = atsc_soft_data_segment::NPAD;
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,randomizer);
atsc_randomizer_sptr atsc_make_randomizer();
class atsc_randomizer : public gr::sync_block
{
atsc_randomizer();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,derandomizer);
atsc_derandomizer_sptr atsc_make_derandomizer();
class atsc_derandomizer : public gr::sync_block
{
atsc_derandomizer();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,rs_encoder);
atsc_rs_encoder_sptr atsc_make_rs_encoder();
class atsc_rs_encoder : public gr::sync_block
{
atsc_rs_encoder();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,rs_decoder);
atsc_rs_decoder_sptr atsc_make_rs_decoder();
class atsc_rs_decoder : public gr::sync_block
{
atsc_rs_decoder();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,interleaver);
atsc_interleaver_sptr atsc_make_interleaver();
class atsc_interleaver : public gr::sync_block
{
atsc_interleaver();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,deinterleaver);
atsc_deinterleaver_sptr atsc_make_deinterleaver();
class atsc_deinterleaver : public gr::sync_block
{
atsc_deinterleaver();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,trellis_encoder);
atsc_trellis_encoder_sptr atsc_make_trellis_encoder();
class atsc_trellis_encoder : public gr::sync_block
{
atsc_trellis_encoder();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,viterbi_decoder);
atsc_viterbi_decoder_sptr atsc_make_viterbi_decoder();
class atsc_viterbi_decoder : public gr::sync_block
{
atsc_viterbi_decoder();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,ds_to_softds);
atsc_ds_to_softds_sptr atsc_make_ds_to_softds();
class atsc_ds_to_softds : public gr::sync_block
{
atsc_ds_to_softds();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,field_sync_mux);
atsc_field_sync_mux_sptr atsc_make_field_sync_mux();
class atsc_field_sync_mux : public gr::sync_block
{
atsc_field_sync_mux();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,field_sync_demux);
atsc_field_sync_demux_sptr atsc_make_field_sync_demux();
class atsc_field_sync_demux : public gr::block
{
atsc_field_sync_demux();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,equalizer);
atsc_equalizer_sptr atsc_make_equalizer();
class atsc_equalizer : public gr::sync_block
{
atsc_equalizer();
public:
void reset();
std::vector<double> taps();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,fs_checker);
atsc_fs_checker_sptr atsc_make_fs_checker();
class atsc_fs_checker : public gr::sync_block
{
atsc_fs_checker();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,bit_timing_loop);
atsc_bit_timing_loop_sptr atsc_make_bit_timing_loop();
class atsc_bit_timing_loop : public gr::block
{
atsc_bit_timing_loop();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,fpll);
atsc_fpll_sptr atsc_make_fpll();
class atsc_fpll : public gr::sync_block
{
atsc_fpll();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,depad);
atsc_depad_sptr atsc_make_depad();
class atsc_depad : public gr::sync_interpolator
{
atsc_depad();
public:
void reset();
};
// ----------------------------------------------------------------
GR_SWIG_BLOCK_MAGIC(atsc,pad);
atsc_pad_sptr atsc_make_pad();
class atsc_pad : public gr::sync_decimator
{
atsc_pad();
public:
void reset();
};
// ----------------------------------------------------------------
|