Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
vidanalytics.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  * ======== vidtranscode.h ========
40  */
57 #ifndef ti_sdo_ce_vidanalytics_VIDANALYTICS_
58 #define ti_sdo_ce_vidanalytics_VIDANALYTICS_
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 #include <ti/xdais/dm/xdm.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 
75 #define VIDANALYTICS_EOK IVIDANALYTICS_EOK
76 
78 #define VIDANALYTICS_EFAIL IVIDANALYTICS_EFAIL
79 
81 #define VIDANALYTICS_EUNSUPPORTED IVIDANALYTICS_EUNSUPPORTED
82 
84 #define VIDANALYTICS_ETIMEOUT VISA_ETIMEOUT
85 
87 #define VIDANALYTICS_FOREVER VISA_FOREVER
88 
89 
96 #define VIDANALYTICS_STUBSNAME "VIDANYLITIC_STUBS"
97 
98 
102 #define VIDANALYTICS_VISATYPE "ti.sdo.ce.vidanalytics.IVIDANALYTICS"
103 
104 
109 
110 /* The following are just wrapper typedefs */
111 
114 
117 
120 
123 
126 
129 
136 extern SKEL_Fxns VIDANALYTICS_SKEL;
137 
142 extern IVIDANALYTICS_Fxns VIDANALYTICS_STUBS;
143 
147 /*
148  * ======== VIDANALYTICS_control ========
149  */
174 extern Int32 VIDANALYTICS_control(VIDANALYTICS_Handle handle,
175  VIDANALYTICS_Cmd id, VIDANALYTICS_DynamicParams *params,
176  VIDANALYTICS_Status *status);
177 
178 
179 /*
180  * ======== VIDANALYTICS_create ========
181  */
210 extern VIDANALYTICS_Handle VIDANALYTICS_create(Engine_Handle e, String name,
211  VIDANALYTICS_Params *params);
212 
213 
214 /*
215  * ======== VIDANALYTICS_delete ========
216  */
234 extern Void VIDANALYTICS_delete(VIDANALYTICS_Handle handle);
235 
236 
237 /*
238  * ======== VIDANALYTICS_process ========
239  */
279 extern Int32 VIDANALYTICS_process(VIDANALYTICS_Handle handle,
280  XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, VIDANALYTICS_InArgs *inArgs,
281  VIDANALYTICS_OutArgs *outArgs);
282 
283 /*
284  * ======== VIDANALYTICS_processAsync ========
285  */
323 extern XDAS_Int32 VIDANALYTICS_processAsync(VIDANALYTICS_Handle handle,
324  XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, IVIDANALYTICS_InArgs *inArgs,
325  IVIDANALYTICS_OutArgs *outArgs);
326 
327 /*
328  * ======== VIDANALYTICS_processWait ========
329  */
374 extern XDAS_Int32 VIDANALYTICS_processWait(VIDANALYTICS_Handle handle,
375  XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, IVIDANALYTICS_InArgs *inArgs,
376  IVIDANALYTICS_OutArgs *outArgs, UInt timeout);
377 
380 #ifdef __cplusplus
381 }
382 #endif
383 
384 #endif
385 /*
386  * @(#) ti.sdo.ce.vidanalytics; 1, 0, 1,3; 6-13-2013 00:20:00; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
387 
388  */
389 
Copyright 2013, Texas Instruments Incorporated