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


/* 
//============================================================================ 
// 
//    FILE NAME : IG723DE.h 
// 
//    ALGORITHM : G723DE 
// 
//    VENDOR    : KN 
// 
//    TARGET DSP: C64x 
// 
//    PURPOSE   : IG723DE Interface Header 
// 
//    Component Wizard for eXpressDSP Version 1.31.00 Auto-Generated Component 
// 
//    Number of Inputs : 1 
//    Number of Outputs: 1 
// 
//    Creation Date: Mon - 16 May 2005 
//    Creation Time: 04:34 PM 
// 
//============================================================================ 
*/ 
 
#ifndef IG723DE_ 
#define IG723DE_ 
 
#include  
#include  
 
/* 
// =========================================================================== 
// IG723DE_Handle 
// 
// This handle is used to reference all G723DE instance objects 
*/ 
typedef struct IG723DE_Obj *IG723DE_Handle; 
 
/* 
// =========================================================================== 
// IG723DE_Obj 
// 
// This structure must be the first field of all G723DE instance objects 
*/ 
typedef struct IG723DE_Obj { 
    struct IG723DE_Fxns *fxns; 
} IG723DE_Obj; 
 
/* 
// =========================================================================== 
// IG723DE_Status 
// 
// Status structure defines the parameters that can be changed or read 
// during real-time operation of the alogrithm. 
*/ 
typedef struct IG723DE_Status { 
    Int             size;  /* must be first field of all status structures */ 
    XDAS_Bool       annexA; 
    XDAS_Bool       pfoEnable; 
    XDAS_Bool       badFrame; 
} IG723DE_Status; 
 
/* 
// =========================================================================== 
// IG723DE_Cmd 
// 
// The Cmd enumeration defines the control commands for the G723DE 
// control method. 
*/ 
typedef enum IG723DE_Cmd { 
  IG723DE_GETSTATUS, 
  IG723DE_SETSTATUS 
} IG723DE_Cmd; 
 
/* 
// =========================================================================== 
// IG723DE_Params 
// 
// This structure defines the creation parameters for all G723DE objects 
*/ 
typedef struct IG723DE_Params { 
    Int size;	  /* must be first field of all params structures */ 
    XDAS_UInt32     framesizeIn0; 
    XDAS_UInt32     framesizeOut0; 
    XDAS_Bool       annexA; 
    XDAS_Bool       pfoEnable; 
} IG723DE_Params; 
 
/* 
// =========================================================================== 
// IG723DE_PARAMS 
// 
// Default parameter values for G723DE instance objects 
*/ 
extern IG723DE_Params IG723DE_PARAMS; 
 
/* 
// =========================================================================== 
// IG723DE_Fxns 
// 
// This structure defines all of the operations on G723DE objects 
*/ 
typedef struct IG723DE_Fxns { 
    IALG_Fxns	ialg;    /* IG723DE extends IALG */ 
    XDAS_Void (*apply)(IG723DE_Handle handle, XDAS_Int16 * ptrIn0, XDAS_Int16 * ptrOut0); 
} IG723DE_Fxns; 
 
#endif	/* IG723DE_ */