Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
viddec1.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  * ======== viddec1.h ========
40  */
57 #ifndef ti_sdo_ce_video1_VIDDEC1_
58 #define ti_sdo_ce_video1_VIDDEC1_
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 #include <ti/xdais/dm/xdm.h>
65 #include <ti/xdais/dm/ividdec1.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 VIDDEC1_EOK IVIDDEC1_EOK
77 #define VIDDEC1_EFAIL IVIDDEC1_EFAIL
80 #define VIDDEC1_EUNSUPPORTED IVIDDEC1_EUNSUPPORTED
81 
82 #define VIDDEC1_ETIMEOUT VISA_ETIMEOUT
83 #define VIDDEC1_FOREVER VISA_FOREVER
88 #define VIDDEC1_VISATYPE "ti.sdo.ce.video1.IVIDDEC1"
89 
96 #define VIDDEC1_STUBSNAME "VIDDEC1_STUBS"
97 
98 
103 
109 
114 
119 
124 
129 
136 extern SKEL_Fxns VIDDEC1_SKEL;
137 
141 extern IVIDDEC1_Fxns VIDDEC1_STUBS;
142 
154 
155 /*
156  * ======== VIDDEC1_create ========
157  */
186 extern VIDDEC1_Handle VIDDEC1_create(Engine_Handle e, String name,
187  VIDDEC1_Params *params);
188 
189 
190 /*
191  * ======== VIDDEC1_process ========
192  */
233 extern Int32 VIDDEC1_process(VIDDEC1_Handle handle, XDM1_BufDesc *inBufs,
234  XDM_BufDesc *outBufs, VIDDEC1_InArgs *inArgs, VIDDEC1_OutArgs *outArgs);
235 
236 
237 /*
238  * ======== VIDDEC1_control ========
239  */
267 extern Int32 VIDDEC1_control(VIDDEC1_Handle handle, VIDDEC1_Cmd id,
268  VIDDEC1_DynamicParams *params, VIDDEC1_Status *status);
269 
270 
271 /*
272  * ======== VIDDEC1_delete ========
273  */
291 extern Void VIDDEC1_delete(VIDDEC1_Handle handle);
292 
293 
294 /*
295  * ======== VIDDEC1_processAsync ========
296  */
333 extern XDAS_Int32 VIDDEC1_processAsync(VIDDEC1_Handle handle,
334  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
335  VIDDEC1_InArgs *inArgs, VIDDEC1_OutArgs *outArgs);
336 
337 
338 /*
339  * ======== VIDDEC1_processWait ========
340  */
383 extern XDAS_Int32 VIDDEC1_processWait(VIDDEC1_Handle handle,
384  XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
385  VIDDEC1_InArgs *inArgs, VIDDEC1_OutArgs *outArgs, UInt timeout);
386 
387 
390 #ifdef __cplusplus
391 }
392 #endif
393 
394 #endif
395 /*
396  * @(#) ti.sdo.ce.video1; 1, 0, 2,3; 6-13-2013 00:20:24; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
397 
398  */
399 
Copyright 2013, Texas Instruments Incorporated