⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nspgrtzw.h

📁 利用intel dsplib 库函数进行特定2FSK信号(需传导频)解调
💻 H
字号:
/*M*
//
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 1995 Intel Corporation. All Rights Reserved.
//
//      $Workfile: nspgrtzw.h $
//      $Revision: 3 $
//      $Modtime: Dec 16 1996 18:31:26  $
//
//  Purpose: NSP Single Frequency DFT (Goertzel)
*M*/
#ifdef __cplusplus
extern "C" {
#endif
#if !defined (_NSPGRTZW_H) || defined (_OWN_BLDPCS)
    #define _NSPGRTZW_H
/* ------------------------------------------------------------------------*/

    #if !defined (_OWN_BLDPCS)

    typedef NSPSGoertzState NSPWGoertzState, NSPVGoertzState;

    #endif

/* ------------------------------------------------------------------------*/
/*        GoertzInit                                                       */
/*                                                                         */
/* Initializes the coefficients and zeros the delay line.                  */

    NSPAPI(void,nspwGoertzInit,(float  freq, NSPWGoertzState *stPtr))
    NSPAPI(void,nspvGoertzInit,(float  freq, NSPVGoertzState *stPtr))

/* ------------------------------------------------------------------------*/
/*        GoertzReset                                                      */
/*                                                                         */
/* Zeros the delay line.                                                   */

    NSPAPI(void,nspwGoertzReset,(NSPWGoertzState *stPtr))
    NSPAPI(void,nspvGoertzReset,(NSPVGoertzState *stPtr))

/* ------------------------------------------------------------------------*/
/*        Goertz                                                           */
/*                                                                         */
/* Single Frequency DFT (Goertzel algorithm)                               */

    NSPAPI(WCplx,nspwGoertz,(NSPWGoertzState *stPtr, short  sample, 
                             int  scaleMode,  int *scaleFactor))
    NSPAPI(WCplx,nspvGoertz,(NSPVGoertzState *stPtr, WCplx  sample, 
                             int  scaleMode,  int *scaleFactor))

    NSPAPI(WCplx,nspwbGoertz,(NSPWGoertzState *stPtr,const short  *inSamps,
                              int len, int  scaleMode,  int *scaleFactor))
    NSPAPI(WCplx,nspvbGoertz,(NSPVGoertzState *stPtr,const WCplx  *inSamps,
                              int len, int  scaleMode,  int *scaleFactor))

#endif                                 /* _NSPGRTZW_H                      */
#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -