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
00081 #define VIDDEC3_VISATYPE "ti.sdo.ce.video3.IVIDDEC3"
00082
00089 #define VIDDEC3_STUBSNAME "VIDDEC3_STUBS"
00090
00091
00095 typedef VISA_Handle VIDDEC3_Handle;
00096
00098 typedef struct IVIDDEC3_Params VIDDEC3_Params;
00099
00101 typedef IVIDDEC3_InArgs VIDDEC3_InArgs;
00102
00104 typedef IVIDDEC3_OutArgs VIDDEC3_OutArgs;
00105
00107 typedef IVIDDEC3_Cmd VIDDEC3_Cmd;
00108
00110 typedef IVIDDEC3_DynamicParams VIDDEC3_DynamicParams;
00111
00113 typedef IVIDDEC3_Status VIDDEC3_Status;
00114
00115
00122 extern SKEL_Fxns VIDDEC3_SKEL;
00123
00127 extern IVIDDEC3_Fxns VIDDEC3_STUBS;
00128
00136 typedef struct IVIDDEC3_CodecClassConfig {
00137 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00138 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00139 } IVIDDEC3_CodecClassConfig;
00140
00141
00142
00143
00144
00172 extern Int32 VIDDEC3_control(VIDDEC3_Handle handle, VIDDEC3_Cmd id,
00173 VIDDEC3_DynamicParams *params, VIDDEC3_Status *status);
00174
00175
00176
00177
00178
00207 extern VIDDEC3_Handle VIDDEC3_create(Engine_Handle e, String name,
00208 VIDDEC3_Params *params);
00209
00210
00211
00212
00213
00231 extern Void VIDDEC3_delete(VIDDEC3_Handle handle);
00232
00233
00234
00235
00236
00279 extern Int32 VIDDEC3_process(VIDDEC3_Handle handle, XDM2_BufDesc *inBufs,
00280 XDM2_BufDesc *outBufs, VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00281
00282
00283 #if 0
00284
00285
00286
00287
00324 extern XDAS_Int32 VIDDEC3_processAsync(VIDDEC3_Handle handle,
00325 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00326 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00327
00328
00329
00330
00373 extern XDAS_Int32 VIDDEC3_processWait(VIDDEC3_Handle handle,
00374 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00375 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs, UInt timeout);
00376
00377 #endif
00378
00379
00381
00382 #ifdef __cplusplus
00383 }
00384 #endif
00385
00386 #endif
00387
00388
00389
00390
00391