23 #ifndef _ATSC_EQUALIZER_LMS2_H_
24 #define _ATSC_EQUALIZER_LMS2_H_
37 virtual void reset ();
38 virtual int ntaps ()
const;
44 float *output_samples,
48 float *output_samples,
53 float *output_samples,
59 std::vector<double> d_taps_ff;
60 std::vector<double> d_taps_fb;
61 std::vector<float> d_old_output;
65 void filterN (
const float *input_samples,
66 float *output_samples,
69 void adaptN (
const float *input_samples,
70 const float *training_pattern,
71 float *output_samples,
74 float filter1 (
const float input[]);
75 float adapt1 (
const float input[],
float ideal_output);
#define ATSC_API
Definition: gr-atsc/include/gnuradio/atsc/api.h:30
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
Definition: equalizer_lms2_impl.h:31
virtual void filter_data_seg_sync(const float *input_samples, float *output_samples, int nsamples, int offset)=0
FILE * trainingfile
Definition: equalizer_lms2_impl.h:42
virtual void reset()
reset state (e.g., on channel change)
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.