tskprocess.h

来自「基于DM642的mpeg2视频编码系统设计与实现 CCS下编写基于DSPBIO」· C头文件 代码 · 共 53 行

H
53
字号
/*
 *  Copyright 2002 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.
 *  
 *  ======== thrProcess.h ========
 *
 *  Please refer to readme.txt in this file's directory for a 
 *  detailed description.
 *
 */

#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 { CELLMPEG2ENC= 0, 
       PROCESSNUMCELLS 
};            
#define PROCESSNUMCHANNELS 1
#define PROCESSNUMCELLS    1

/* Definition of the structure describing the state of the thread. */
typedef struct ThrProcess {
    CHAN_Obj         chanList[ PROCESSNUMCHANNELS ];              
    ICELL_Obj        cellList[ PROCESSNUMCHANNELS * PROCESSNUMCELLS ];       
    void 		     *bufInput[ PROCESSNUMCHANNELS ];
    void 		     *bufOutput[ PROCESSNUMCHANNELS ];
    void             *bufIntermediate;
    ScomBufChannels  scomMsgRx;
    ScomBufChannels  scomMsgTx;
} ThrProcess; 

/* prototypes for public functions */
extern Void tskProcessInit( Void );
extern Void tskProcess( Void );
#ifdef __cplusplus
}
#endif // extern "C" 

#endif // THRPROCESS_

⌨️ 快捷键说明

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