Codec Engine Application Programming Interface (API)
ce-w08
|
The SPHDEC speech decoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined ISPHDEC speech decoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/isphdec.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/visa.h>
#include <ti/sdo/ce/skel.h>
Go to the source code of this file.
Macros | |
#define | SPHDEC_EOK ISPHDEC_EOK |
| |
#define | SPHDEC_EFAIL ISPHDEC_EFAIL |
| |
#define | SPHDEC_ERUNTIME ISPHDEC_ERUNTIME |
| |
#define | SPHDEC_ETIMEOUT VISA_ETIMEOUT |
Timeout occurred. | |
#define | SPHDEC_FOREVER VISA_FOREVER |
Special value for timeout parameter indicating never timeout. | |
#define | SPHDEC_VISATYPE "ti.sdo.ce.speech.ISPHDEC" |
The VISA type. | |
#define | SPHDEC_STUBSNAME "SPHDEC_STUBS" |
Name of stub functions. Use this name when registering the SPHDEC_STUBS functions with Engine_addStubFxns. |
Typedefs | |
typedef ISPHDEC_Status | SPHDEC_Status |
Defines instance status parameters (read-only). | |
typedef VISA_Handle | SPHDEC_Handle |
Opaque handle to a SPHDEC codec. | |
typedef struct ISPHDEC_Params | SPHDEC_Params |
This structure defines the parameters necessary to create an instance of a speech decoder object. | |
typedef ISPHDEC_InArgs | SPHDEC_InArgs |
Defines the input arguments for all ISPHDEC instance process function. | |
typedef ISPHDEC_OutArgs | SPHDEC_OutArgs |
Defines the run time output arguments for all ISPHDEC instance objects. | |
typedef ISPHDEC_Cmd | SPHDEC_Cmd |
Defines the control commands for the ISPHDEC module. | |
typedef ISPHDEC_DynamicParams | SPHDEC_DynamicParams |
This structure defines the codec parameters that can be modified after creation via control() calls. |
Functions | |
SPHDEC_Handle | SPHDEC_create (Engine_Handle e, String name, SPHDEC_Params *params) |
Create an instance of a speech decoder algorithm. | |
Int32 | SPHDEC_process (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs) |
Execute the process() method in this instance of a speech decoder algorithm. | |
Int32 | SPHDEC_control (SPHDEC_Handle handle, SPHDEC_Cmd id, SPHDEC_DynamicParams *params, SPHDEC_Status *status) |
Execute the control method in this instance of a speech decoder algorithm. | |
Void | SPHDEC_delete (SPHDEC_Handle handle) |
Delete the instance of a speech/voice decoder algorithm. | |
XDAS_Int32 | SPHDEC_processAsync (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a speech decoder algorithm. | |
XDAS_Int32 | SPHDEC_processWait (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of SPHDEC_processAsync() in this instance of an speech decoder algorithm. |