Cleaning gr-tempest DL project

This commit is contained in:
FlUxIuS 2024-07-18 23:35:56 +02:00
parent 87c0ec8577
commit 26c3ccb6a2
No known key found for this signature in database
GPG Key ID: E8B96449EE4FA72F
14 changed files with 0 additions and 799 deletions

View File

@ -1,36 +0,0 @@
# Copyright 2011,2012 Free Software Foundation, Inc.
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-tempest
#
# 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.
########################################################################
# Install public header files
########################################################################
install(FILES
api.h
sampling_synchronization.h
framing.h
Hsync.h
normalize_flow.h
fine_sampling_synchronization.h
sync_detector.h
frame_drop.h
fft_peak_fine_sampling_sync.h
infer_screen_resolution.h
ssamp_correction.h DESTINATION include/tempest
)

View File

@ -1,62 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_TEMPEST_HSYNC_H
#define INCLUDED_TEMPEST_HSYNC_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API Hsync : virtual public gr::block
{
public:
typedef std::shared_ptr<Hsync> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::Hsync.
*
* To avoid accidental use of raw pointers, tempest::Hsync's
* constructor is in a private implementation
* class. tempest::Hsync::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, int delay);
virtual void set_Htotal_and_delay(int Htotal, int delay) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_HSYNC_H */

View File

@ -1,34 +0,0 @@
/*
* Copyright 2011 Free Software Foundation, Inc.
*
* This file was generated by gr_modtool, a tool from the GNU Radio framework
* This file is a part of gr-tempest
*
* 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.
*/
#ifndef INCLUDED_TEMPEST_API_H
#define INCLUDED_TEMPEST_API_H
#include <gnuradio/attributes.h>
#ifdef gnuradio_tempest_EXPORTS
#define TEMPEST_API __GR_ATTR_EXPORT
#else
#define TEMPEST_API __GR_ATTR_IMPORT
#endif
#endif /* INCLUDED_TEMPEST_API_H */

View File

