Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

atsc_fs_checker Class Reference

abstract base class for ATSC field sync checker More...

#include <atsc_fs_checker.h>

Inheritance diagram for atsc_fs_checker:

atsc_fs_checker_naive List of all members.

Public Member Functions

 atsc_fs_checker ()
virtual ~atsc_fs_checker ()=0
virtual void reset ()=0
virtual void filter (float input_sample, atsc::syminfo input_tag, float *output_sample, atsc::syminfo *output_tag)=0
virtual int delay () const =0
 return delay in samples from input to output

Detailed Description

abstract base class for ATSC field sync checker

Processes input samples one at a time looking for an occurence of either the field sync 1 or field sync 2 pattern.

Note that unlike atsc_fs_correlator, this class uses the symbol_num in input_tag to avoid having to test each symbol position.

For each sample processed, an output sample and an output tag are produced. The output samples are identical to the input samples but are delayed by a number of samples given by delay(). The output tag associated with the the given output sample indicates whether this sample is the beginning of one of the field syncs or is an ordinary sample. The tags are defined in atsc_sync_tag.h.

For ease of use, the field sync patterns are defined to begin with the first symbol of the 4 symbol data segment sync pattern that immediately proceeds the actual PN 511 code. This makes it easier for downstream code to determine the location of data segment syncs merely by counting. They'll occur every 832 samples assuming everything is working.


Constructor & Destructor Documentation

atsc_fs_checker::atsc_fs_checker  ) 
 

atsc_fs_checker::~atsc_fs_checker  )  [pure virtual]
 


Member Function Documentation

virtual int atsc_fs_checker::delay  )  const [pure virtual]
 

return delay in samples from input to output

Implemented in atsc_fs_checker_naive.

virtual void atsc_fs_checker::filter float  input_sample,
atsc::syminfo  input_tag,
float *  output_sample,
atsc::syminfo output_tag
[pure virtual]
 

Implemented in atsc_fs_checker_naive.

virtual void atsc_fs_checker::reset  )  [pure virtual]
 

Implemented in atsc_fs_checker_naive.


The documentation for this class was generated from the following files:
Generated on Tue Mar 15 23:55:35 2005 for GNU Radio by  doxygen 1.4.0