X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Ffilter%2Fgr_fir_fsf_generic.h;fp=gnuradio-core%2Fsrc%2Flib%2Ffilter%2Fgr_fir_fsf_generic.h;h=0000000000000000000000000000000000000000;hb=d522829d8cd5a386b4426de5157b46d5d1856900;hp=318c7d9a4a7fca1a10f53984621ca9e5fcfc684a;hpb=8a9ddbb0675f9bfcc6e03b457fba6c79474a3693;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/filter/gr_fir_fsf_generic.h b/gnuradio-core/src/lib/filter/gr_fir_fsf_generic.h deleted file mode 100644 index 318c7d9a..00000000 --- a/gnuradio-core/src/lib/filter/gr_fir_fsf_generic.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2002 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. - */ -#ifndef INCLUDED_GR_FIR_FSF_GENERIC_H -#define INCLUDED_GR_FIR_FSF_GENERIC_H - -#include - -/*! - * \brief Concrete class for generic implementation of FIR with float input, short output and float taps - * - * The trailing suffix has the form _IOT where I codes the input type, - * O codes the output type, and T codes the tap type. - * I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int) - */ - -class gr_fir_fsf_generic : public gr_fir_fsf { - -public: - - // CREATORS - - gr_fir_fsf_generic () {} - gr_fir_fsf_generic (const std::vector &taps) : gr_fir_fsf (taps) {} - - // MANIPULATORS - - /*! - * \brief compute a single output value. - * - * \p input must have ntaps() valid entries. - * input[0] .. input[ntaps() - 1] are referenced to compute the output value. - * - * \returns the filtered input value. - */ - virtual short filter (const float input[]); - - /*! - * \brief compute an array of N output values. - * - * \p input must have (n - 1 + ntaps()) valid entries. - * input[0] .. input[n - 1 + ntaps() - 1] are referenced to compute the output values. - */ - virtual void filterN (short output[], const float input[], - unsigned long n); - - /*! - * \brief compute an array of N output values, decimating the input - * - * \p input must have (decimate * (n - 1) + ntaps()) valid entries. - * input[0] .. input[decimate * (n - 1) + ntaps() - 1] are referenced to - * compute the output values. - */ - virtual void filterNdec (short output[], const float input[], - unsigned long n, unsigned decimate); - -}; - -#endif /* INCLUDED_GR_FIR_FSF_GENERIC_H */