Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
auddec1.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  * ======== auddec1.h ========
40  */
62 #ifndef ti_sdo_ce_audio1_AUDDEC1_
63 #define ti_sdo_ce_audio1_AUDDEC1_
64 
65 #ifdef __cplusplus
66 extern "C" {
67 #endif
68 
69 #include <ti/xdais/dm/xdm.h>
70 #include <ti/xdais/dm/iauddec1.h>
71 
72 #include <ti/sdo/ce/Engine.h>
73 #include <ti/sdo/ce/visa.h>
74 #include <ti/sdo/ce/skel.h>
75 
78 
79 #define AUDDEC1_EOK IAUDDEC1_EOK
80 #define AUDDEC1_EFAIL IAUDDEC1_EFAIL
83 #define AUDDEC1_EUNSUPPORTED IAUDDEC1_EUNSUPPORTED
84 
85 #define AUDDEC1_ETIMEOUT VISA_ETIMEOUT
86 #define AUDDEC1_FOREVER VISA_FOREVER
92 #define AUDDEC1_VISATYPE "ti.sdo.ce.audio1.IAUDDEC1"
93 
100 #define AUDDEC1_STUBSNAME "AUDDEC1_STUBS"
101 
102 
107 
110 
113 
116 
119 
122 
125 
126 
133 extern SKEL_Fxns AUDDEC1_SKEL;
134 
138 extern IAUDDEC1_Fxns AUDDEC1_STUBS;
139 
143 /*
144  * ======== AUDDEC1_control ========
145  */
169 extern Int32 AUDDEC1_control(AUDDEC1_Handle handle, AUDDEC1_Cmd id,
170  AUDDEC1_DynamicParams *params, AUDDEC1_Status *status);
171 
172 
173 /*
174  * ======== AUDDEC1_create ========
175  */
208 extern AUDDEC1_Handle AUDDEC1_create(Engine_Handle e, String name,
209  AUDDEC1_Params *params);
210 
211 
212 /*
213  * ======== AUDDEC1_delete ========
214  */
232 extern Void AUDDEC1_delete(AUDDEC1_Handle handle);
233 
234 
235 /*
236  * ======== AUDDEC1_process ========
237  */
280 extern Int32 AUDDEC1_process(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
281  XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
282 
283 
284 /*
285  * ======== AUDDEC1_processAsync ========
286  */
323 extern Int32 AUDDEC1_processAsync(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
324  XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
325 
326 
327 /*
328  * ======== AUDDEC1_processWait ========
329  */
372 extern Int32 AUDDEC1_processWait(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
373  XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs,
374  UInt timeout);
375 
376 
379 #ifdef __cplusplus
380 }
381 #endif
382 
383 #endif
384 /*
385  * @(#) ti.sdo.ce.audio1; 1, 0, 1,3; 6-13-2013 00:10:33; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
386 
387  */
388 
Copyright 2013, Texas Instruments Incorporated