23 #ifndef INCLUDED_DTV_ATSC_FS_CHECKER_IMPL_H
24 #define INCLUDED_DTV_ATSC_FS_CHECKER_IMPL_H
35 static const int SRSIZE = 1024;
37 float d_sample_sr[SRSIZE];
39 unsigned char d_bit_sr[SRSIZE];
43 static const int OFFSET_511 = 4;
44 static const int LENGTH_511 = 511;
45 static const int OFFSET_2ND_63 = 578;
46 static const int LENGTH_2ND_63 = 63;
48 inline static int wrap (
int index){
return index & (SRSIZE - 1); }
49 inline static int incr (
int index){
return wrap (index + 1); }
50 inline static int decr (
int index){
return wrap (index - 1); }
virtual int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
compute output items from input items
std::vector< const void * > gr_vector_const_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:38
ATSC Receiver FS_CHECKER.
Definition: atsc_fs_checker.h:37
std::vector< void * > gr_vector_void_star
Definition: gnuradio-runtime/include/gnuradio/types.h:37
std::vector< int > gr_vector_int
Definition: gnuradio-runtime/include/gnuradio/types.h:33
Definition: atsc_fs_checker_impl.h:32
Definition: atsc_syminfo_impl.h:32