Changeset 4015 for SigProc/trunk/SigProc/SigProc.h
- Timestamp:
- 05/30/07 12:45:15 (6 years ago)
- Files:
-
- 1 modified
-
SigProc/trunk/SigProc/SigProc.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
SigProc/trunk/SigProc/SigProc.h
r4012 r4015 713 713 714 714 715 #define MOD_BPSK_LEVEL 10000///< BPSK amplitude (RMS=10000)716 717 #define MOD_QPSK_LEVEL 7071///< QPSK amplitude (RMS=10000)718 719 #define MOD_PSK8_LEVEL_1 7071///< Low 8-PSK amplitude (RMS=10000)720 #define MOD_PSK8_LEVEL_2 10000///< High 8-PSK amplitude (RMS=10000)721 722 #define MOD_QAM16_LEVEL_1 3162///< Low 16-QAM amplitude (RMS=10000)723 #define MOD_QAM16_LEVEL_2 9487///< High 16-QAM amplitude (RMS=10000)724 725 #define MOD_PAM4_LEVEL_1 4472///< Low 4-PAM amplitude (RMS=10000)726 #define MOD_PAM4_LEVEL_2 13416///< High 4-PAM amplitude (RMS=10000)715 const short BPSK_LEVEL(10000); ///< BPSK amplitude (RMS=10000) 716 717 const short QPSK_LEVEL(7071); ///< QPSK amplitude (RMS=10000) 718 719 const short PSK8_LEVEL_1(7071); ///< Low 8-PSK amplitude (RMS=10000) 720 const short PSK8_LEVEL_2(10000); ///< High 8-PSK amplitude (RMS=10000) 721 722 const short QAM16_LEVEL_1(3162); ///< Low 16-QAM amplitude (RMS=10000) 723 const short QAM16_LEVEL_2(9487); ///< High 16-QAM amplitude (RMS=10000) 724 725 const short PAM4_LEVEL_1(4472); ///< Low 4-PAM amplitude (RMS=10000) 726 const short PAM4_LEVEL_2(13416); ///< High 4-PAM amplitude (RMS=10000) 727 727 728 728 /// 729 void ModulateBPSK( char * bits_in, unsigned int N_in, short * I_out, short *Q_out);729 void ModulateBPSK(short symbol, short &I_out, short &Q_out); 730 730 731 731 /// 732 void ModulateQPSK( char * bits_in, unsigned int N_in, short * I_out, short *Q_out);732 void ModulateQPSK(short symbol, short &I_out, short &Q_out); 733 733 734 734 /// 735 void Modulate8PSK( char * bits_in, unsigned int N_in, short * I_out, short *Q_out);735 void Modulate8PSK(short symbol, short &I_out, short &Q_out); 736 736 737 737 /// 738 void Modulate16QAM( char * bits_in, unsigned int N_in, short * I_out, short *Q_out);738 void Modulate16QAM(short symbol, short &I_out, short &Q_out); 739 739 740 740 /// 741 void Modulate4PAM( char * bits_in, unsigned int N_in, short * I_out, short *Q_out);741 void Modulate4PAM(short symbol, short &I_out, short &Q_out); 742 742 743 743 }