@ -1,60 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_FFT_PEAK_FINE_SAMPLING_SYNC_H
#define INCLUDED_TEMPEST_FFT_PEAK_FINE_SAMPLING_SYNC_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API fft_peak_fine_sampling_sync : virtual public gr::block
{
public:
typedef std::shared_ptr<fft_peak_fine_sampling_sync> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::fft_peak_fine_sampling_sync.
*
* To avoid accidental use of raw pointers, tempest::fft_peak_fine_sampling_sync's
* constructor is in a private implementation
* class. tempest::fft_peak_fine_sampling_sync::make is the public interface for
* creating new instances.
*/
static sptr make(int sample_rate, int size, int refresh_rate, int Vvisible, int Hvisible, bool automatic_mode);
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_FFT_PEAK_FINE_SAMPLING_SYNC_H */

View File

@ -1,64 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_FINE_SAMPLING_SYNCHRONIZATION_H
#define INCLUDED_TEMPEST_FINE_SAMPLING_SYNCHRONIZATION_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API fine_sampling_synchronization : virtual public gr::block
{
public:
typedef std::shared_ptr<fine_sampling_synchronization> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::fine_sampling_synchronization.
*
* To avoid accidental use of raw pointers, tempest::fine_sampling_synchronization's
* constructor is in a private implementation
* class. tempest::fine_sampling_synchronization::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, int Vtotal, int correct_sampling, float max_deviation, float update_proba);
virtual void set_Htotal_Vtotal(int Htotal, int Vtotal) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_FINE_SAMPLING_SYNCHRONIZATION_H */

View File

@ -1,60 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_FRAME_DROP_H
#define INCLUDED_TEMPEST_FRAME_DROP_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API frame_drop : virtual public gr::block
{
public:
typedef std::shared_ptr<frame_drop> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::frame_drop.
*
* To avoid accidental use of raw pointers, tempest::frame_drop's
* constructor is in a private implementation
* class. tempest::frame_drop::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, int Vtotal, int correct_sampling, float max_deviation, float update_proba, double actual_samp_rate);
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_FRAME_DROP_H */

View File

@ -1,63 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_FRAMING_H
#define INCLUDED_TEMPEST_FRAMING_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API framing : virtual public gr::block
{
public:
typedef std::shared_ptr<framing> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::framing.
*
* To avoid accidental use of raw pointers, tempest::framing's
* constructor is in a private implementation
* class. tempest::framing::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, int Vtotal, int Hdisplay, int Vdisplay);
virtual void set_Htotal_and_Vtotal(int Htotal, int Vtotal) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_FRAMING_H */

View File

@ -1,62 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_INFER_SCREEN_RESOLUTION_H
#define INCLUDED_TEMPEST_INFER_SCREEN_RESOLUTION_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API infer_screen_resolution : virtual public gr::block
{
public:
typedef std::shared_ptr<infer_screen_resolution> sptr;
virtual void set_refresh_rate(float refresh_rate) = 0;
/*!
* \brief Return a shared_ptr to a new instance of tempest::infer_screen_resolution.
*
* To avoid accidental use of raw pointers, tempest::infer_screen_resolution's
* constructor is in a private implementation
* class. tempest::infer_screen_resolution::make is the public interface for
* creating new instances.
*/
static sptr make(int sample_rate, int fft_size, float refresh_rate, bool automatic_mode);
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_INFER_SCREEN_RESOLUTION_H */

View File

@ -1,62 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_NORMALIZE_FLOW_H
#define INCLUDED_TEMPEST_NORMALIZE_FLOW_H
#include <tempest/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace tempest {
/*!
* \brief Normalizes a flow between min and max. To be less CPU-intensive, it randomly chooses when to update the signal's maximum.
* \ingroup tempest
*
*/
class TEMPEST_API normalize_flow : virtual public gr::sync_block
{
public:
typedef std::shared_ptr<normalize_flow> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::normalize_flow.
*
* To avoid accidental use of raw pointers, tempest::normalize_flow's
* constructor is in a private implementation
* class. tempest::normalize_flow::make is the public interface for
* creating new instances.
*/
static sptr make(float min, float max, int window, float alpha_avg, float update_proba);
virtual void set_min_max(float min, float max) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_NORMALIZE_FLOW_H */

View File

@ -1,65 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_SAMPLING_SYNCHRONIZATION_H
#define INCLUDED_TEMPEST_SAMPLING_SYNCHRONIZATION_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief It correlates the signal and estimates what's the most probable line length. It then corrects the sampling rate so that the line length's is Htotal.
* \ingroup tempest
*
*/
class TEMPEST_API sampling_synchronization : virtual public gr::block
{
public:
typedef std::shared_ptr<sampling_synchronization> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::sampling_synchronization.
*
* To avoid accidental use of raw pointers, tempest::sampling_synchronization's
* constructor is in a private implementation
* class. tempest::sampling_synchronization::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, double manual_correction);
virtual void set_Htotal(int Htotal) = 0;
virtual void set_manual_correction(double correction) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_SAMPLING_SYNCHRONIZATION_H */

View File

@ -1,61 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_SSAMP_CORRECTION_H
#define INCLUDED_TEMPEST_SSAMP_CORRECTION_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API ssamp_correction : virtual public gr::block
{
public:
typedef std::shared_ptr<ssamp_correction> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::ssamp_correction.
*
* To avoid accidental use of raw pointers, tempest::ssamp_correction's
* constructor is in a private implementation
* class. tempest::ssamp_correction::make is the public interface for
* creating new instances.
*/
static sptr make(int Htotal, int Vtotal, int correct_sampling, float max_deviation);
virtual void set_Htotal_Vtotal(int Htotal, int Vtotal) = 0;
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_SSAMP_CORRECTION_H */

View File

@ -1,60 +0,0 @@
/* -*- c++ -*- */
/*
* Copyright 2020
* Federico "Larroca" La Rocca <flarroca@fing.edu.uy>
*
* Instituto de Ingenieria Electrica, Facultad de Ingenieria,
* Universidad de la Republica, Uruguay.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef INCLUDED_TEMPEST_SYNC_DETECTOR_H
#define INCLUDED_TEMPEST_SYNC_DETECTOR_H
#include <tempest/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace tempest {
/*!
* \brief <+description of block+>
* \ingroup tempest
*
*/
class TEMPEST_API sync_detector : virtual public gr::block
{
public:
typedef std::shared_ptr<sync_detector> sptr;
/*!
* \brief Return a shared_ptr to a new instance of tempest::sync_detector.
*
* To avoid accidental use of raw pointers, tempest::sync_detector's
* constructor is in a private implementation
* class. tempest::sync_detector::make is the public interface for
* creating new instances.
*/
static sptr make(int hscreen, int vscreen, int hblanking, int vblanking);
};
} // namespace tempest
} // namespace gr
#endif /* INCLUDED_TEMPEST_SYNC_DETECTOR_H */

View File

@ -1,66 +0,0 @@
# Copyright 2011 Free Software Foundation, Inc.
#
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-tempest
#
# 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.
########################################################################
# Check if there is C++ code at all
########################################################################
if(NOT tempest_sources)
MESSAGE(STATUS "No C++ sources... skipping swig/")
return()
endif(NOT tempest_sources)
########################################################################
# Include swig generation macros
########################################################################
find_package(SWIG)
find_package(PythonLibs)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return()
endif()
include(GrSwig)
include(GrPython)
########################################################################
# Setup swig generation
########################################################################
set(GR_SWIG_INCLUDE_DIRS $<TARGET_PROPERTY:gnuradio::runtime_swig,INTERFACE_INCLUDE_DIRECTORIES>)
set(GR_SWIG_TARGET_DEPS gnuradio::runtime_swig)
set(GR_SWIG_LIBRARIES gnuradio-tempest)
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/tempest_swig_doc.i)
set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include)
GR_SWIG_MAKE(tempest_swig tempest_swig.i)
########################################################################
# Install the build swig module
########################################################################
GR_SWIG_INSTALL(TARGETS tempest_swig DESTINATION ${GR_PYTHON_DIR}/tempest)
########################################################################
# Install swig .i files for development
########################################################################
install(
FILES
tempest_swig.i
${CMAKE_CURRENT_BINARY_DIR}/tempest_swig_doc.i
DESTINATION ${GR_INCLUDE_DIR}/tempest/swig
)

