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
00083
00087 typedef VISA_Handle VIDDEC3_Handle;
00088
00090 typedef struct IVIDDEC3_Params VIDDEC3_Params;
00091
00093 typedef IVIDDEC3_InArgs VIDDEC3_InArgs;
00094
00096 typedef IVIDDEC3_OutArgs VIDDEC3_OutArgs;
00097
00099 typedef IVIDDEC3_Cmd VIDDEC3_Cmd;
00100
00102 typedef IVIDDEC3_DynamicParams VIDDEC3_DynamicParams;
00103
00105 typedef IVIDDEC3_Status VIDDEC3_Status;
00106
00107
00114 extern SKEL_Fxns VIDDEC3_SKEL;
00115
00119 extern IVIDDEC3_Fxns VIDDEC3_STUBS;
00120
00128 typedef struct IVIDDEC3_CodecClassConfig {
00129 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00130 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00131 } IVIDDEC3_CodecClassConfig;
00132
00133
00134
00135
00136
00164 extern Int32 VIDDEC3_control(VIDDEC3_Handle handle, VIDDEC3_Cmd id,
00165 VIDDEC3_DynamicParams *params, VIDDEC3_Status *status);
00166
00167
00168
00169
00170
00199 extern VIDDEC3_Handle VIDDEC3_create(Engine_Handle e, String name,
00200 VIDDEC3_Params *params);
00201
00202
00203
00204
00205
00223 extern Void VIDDEC3_delete(VIDDEC3_Handle handle);
00224
00225
00226
00227
00228
00271 extern Int32 VIDDEC3_process(VIDDEC3_Handle handle, XDM2_BufDesc *inBufs,
00272 XDM2_BufDesc *outBufs, VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00273
00274
00275 #if 0
00276
00277
00278
00279
00316 extern XDAS_Int32 VIDDEC3_processAsync(VIDDEC3_Handle handle,
00317 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00318 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs);
00319
00320
00321
00322
00365 extern XDAS_Int32 VIDDEC3_processWait(VIDDEC3_Handle handle,
00366 XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs,
00367 VIDDEC3_InArgs *inArgs, VIDDEC3_OutArgs *outArgs, UInt timeout);
00368
00369 #endif
00370
00371
00373
00374 #ifdef __cplusplus
00375 }
00376 #endif
00377
00378 #endif
00379
00380
00381
00382
00383