Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00052 #ifndef ti_sdo_ce_video3_VIDDEC3_
00053 #define ti_sdo_ce_video3_VIDDEC3_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059 #include <ti/xdais/dm/xdm.h>
00060 #include <ti/xdais/dm/ividdec3.h>
00061
00062 #include <ti/sdo/ce/Engine.h>
00063 #include <ti/sdo/ce/visa.h>
00064 #include <ti/sdo/ce/skel.h>
00065
00068
00069 #define VIDDEC3_EOK IVIDDEC3_EOK
00070 #define VIDDEC3_EFAIL IVIDDEC3_EFAIL
00073 #define VIDDEC3_EUNSUPPORTED IVIDDEC3_EUNSUPPORTED
00074
00075 #define VIDDEC3_ETIMEOUT VISA_ETIMEOUT
00076 #define VIDDEC3_FOREVER VISA_FOREVER
00082 typedef VISA_Handle VIDDEC3_Handle;
00083
00085 typedef struct IVIDDEC3_Params VIDDEC3_Params;
00086
00088 typedef IVIDDEC3_InArgs VIDDEC3_InArgs;
00089
00091 typedef IVIDDEC3_OutArgs VIDDEC3_OutArgs;
00092
00094 typedef IVIDDEC3_Cmd VIDDEC3_Cmd;
00095
00097 typedef IVIDDEC3_DynamicParams VIDDEC3_DynamicParams;
00098
00100 typedef IVIDDEC3_Status VIDDEC3_Status;
00101
00102
00109 extern SKEL_Fxns VIDDEC3_SKEL;
00110
00114 extern IVIDDEC3_Fxns VIDDEC3_STUBS;
00115
00123 typedef struct IVIDDEC3_CodecClassConfig {
00124 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00125 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00126 } IVIDDEC3_CodecClassConfig;
00127
00128
00129
00130
00131
00159 extern Int32 VIDDEC3_control(VIDDEC3_Handle handle, VIDDEC3_Cmd id,
00160 VIDDEC3_DynamicParams *params, VIDDEC3_Status *status);
00161
00162
00163
00164
00165
00194 extern VIDDEC3_Handle VIDDEC3_create(Engine_Handle e, String name,
00195 VIDDEC3_Params *params);
00196
00197
00198
00199
00200
00218 extern Void VIDDEC3_delete(VIDDEC3_Handle handle);
00219
00220
00221
00222
00223
00266 extern Int32 VIDDEC3_process(VIDDEC3_Handle handle, XDM2_BufDesc *inBufs,
00267 XDM2_BufDesc *outBufs, VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00268
00269
00270 #if 0
00271
00272
00273
00274
00311 extern XDAS_Int32 VIDDEC3_processAsync(VIDDEC3_Handle handle,
00312 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00313 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00314
00315
00316
00317
00360 extern XDAS_Int32 VIDDEC3_processWait(VIDDEC3_Handle handle,
00361 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00362 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs, UInt timeout);
00363
00364 #endif
00365
00366
00368
00369 #ifdef __cplusplus
00370 }
00371 #endif
00372
00373 #endif
00374
00375
00376
00377
00378