Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sphdec1.h
Go to the documentation of this file.
1 /*
2  * Copyright 2013 by Texas Instruments Incorporated.
3  *
4  */
5 
6 /*
7  * Copyright (c) 2013, Texas Instruments Incorporated
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  *
14  * * Redistributions of source code must retain the above copyright
15  * notice, this list of conditions and the following disclaimer.
16  *
17  * * Redistributions in binary form must reproduce the above copyright
18  * notice, this list of conditions and the following disclaimer in the
19  * documentation and/or other materials provided with the distribution.
20  *
21  * * Neither the name of Texas Instruments Incorporated nor the names of
22  * its contributors may be used to endorse or promote products derived
23  * from this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
27  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
29  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
32  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  *
37  */
38 /*
39  * ======== sphdec1.h ========
40  */
56 #ifndef ti_sdo_ce_speech1_SPHDEC1_
57 #define ti_sdo_ce_speech1_SPHDEC1_
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 #include <ti/xdais/dm/xdm.h>
64 #include <ti/xdais/dm/isphdec1.h>
65 
66 #include <ti/sdo/ce/Engine.h>
67 #include <ti/sdo/ce/visa.h>
68 #include <ti/sdo/ce/skel.h>
69 
72 
74 #define SPHDEC1_EOK ISPHDEC1_EOK
75 
77 #define SPHDEC1_EFAIL ISPHDEC1_EFAIL
78 
80 #define SPHDEC1_EUNSUPPORTED ISPHDEC1_EUNSUPPORTED
81 
83 #define SPHDEC1_ETIMEOUT VISA_ETIMEOUT
84 
86 #define SPHDEC1_FOREVER VISA_FOREVER
87 
91 #define SPHDEC1_VISATYPE "ti.sdo.ce.speech1.ISPHDEC1"
92 
99 #define SPHDEC1_STUBSNAME "SPHDEC1_STUBS"
100 
101 
106 
107 /* The following are just wrapper typedefs */
108 
111 
114 
117 
120 
123 
126 
133 extern SKEL_Fxns SPHDEC1_SKEL;
134 
138 extern ISPHDEC1_Fxns SPHDEC1_STUBS;
139 
143 /*
144  * ======== SPHDEC1_control ========
145  */
169 extern Int32 SPHDEC1_control(SPHDEC1_Handle handle, SPHDEC1_Cmd id,
170  SPHDEC1_DynamicParams *params, SPHDEC1_Status *status);
171 
172 
173 /*
174  * ======== SPHDEC1_create ========
175  */
204 extern SPHDEC1_Handle SPHDEC1_create(Engine_Handle e, String name,
205  SPHDEC1_Params *params);
206 
207 
208 /*
209  * ======== SPHDEC1_delete ========
210  */
228 extern Void SPHDEC1_delete(SPHDEC1_Handle handle);
229 
230 
231 /*
232  * ======== SPHDEC1_process ========
233  */
272 extern Int32 SPHDEC1_process(SPHDEC1_Handle handle,
273  XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
274  SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs);
275 
276 
277 /*
278  * ======== SPHDEC1_processAsync ========
279  */
316 extern XDAS_Int32 SPHDEC1_processAsync(SPHDEC1_Handle handle,
317  XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
318  SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs);
319 
320 /*
321  * ======== SPHDEC1_processWait ========
322  */
365 extern XDAS_Int32 SPHDEC1_processWait(SPHDEC1_Handle handle,
366  XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
367  SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs, UInt timeout);
368 
369 
372 #ifdef __cplusplus
373 }
374 #endif
375 
376 #endif
377 /*
378  * @(#) ti.sdo.ce.speech1; 1, 0, 1,3; 6-13-2013 00:17:22; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
379 
380  */
381 
Copyright 2013, Texas Instruments Incorporated