Codec Engine Application Programming Interface (API)
ce-w08
|
The SPHENC1 speech encoder codec interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined ISPHENC1 speech encoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/isphenc1.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 | SPHENC1_EOK ISPHENC1_EOK |
| |
#define | SPHENC1_EFAIL ISPHENC1_EFAIL |
| |
#define | SPHENC1_EUNSUPPORTED ISPHENC1_EUNSUPPORTED |
| |
#define | SPHENC1_ETIMEOUT VISA_ETIMEOUT |
Timeout occurred. | |
#define | SPHENC1_FOREVER VISA_FOREVER |
Special value for timeout parameter indicating never timeout. | |
#define | SPHENC1_VISATYPE "ti.sdo.ce.speech1.ISPHENC1" |
The VISA type. | |
#define | SPHENC1_STUBSNAME "SPHENC1_STUBS" |
Name of stub functions. Use this name when registering the SPHENC1_STUBS functions with Engine_addStubFxns. |
Typedefs | |
typedef VISA_Handle | SPHENC1_Handle |
Opaque handle to a SPHENC1 codec. | |
typedef ISPHENC1_Params | SPHENC1_Params |
Defines the creation time parameters for all ISPHENC1 instance objects. | |
typedef ISPHENC1_InArgs | SPHENC1_InArgs |
Defines the input arguments for all ISPHENC1 instance process function. | |
typedef ISPHENC1_OutArgs | SPHENC1_OutArgs |
Defines the run time output arguments for all ISPHENC1 instance objects. | |
typedef ISPHENC1_Cmd | SPHENC1_Cmd |
Defines the control commands for the ISPHENC1 module. | |
typedef ISPHENC1_DynamicParams | SPHENC1_DynamicParams |
This structure defines the codec parameters that can be modified after creation via ISPHENC1_Fxns.control(). | |
typedef ISPHENC1_Status | SPHENC1_Status |
Defines instance status parameters. |
Functions | |
Int32 | SPHENC1_control (SPHENC1_Handle handle, SPHENC1_Cmd id, SPHENC1_DynamicParams *params, SPHENC1_Status *status) |
Execute the control() method in this instance of a speech encoder algorithm. | |
SPHENC1_Handle | SPHENC1_create (Engine_Handle e, String name, SPHENC1_Params *params) |
Create an instance of a speech encoder algorithm. | |
Void | SPHENC1_delete (SPHENC1_Handle handle) |
Delete the instance of a speech encoder algorithm. | |
Int32 | SPHENC1_process (SPHENC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs) |
Execute the process() method in this instance of a speech encoder algorithm. | |
XDAS_Int32 | SPHENC1_processAsync (SPHENC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a speech encoder algorithm. | |
XDAS_Int32 | SPHENC1_processWait (SPHENC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of SPHENC1_processAsync() in this instance of an speech encoder algorithm. |