Go to the documentation of this file.
23 #ifndef _ATSC_FS_CHECKER_NAIVE_H_
24 #define _ATSC_FS_CHECKER_NAIVE_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 = 0;
44 static const int LENGTH_511 = 511 + 4;
45 static const int OFFSET_2ND_63 = 578;
46 static const int LENGTH_2ND_63 = 63;
48 static unsigned char s_511[LENGTH_511];
49 static unsigned char s_63[LENGTH_2ND_63];
51 inline static int wrap (
int index){
return index & (SRSIZE - 1); }
52 inline static int incr (
int index){
return wrap (index + 1); }
53 inline static int decr (
int index){
return wrap (index - 1); }
62 virtual void reset ();