View File

@ -1,44 +0,0 @@
/* -*- c++ -*- */
#define TEMPEST_API
%include "gnuradio.i" // the common stuff
//load generated python docstrings
%include "tempest_swig_doc.i"
%{
#include "tempest/sampling_synchronization.h"
#include "tempest/framing.h"
#include "tempest/Hsync.h"
#include "tempest/normalize_flow.h"
#include "tempest/fine_sampling_synchronization.h"
#include "tempest/sync_detector.h"
#include "tempest/frame_drop.h"
#include "tempest/fft_peak_fine_sampling_sync.h"
#include "tempest/infer_screen_resolution.h"
#include "tempest/ssamp_correction.h"
%}
%include "tempest/sampling_synchronization.h"
GR_SWIG_BLOCK_MAGIC2(tempest, sampling_synchronization);
%include "tempest/framing.h"
GR_SWIG_BLOCK_MAGIC2(tempest, framing);
%include "tempest/Hsync.h"
GR_SWIG_BLOCK_MAGIC2(tempest, Hsync);
%include "tempest/normalize_flow.h"
GR_SWIG_BLOCK_MAGIC2(tempest, normalize_flow);
%include "tempest/fine_sampling_synchronization.h"
GR_SWIG_BLOCK_MAGIC2(tempest, fine_sampling_synchronization);
%include "tempest/sync_detector.h"
GR_SWIG_BLOCK_MAGIC2(tempest, sync_detector);
%include "tempest/frame_drop.h"
GR_SWIG_BLOCK_MAGIC2(tempest, frame_drop);
%include "tempest/fft_peak_fine_sampling_sync.h"
GR_SWIG_BLOCK_MAGIC2(tempest, fft_peak_fine_sampling_sync);
%include "tempest/infer_screen_resolution.h"
GR_SWIG_BLOCK_MAGIC2(tempest, infer_screen_resolution);
%include "tempest/ssamp_correction.h"
GR_SWIG_BLOCK_MAGIC2(tempest, ssamp_correction);