23 #ifndef _ATSC_EQUALIZER_LMS_H_
24 #define _ATSC_EQUALIZER_LMS_H_
37 virtual void reset ();
38 virtual int ntaps ()
const;
40 std::vector<double>
taps () {
47 float *output_samples,
51 float *output_samples,
56 float *output_samples,
62 std::vector<double> d_taps;
64 void filterN (
const float *input_samples,
65 float *output_samples,
68 void adaptN (
const float *input_samples,
69 const float *training_pattern,
70 float *output_samples,
73 float filter1 (
const float input[]);
74 float adapt1 (
const float input[],
float ideal_output);
#define ATSC_API
Definition: gr-atsc/include/gnuradio/atsc/api.h:30
std::vector< double > taps()
Definition: equalizer_lms_impl.h:40
Definition: equalizer_lms_impl.h:31
virtual int npretaps() const =0
how many taps are "in the future".
abstract base class for ATSC equalizer
Definition: equalizer_impl.h:33
virtual void filter_normal(const float *input_samples, float *output_samples, int nsamples)=0
virtual void filter_data_seg_sync(const float *input_samples, float *output_samples, int nsamples, int offset)=0
virtual void reset()
reset state (e.g., on channel change)
FILE * trainingfile
Definition: equalizer_lms_impl.h:45
virtual void filter_field_sync(const float *input_samples, float *output_samples, int nsamples, int offset, int which_field)=0
virtual int ntaps() const =0
how much history the input data stream requires.