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
00086 #define IMGENC1_VISATYPE "ti.sdo.ce.image1.IIMGENC1"
00087
00094 #define IMGENC1_STUBSNAME "IMGENC1_STUBS"
00095
00099 typedef VISA_Handle IMGENC1_Handle;
00100
00101
00102
00104 typedef struct IIMGENC1_Params IMGENC1_Params;
00105
00107 typedef IIMGENC1_InArgs IMGENC1_InArgs;
00108
00110 typedef IIMGENC1_OutArgs IMGENC1_OutArgs;
00111
00113 typedef IIMGENC1_Cmd IMGENC1_Cmd;
00114
00116 typedef IIMGENC1_DynamicParams IMGENC1_DynamicParams;
00117
00119 typedef IIMGENC1_Status IMGENC1_Status;
00120
00127 extern SKEL_Fxns IMGENC1_SKEL;
00128
00132 extern IIMGENC1_Fxns IMGENC1_STUBS;
00133
00139 typedef struct IIMGENC1_CodecClassConfig {
00140 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00141 Bool manageOutBufsCache[ XDM_MAX_IO_BUFFERS ];
00142 } IIMGENC1_CodecClassConfig;
00143
00144
00145
00146
00147
00148
00172 extern Int32 IMGENC1_control(IMGENC1_Handle handle, IMGENC1_Cmd id,
00173 IMGENC1_DynamicParams *params, IMGENC1_Status *status);
00174
00175
00176
00177
00178
00207 extern IMGENC1_Handle IMGENC1_create(Engine_Handle e, String name,
00208 IMGENC1_Params *params);
00209
00210
00211
00212
00213
00231 extern Void IMGENC1_delete(IMGENC1_Handle handle);
00232
00233
00234
00235
00236
00275 extern Int32 IMGENC1_process(IMGENC1_Handle handle, XDM1_BufDesc *inBufs,
00276 XDM1_BufDesc *outBufs, IMGENC1_InArgs *inArgs, IMGENC1_OutArgs *outArgs);
00277
00278
00279
00280
00281
00318 extern XDAS_Int32 IMGENC1_processAsync(IMGENC1_Handle handle,
00319 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00320 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs);
00321
00322
00323
00324
00325
00368 extern XDAS_Int32 IMGENC1_processWait(IMGENC1_Handle handle,
00369 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00370 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs, UInt timeout);
00371
00372
00375 #ifdef __cplusplus
00376 }
00377 #endif
00378
00379 #endif
00380
00381
00382
00383
00384