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

GrAtscFieldSyncDemux Class Reference

ATSC Field Sync Demux. More...

#include <GrAtscFieldSyncDemux.h>

Inheritance diagram for GrAtscFieldSyncDemux:

VrDecimatingSigProc< float, atsc_soft_data_segment > VrHistoryProc< iType, oType > VrSigProc List of all members.

Public Member Functions

 GrAtscFieldSyncDemux ()
virtual ~GrAtscFieldSyncDemux ()
virtual const char * name ()
 default name for a module (override with actual name)
virtual int forecast (VrSampleRange output, VrSampleRange inputs[])
 map output range to required input ranges
virtual int work (VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[])
 Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Protected Attributes

bool d_locked
bool d_in_field2
int d_segment_number
VrSampleIndex d_next_input
VrSampleIndex d_lost_index

Detailed Description

ATSC Field Sync Demux.

This class accepts 1 stream of floats (data), and 1 stream of tags (syminfo). It outputs one stream of atsc_soft_data_segment packets


Constructor & Destructor Documentation

GrAtscFieldSyncDemux::GrAtscFieldSyncDemux  ) 
 

GrAtscFieldSyncDemux::~GrAtscFieldSyncDemux  )  [virtual]
 


Member Function Documentation

int GrAtscFieldSyncDemux::forecast VrSampleRange  output,
VrSampleRange  inputs[]
[virtual]
 

map output range to required input ranges

Reimplemented from VrDecimatingSigProc< float, atsc_soft_data_segment >.

virtual const char* GrAtscFieldSyncDemux::name  )  [inline, virtual]
 

default name for a module (override with actual name)

Reimplemented from VrSigProc.

int GrAtscFieldSyncDemux::work VrSampleRange  output,
void *  o[],
VrSampleRange  inputs[],
void *  i[]
[virtual]
 

Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again.

Implements VrSigProc.


Member Data Documentation

bool GrAtscFieldSyncDemux::d_in_field2 [protected]
 

bool GrAtscFieldSyncDemux::d_locked [protected]
 

VrSampleIndex GrAtscFieldSyncDemux::d_lost_index [protected]
 

VrSampleIndex GrAtscFieldSyncDemux::d_next_input [protected]
 

int GrAtscFieldSyncDemux::d_segment_number [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 4 02:22:10 2004 for GNU Radio by doxygen 1.3.8