diff options
Diffstat (limited to 'gr-atsc/src/lib/atsci_equalizer_nop.cc')
-rw-r--r-- | gr-atsc/src/lib/atsci_equalizer_nop.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gr-atsc/src/lib/atsci_equalizer_nop.cc b/gr-atsc/src/lib/atsci_equalizer_nop.cc index 9b2b53269..5af2cc4e7 100644 --- a/gr-atsc/src/lib/atsci_equalizer_nop.cc +++ b/gr-atsc/src/lib/atsci_equalizer_nop.cc @@ -1,19 +1,19 @@ /* -*- 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, @@ -38,7 +38,7 @@ atsci_equalizer_nop::reset () atsci_equalizer::reset (); // invoke superclass } -int +int atsci_equalizer_nop::ntaps () const { return 1; @@ -60,7 +60,7 @@ atsci_equalizer_nop::npretaps () const * input_samples[0] .. input_samples[nsamples - 1 + ntaps() - 1] may be * referenced to compute the output values. */ -void +void atsci_equalizer_nop::filter_normal (const float *input_samples, float *output_samples, int nsamples) @@ -81,7 +81,7 @@ atsci_equalizer_nop::filter_normal (const float *input_samples, * input_samples[0] .. input_samples[nsamples - 1 + ntaps() - 1] may be * referenced to compute the output values. */ -void +void atsci_equalizer_nop::filter_data_seg_sync (const float *input_samples, float *output_samples, int nsamples, @@ -92,21 +92,21 @@ atsci_equalizer_nop::filter_data_seg_sync (const float *input_samples, } } - + /*! * Input range is known to consist of only a field sync segment or a * portion of a field sync segment. \p nsamples will be in [1,832]. * \p offset will be in [0,831]. \p offset is the offset of the input * from the beginning of the data segment sync pattern. We consider the * 4 symbols of the immediately preceding data segment sync to be the - * first symbols of the field sync segment. \p which_field is in [0,1] + * first symbols of the field sync segment. \p which_field is in [0,1] * and specifies which field (duh). * * \p input_samples has (nsamples + ntaps() - 1) valid entries. * input_samples[0] .. input_samples[nsamples - 1 + ntaps() - 1] may be * referenced to compute the output values. */ -void +void atsci_equalizer_nop::filter_field_sync (const float *input_samples, float *output_samples, int nsamples, @@ -114,7 +114,7 @@ atsci_equalizer_nop::filter_field_sync (const float *input_samples, int which_field) { int i = 0; - + if (offset == 0 && nsamples > 0){ output_samples[0] = scale_and_train (input_samples[0]); i++; |