#ifndef __SYMBOLS_H__ #define __SYMBOLS_H__ #include "PSC_Fifo.h" #include "Constants.h" #include #include using namespace std; class symbol { public: symbol(); ~symbol(); void init(); bool * encode(int [], int, int &, bool *); bool * encoder_flush(int &, bool *); void decode(int [], short &, PSC_Fifo &); void decoder_reset(PSC_Fifo &); bool reset; private: int q1, q2, q3, top; long low, high, opposite_bits, length, code_value, cum, i, last, bit; }; #endif