00001 // SPUC - Signal processing using C++ - A DSP library 00002 /* 00003 * This program is free software; you can redistribute it and/or modify 00004 * it under the terms of the GNU General Public License as published by 00005 * the Free Software Foundation; either version 2, or (at your option) 00006 * any later version. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00016 */ 00017 #ifndef QAMSD 00018 #define QAMSD 00019 #include <math.h> 00020 #include <complex.h> 00021 namespace SPUC { 00026 void qam_data_demap(long rate_index, complex<long> data_in, 00027 long soft_decision_level, long* viterbi_input); 00031 void bpsk_soft_decision(complex<long> data_in, long* viterbi_input); 00035 void qpsk_soft_decision(complex<long> data_in, long* viterbi_input); 00039 void qam16_soft_decision(complex<long> data_in, long soft_decision_level, long* viterbi_input); 00043 void qam64_soft_decision(complex<long> data_in, long soft_decision_level, long* viterbi_input); 00044 } 00045 #endif