www.pudn.com > g7231codec.rar > ig723en.h
/* //============================================================================ // // FILE NAME : IG723EN.h // // ALGORITHM : G723EN // // VENDOR : KN // // TARGET DSP: C64x // // PURPOSE : IG723EN 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:31 PM // //============================================================================ */ #ifndef IG723EN_ #define IG723EN_ #include#include /* // =========================================================================== // IG723EN_Handle // // This handle is used to reference all G723EN instance objects */ typedef struct IG723EN_Obj *IG723EN_Handle; /* // =========================================================================== // IG723EN_Obj // // This structure must be the first field of all G723EN instance objects */ typedef struct IG723EN_Obj { struct IG723EN_Fxns *fxns; } IG723EN_Obj; /* // =========================================================================== // IG723EN_Status // // Status structure defines the parameters that can be changed or read // during real-time operation of the alogrithm. */ typedef struct IG723EN_Status { Int size; /* must be first field of all status structures */ XDAS_Bool annexA; XDAS_Bool hpfEnable; XDAS_Bool rate; XDAS_Bool vadEnable; } IG723EN_Status; /* // =========================================================================== // IG723EN_Cmd // // The Cmd enumeration defines the control commands for the G723EN // control method. */ typedef enum IG723EN_Cmd { IG723EN_GETSTATUS, IG723EN_SETSTATUS } IG723EN_Cmd; /* // =========================================================================== // IG723EN_Params // // This structure defines the creation parameters for all G723EN objects */ typedef struct IG723EN_Params { Int size; /* must be first field of all params structures */ XDAS_UInt32 framesizeIn0; XDAS_UInt32 framesizeOut0; XDAS_Bool annexA; XDAS_Bool hpfEnable; XDAS_Bool rate; XDAS_Bool vadEnable; } IG723EN_Params; /* // =========================================================================== // IG723EN_PARAMS // // Default parameter values for G723EN instance objects */ extern IG723EN_Params IG723EN_PARAMS; /* // =========================================================================== // IG723EN_Fxns // // This structure defines all of the operations on G723EN objects */ typedef struct IG723EN_Fxns { IALG_Fxns ialg; /* IG723EN extends IALG */ XDAS_Void (*apply)(IG723EN_Handle handle, XDAS_Int16 * ptrIn0, XDAS_Int16 * ptrOut0); } IG723EN_Fxns; #endif /* IG723EN_ */