Codec Engine Application Programming Interface (API)
ce-w08
|
The AUDDEC audio decoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IAUDDEC audio decoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/iauddec.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 | AUDDEC_EOK IAUDDEC_EOK |
| |
#define | AUDDEC_EFAIL IAUDDEC_EFAIL |
| |
#define | AUDDEC_ERUNTIME IAUDDEC_ERUNTIME |
| |
#define | AUDDEC_ETIMEOUT VISA_ETIMEOUT |
Timeout occurred. | |
#define | AUDDEC_FOREVER VISA_FOREVER |
Special value for timeout parameter indicating never timeout. | |
#define | AUDDEC_VISATYPE "ti.sdo.ce.audio.IAUDDEC" |
The VISA type. | |
#define | AUDDEC_STUBSNAME "AUDDEC_STUBS" |
Name of stub functions. Use this name when registering the AUDDEC_STUBS functions with Engine_addStubFxns. |
Typedefs | |
typedef VISA_Handle | AUDDEC_Handle |
Opaque handle to a AUDDEC codec. | |
typedef IAUDDEC_Params | AUDDEC_Params |
Defines the creation time parameters for all IAUDDEC instance objects. | |
typedef IAUDDEC_InArgs | AUDDEC_InArgs |
Defines the input arguments for all IAUDDEC instance process function. | |
typedef IAUDDEC_OutArgs | AUDDEC_OutArgs |
Defines the run time output arguments for all IAUDDEC instance objects. | |
typedef IAUDDEC_Cmd | AUDDEC_Cmd |
Defines the control commands for the IAUDDEC module. | |
typedef IAUDDEC_Status | AUDDEC_Status |
Defines instance status parameters (read-only). | |
typedef IAUDDEC_DynamicParams | AUDDEC_DynamicParams |
This structure defines the codec parameters that can be modified after creation via control() calls. |
Functions | |
Int32 | AUDDEC_control (AUDDEC_Handle handle, AUDDEC_Cmd id, AUDDEC_DynamicParams *params, AUDDEC_Status *status) |
Execute the control() method in this instance of an audio decoder algorithm. | |
AUDDEC_Handle | AUDDEC_create (Engine_Handle e, String name, AUDDEC_Params *params) |
Create an instance of a audio decoder algorithm. | |
Void | AUDDEC_delete (AUDDEC_Handle handle) |
Delete the instance of an audio decoder algorithm. | |
Int32 | AUDDEC_process (AUDDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, AUDDEC_InArgs *inArgs, AUDDEC_OutArgs *outArgs) |
Execute the process() method in this instance of an audio decoder algorithm. | |
Int32 | AUDDEC_processAsync (AUDDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, AUDDEC_InArgs *inArgs, AUDDEC_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a audio decoder algorithm. | |
Int32 | AUDDEC_processWait (AUDDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, AUDDEC_InArgs *inArgs, AUDDEC_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of AUDDEC_processAsync() in this instance of an audio decoder algorithm. |