sphenc1.h File Reference


Detailed Description

The Speech 1.0 Encoder Codec Interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM 1.0 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>
Include dependency graph for sphenc1.h:

Go to the source code of this file.

Defines

#define SPHENC1_EOK   ISPHENC1_EOK
#define SPHENC1_EFAIL   ISPHENC1_EFAIL
#define SPHENC1_EUNSUPPORTED   ISPHENC1_EUNSUPPORTED
#define SPHENC1_ETIMEOUT   VISA_ETIMEOUT
#define SPHENC1_FOREVER   VISA_FOREVER

Typedefs

typedef VISA_Handle SPHENC1_Handle
 Opaque handle to a SPHENC1 codec.
typedef struct ISPHENC1_Params SPHENC1_Params
 This structure defines the parameters necessary to create an instance of a speech encoder.
typedef ISPHENC1_InArgs SPHENC1_InArgs
typedef ISPHENC1_OutArgs SPHENC1_OutArgs
typedef ISPHENC1_Cmd SPHENC1_Cmd
typedef ISPHENC1_Status SPHENC1_Status
typedef ISPHENC1_DynamicParams SPHENC1_DynamicParams

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.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2010, Texas Instruments Incorporated