#include <dqpsk.h>
Public Member Functions | |
dqpsk () | |
complex< long > | encode (complex< long > c) |
complex< long > | decode (complex< long > c) |
complex< long > | convbits (int sym) |
int | qpsk_sym (complex< long > c) |
Public Attributes | |
int | datbase [4][4] |
int | previous_encoded_symbol |
int | previous_decoded_symbol |
Differential encoding/decoding of QPSK Encode/Decode the input bits into quaternary qpsk format
|
|
|
Convert integer symbol (0-3) back to binary pair |
|
Differential decoder Here is the call graph for this function: ![]() |
|
Call qpsk_sym to get equivalent symbol value (0-3) of current input bit pair Get current output symbol (0-3) from encoding data base[curr symbol][prev encoded symbol] Call convbits to convert current encoded symbol to bit pair Previous encoded symbol = current encoded symbol Here is the call graph for this function: ![]() |
|
Encode bit pair into integer value from 0 to 3 and return symbol Here is the call graph for this function: ![]() |
|
|
|
|
|
|