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
00051 #ifndef ti_sdo_ce_image1_IMGENC1_
00052 #define ti_sdo_ce_image1_IMGENC1_
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058 #include <ti/xdais/dm/xdm.h>
00059 #include <ti/xdais/dm/iimgenc1.h>
00060
00061 #include <ti/sdo/ce/Engine.h>
00062 #include <ti/sdo/ce/visa.h>
00063 #include <ti/sdo/ce/skel.h>
00064
00067
00069 #define IMGENC1_EOK IIMGENC1_EOK
00070
00072 #define IMGENC1_EFAIL IIMGENC1_EFAIL
00073
00075 #define IMGENC1_EUNSUPPORTED IIMGENC1_EUNSUPPORTED
00076
00078 #define IMGENC1_ETIMEOUT VISA_ETIMEOUT
00079
00081 #define IMGENC1_FOREVER VISA_FOREVER
00082
00083
00087 typedef VISA_Handle IMGENC1_Handle;
00088
00089
00090
00092 typedef struct IIMGENC1_Params IMGENC1_Params;
00093
00095 typedef IIMGENC1_InArgs IMGENC1_InArgs;
00096
00098 typedef IIMGENC1_OutArgs IMGENC1_OutArgs;
00099
00101 typedef IIMGENC1_Cmd IMGENC1_Cmd;
00102
00104 typedef IIMGENC1_DynamicParams IMGENC1_DynamicParams;
00105
00107 typedef IIMGENC1_Status IMGENC1_Status;
00108
00115 extern SKEL_Fxns IMGENC1_SKEL;
00116
00120 extern IIMGENC1_Fxns IMGENC1_STUBS;
00121
00127 typedef struct IIMGENC1_CodecClassConfig {
00128 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00129 Bool manageOutBufsCache[ XDM_MAX_IO_BUFFERS ];
00130 } IIMGENC1_CodecClassConfig;
00131
00132
00133
00134
00135
00136
00160 extern Int32 IMGENC1_control(IMGENC1_Handle handle, IMGENC1_Cmd id,
00161 IMGENC1_DynamicParams *params, IMGENC1_Status *status);
00162
00163
00164
00165
00166
00195 extern IMGENC1_Handle IMGENC1_create(Engine_Handle e, String name,
00196 IMGENC1_Params *params);
00197
00198
00199
00200
00201
00219 extern Void IMGENC1_delete(IMGENC1_Handle handle);
00220
00221
00222
00223
00224
00263 extern Int32 IMGENC1_process(IMGENC1_Handle handle, XDM1_BufDesc *inBufs,
00264 XDM1_BufDesc *outBufs, IMGENC1_InArgs *inArgs, IMGENC1_OutArgs *outArgs);
00265
00266
00267
00268
00269
00306 extern XDAS_Int32 IMGENC1_processAsync(IMGENC1_Handle handle,
00307 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00308 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs);
00309
00310
00311
00312
00313
00356 extern XDAS_Int32 IMGENC1_processWait(IMGENC1_Handle handle,
00357 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00358 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs, UInt timeout);
00359
00360
00363 #ifdef __cplusplus
00364 }
00365 #endif
00366
00367 #endif
00368
00369
00370
00371
00372