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

📄 thrprocess.h

📁 G723.1在DM642上的实现代码
💻 H
字号:
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) ReferenceFrameworks 2.10.00.11 04-30-03 (swat-d15)" */
/*
 *  ======== thrProcess.h ========
 */

#ifndef THRPROCESS_
#define THRPROCESS_


// RF5 module includes
#include <chan.h>
#include <icell.h>

#ifdef __cplusplus
extern "C" {
#endif


// Enumeration of channel cells (so we use names intead of numbers for index)
enum { CELLG723EN  = 0, 
       CELLG723DE,
       NUMCELLS 
};            

// Types of messages from the control thread accepted by this thread.
/*enum {
    MSGNEWVOL = 0,
    MSGNEWCOEFF
};*/

// Set the length of the mailbox for control messages
//#define THRPROCESS_MBXLENGTH 5
 
/* Definition of the structure describing the state of the thread. */
typedef struct ThrProcess {
    CHAN_Obj         chanList[ NUMCHANNELS ];              
    ICELL_Obj        cellList[ NUMCHANNELS * NUMCELLS ];       
    Sample          *bufInput[ NUMCHANNELS ];
    Sample          *bufOutput[ NUMCHANNELS ];
    Sample          *bufIntermediate;
    ScomBufChannels  scomMsgRx;
    ScomBufChannels  scomMsgTx;
} ThrProcess; 

/* mailbox for control messages */
//extern MBX_Handle mbxProcess;

/* prototypes for public functions */
extern Void thrProcessInit( Void );
extern Void thrProcessStartup( Void );
extern Void thrProcessRun( Void );

#ifdef __cplusplus
}
#endif // extern "C" 

#endif // THRPROCESS_

⌨️ 快捷键说明

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