Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
imgdec1.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  * ======== imgdec1.h ========
40  */
56 #ifndef ti_sdo_ce_image1_IMGDEC1_
57 #define ti_sdo_ce_image1_IMGDEC1_
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 #include <ti/xdais/dm/xdm.h>
64 #include <ti/xdais/dm/iimgdec1.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 IMGDEC1_EOK IIMGDEC1_EOK
75 
77 #define IMGDEC1_EFAIL IIMGDEC1_EFAIL
78 
80 #define IMGDEC1_EUNSUPPORTED IIMGDEC1_EUNSUPPORTED
81 
83 #define IMGDEC1_ETIMEOUT VISA_ETIMEOUT
84 
86 #define IMGDEC1_FOREVER VISA_FOREVER
87 
91 #define IMGDEC1_VISATYPE "ti.sdo.ce.image1.IIMGDEC1"
92 
99 #define IMGDEC1_STUBSNAME "IMGDEC1_STUBS"
100 
101 
106 
107 /* The following are just wrapper typedefs */
108 
111 
114 
117 
120 
123 
126 
133 extern SKEL_Fxns IMGDEC1_SKEL;
134 
138 extern IIMGDEC1_Fxns IMGDEC1_STUBS;
139 
149 
150 
151 /*
152  * ======== IMGDEC1_control ========
153  */
177 extern Int32 IMGDEC1_control(IMGDEC1_Handle handle, IMGDEC1_Cmd id,
178  IMGDEC1_DynamicParams *params, IMGDEC1_Status *status);
179 
180 
181 /*
182  * ======== IMGDEC1_create ========
183  */
212 extern IMGDEC1_Handle IMGDEC1_create(Engine_Handle e, String name,
213  IMGDEC1_Params *params);
214 
215 
216 /*
217  * ======== IMGDEC1_delete ========
218  */
236 extern Void IMGDEC1_delete(IMGDEC1_Handle handle);
237 
238 
239 /*
240  * ======== IMGDEC1_process ========
241  */
280 extern Int32 IMGDEC1_process(IMGDEC1_Handle handle, XDM1_BufDesc *inBufs,
281  XDM1_BufDesc *outBufs, IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs);
282 
283 
284 /*
285  * ======== IMGDEC1_processAsync ========
286  */
323 extern XDAS_Int32 IMGDEC1_processAsync(IMGDEC1_Handle handle,
324  XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
325  IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs);
326 
327 
328 /*
329  * ======== IMGDEC1_processWait ========
330  */
373 extern XDAS_Int32 IMGDEC1_processWait(IMGDEC1_Handle handle,
374  XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
375  IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs, UInt timeout);
376 
377 
380 #ifdef __cplusplus
381 }
382 #endif
383 
384 #endif
385 /*
386  * @(#) ti.sdo.ce.image1; 1, 0, 1,3; 6-13-2013 00:15:50; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
387 
388  */
389 
Copyright 2013, Texas Instruments Incorporated