#include <atsc_sliding_correlator.h>
Public Member Functions | |
atsc_sliding_correlator () | |
~atsc_sliding_correlator () | |
int | input_bit (int bit) |
input hard decision bit, return correlation (0,511) | |
int | input_int (int sample) |
input sample, return correlation (0,511) | |
int | input_float (float sample) |
input sample, return correlation (0,511) | |
void | reset () |
Private Types | |
typedef unsigned long | srblock |
Private Attributes | |
shift_reg | mask |
shift_reg | input |
shift_reg | and_mask |
Static Private Attributes | |
const int | bits_per_char = 8 |
const int | srblock_bitsize = sizeof (srblock) * bits_per_char |
const int | NSRBLOCKS = (511 + srblock_bitsize - 1) / srblock_bitsize |
|
|
|
|
|
|
|
input hard decision bit, return correlation (0,511)
|
|
input sample, return correlation (0,511)
|
|
input sample, return correlation (0,511)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|