Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
viddec3.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  * ======== viddec3.h ========
40  */
57 #ifndef ti_sdo_ce_video3_VIDDEC3_
58 #define ti_sdo_ce_video3_VIDDEC3_
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 #include <ti/xdais/dm/xdm.h>
65 #include <ti/xdais/dm/ividdec3.h>
66 
67 #include <ti/sdo/ce/Engine.h>
68 #include <ti/sdo/ce/visa.h>
69 #include <ti/sdo/ce/skel.h>
70 
73 
74 #define VIDDEC3_EOK IVIDDEC3_EOK
75 #define VIDDEC3_EFAIL IVIDDEC3_EFAIL
78 #define VIDDEC3_EUNSUPPORTED IVIDDEC3_EUNSUPPORTED
79 
80 #define VIDDEC3_ETIMEOUT VISA_ETIMEOUT
81 #define VIDDEC3_FOREVER VISA_FOREVER
86 #define VIDDEC3_VISATYPE "ti.sdo.ce.video3.IVIDDEC3"
87 
94 #define VIDDEC3_STUBSNAME "VIDDEC3_STUBS"
95 
96 
101 
104 
107 
110 
113 
116 
119 
120 
127 extern SKEL_Fxns VIDDEC3_SKEL;
128 
132 extern IVIDDEC3_Fxns VIDDEC3_STUBS;
133 
145 
146 
147 /*
148  * ======== VIDDEC3_control ========
149  */
177 extern Int32 VIDDEC3_control(VIDDEC3_Handle handle, VIDDEC3_Cmd id,
178  VIDDEC3_DynamicParams *params, VIDDEC3_Status *status);
179 
180 
181 /*
182  * ======== VIDDEC3_create ========
183  */
212 extern VIDDEC3_Handle VIDDEC3_create(Engine_Handle e, String name,
213  VIDDEC3_Params *params);
214 
215 
216 /*
217  * ======== VIDDEC3_delete ========
218  */
236 extern Void VIDDEC3_delete(VIDDEC3_Handle handle);
237 
238 
239 /*
240  * ======== VIDDEC3_process ========
241  */
284 extern Int32 VIDDEC3_process(VIDDEC3_Handle handle, XDM2_BufDesc *inBufs,
285  XDM2_BufDesc *outBufs, VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
286 
287 
288 #if 0 /* async not yet supported */
289 
290 /*
291  * ======== VIDDEC3_processAsync ========
292  */
329 extern XDAS_Int32 VIDDEC3_processAsync(VIDDEC3_Handle handle,
330  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
331  VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
332 
333 /*
334  * ======== VIDDEC3_processWait ========
335  */
378 extern XDAS_Int32 VIDDEC3_processWait(VIDDEC3_Handle handle,
379  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
380  VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs, UInt timeout);
381 
382 #endif
383 
384  /* ingroup */
386 
387 #ifdef __cplusplus
388 }
389 #endif
390 
391 #endif
392 /*
393  * @(#) ti.sdo.ce.video3; 1, 0, 0,3; 6-13-2013 00:21:02; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
394 
395  */
396 
Copyright 2013, Texas Instruments Incorporated