Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
viddec2.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  * ======== viddec2.h ========
40  */
57 #ifndef ti_sdo_ce_video2_VIDDEC2_
58 #define ti_sdo_ce_video2_VIDDEC2_
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 #include <ti/xdais/dm/xdm.h>
65 #include <ti/xdais/dm/ividdec2.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 
76 #define VIDDEC2_EOK IVIDDEC2_EOK
77 #define VIDDEC2_EFAIL IVIDDEC2_EFAIL
80 #define VIDDEC2_EUNSUPPORTED IVIDDEC2_EUNSUPPORTED
81 
82 #define VIDDEC2_ETIMEOUT VISA_ETIMEOUT
83 #define VIDDEC2_FOREVER VISA_FOREVER
88 #define VIDDEC2_VISATYPE "ti.sdo.ce.video2.IVIDDEC2"
89 
96 #define VIDDEC2_STUBSNAME "VIDDEC2_STUBS"
97 
98 
103 
109 
114 
119 
124 
129 
136 extern SKEL_Fxns VIDDEC2_SKEL;
137 
141 extern IVIDDEC2_Fxns VIDDEC2_STUBS;
142 
154 
155 
156 /*
157  * ======== VIDDEC2_create ========
158  */
187 extern VIDDEC2_Handle VIDDEC2_create(Engine_Handle e, String name,
188  VIDDEC2_Params *params);
189 
190 
191 /*
192  * ======== VIDDEC2_process ========
193  */
234 extern Int32 VIDDEC2_process(VIDDEC2_Handle handle, XDM1_BufDesc *inBufs,
235  XDM_BufDesc *outBufs, VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs);
236 
237 
238 /*
239  * ======== VIDDEC2_control ========
240  */
268 extern Int32 VIDDEC2_control(VIDDEC2_Handle handle, VIDDEC2_Cmd id,
269  VIDDEC2_DynamicParams *params, VIDDEC2_Status *status);
270 
271 
272 /*
273  * ======== VIDDEC2_delete ========
274  */
292 extern Void VIDDEC2_delete(VIDDEC2_Handle handle);
293 
294 
295 /*
296  * ======== VIDDEC2_processAsync ========
297  */
334 extern XDAS_Int32 VIDDEC2_processAsync(VIDDEC2_Handle handle,
335  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
336  VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs);
337 
338 
339 /*
340  * ======== VIDDEC2_processWait ========
341  */
384 extern XDAS_Int32 VIDDEC2_processWait(VIDDEC2_Handle handle,
385  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
386  VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs, UInt timeout);
387 
388 
391 #ifdef __cplusplus
392 }
393 #endif
394 
395 #endif
396 /*
397  * @(#) ti.sdo.ce.video2; 1, 0, 3,3; 6-13-2013 00:20:38; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
398 
399  */
400 
Copyright 2013, Texas Instruments Incorporated