www.pudn.com > g7231codec.rar > _GI23DE.h


/* 
//============================================================================ 
// 
//    FILE NAME : _GI23DE.h 
// 
//    BLOCK NAME: G723DE 
// 
//    GROUP NAME: Default Group 
// 
//    PURPOSE   : Provides the real-time block's DSP header file. 
// 
//    Component Wizard for eXpressDSP Version 1.31.00 Auto-Generated Block 
// 
//    Number of Inputs : 1 
//    Number of Outputs: 1 
// 
//    Creation Date: Mon - 16 May 2005 
//    Creation Time: 04:34 PM 
// 
//========================================================================== 
*/ 
 
/***********************************************************************/ 
/*                              DEFINITIONS                            */ 
/***********************************************************************/ 
/* boolean macros */ 
typedef  unsigned int  BOOL; 
#define  FALSE   0 
#define  TRUE    1 
 
#include  
#include "g723de.h" 
#include "g723de_kn.h" 
 
 
/***********************************************************************/ 
/* Data Pointers / Parameter Structure                                 */ 
/*                                                                     */ 
/* NOTE: This structure was auto-generated by Hypersignal              */ 
/*       Block Wizard application.  DO NOT MODIFY THIS STRUCTURE!      */ 
/***********************************************************************/ 
 
typedef struct 
{ 
  /*********************************************************************/ 
  /*                  Synchronization Addresses                        */ 
  /*********************************************************************/ 
  unsigned int *SyncIn;                  /* ptr to input sync value  */ 
  unsigned int *SyncOut;                 /* ptr to output sync value */ 
 
  /*********************************************************************/ 
  /*                  Input Data Pointers / Framesizes                 */ 
  /*********************************************************************/ 
  int          *PtrIn0;                  /* input 0 data pointer */ 
  unsigned int FramesizeIn0;             /* input 0 framesize */ 
 
  /*********************************************************************/ 
  /*                  Output Data Pointers / Framesize                 */ 
  /*********************************************************************/ 
  int          *PtrOut0;                 /* output 0 data pointer */ 
  unsigned int FramesizeOut0;            /* output 0 framesize */ 
 
  /*********************************************************************/ 
  /*                       Block Parameters                            */ 
  /*********************************************************************/ 
  BOOL         _annexA; 
  BOOL         _pfoEnable; 
  BOOL         _badFrame; 
 
  /*********************************************************************/ 
  /*                       xDAIS Parameters                            */ 
  /*********************************************************************/ 
  int          Changed; /* Please Don't Move or Remove !!  */ 
  G723DE_Handle  handle; 
 
  /*********************************************************************/ 
  /*                   Internal Persistent Variables                   */ 
  /*********************************************************************/ 
  /* NOTE: If your block requires persistent variables, then they must */ 
  /*       be put here.  DO NOT USE global variables or statics in the */ 
  /*       C source file unless you really want them to be shared by   */ 
  /*       all instances of this block.                                */ 
  /*********************************************************************/ 
 
} PARAMS; 
 
 
/***********************************************************************/ 
/*                           FUNCTION PROTOTYPES                       */ 
/***********************************************************************/ 
 
void GI23DE_INT  (PARAMS *pPtr);         /* optional block interrupt routine */ 
 
void GI23DE_INIT (PARAMS *pPtr);         /* optional block initialization routine */ 
 
void GI23DE_STOP (PARAMS *pPtr);         /* optional block stop routine */ 
 
void GI23DE_RESTART (PARAMS *pPtr);      /* optional block restart routine */ 
 
void GI23DE(PARAMS *pPtr);               /* main block routine */