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
00088
00092 typedef VISA_Handle IMGENC1_Handle;
00093
00094
00095
00097 typedef struct IIMGENC1_Params IMGENC1_Params;
00098
00100 typedef IIMGENC1_InArgs IMGENC1_InArgs;
00101
00103 typedef IIMGENC1_OutArgs IMGENC1_OutArgs;
00104
00106 typedef IIMGENC1_Cmd IMGENC1_Cmd;
00107
00109 typedef IIMGENC1_DynamicParams IMGENC1_DynamicParams;
00110
00112 typedef IIMGENC1_Status IMGENC1_Status;
00113
00120 extern SKEL_Fxns IMGENC1_SKEL;
00121
00125 extern IIMGENC1_Fxns IMGENC1_STUBS;
00126
00132 typedef struct IIMGENC1_CodecClassConfig {
00133 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00134 Bool manageOutBufsCache[ XDM_MAX_IO_BUFFERS ];
00135 } IIMGENC1_CodecClassConfig;
00136
00137
00138
00139
00140
00141
00165 extern Int32 IMGENC1_control(IMGENC1_Handle handle, IMGENC1_Cmd id,
00166 IMGENC1_DynamicParams *params, IMGENC1_Status *status);
00167
00168
00169
00170
00171
00200 extern IMGENC1_Handle IMGENC1_create(Engine_Handle e, String name,
00201 IMGENC1_Params *params);
00202
00203
00204
00205
00206
00224 extern Void IMGENC1_delete(IMGENC1_Handle handle);
00225
00226
00227
00228
00229
00268 extern Int32 IMGENC1_process(IMGENC1_Handle handle, XDM1_BufDesc *inBufs,
00269 XDM1_BufDesc *outBufs, IMGENC1_InArgs *inArgs, IMGENC1_OutArgs *outArgs);
00270
00271
00272
00273
00274
00311 extern XDAS_Int32 IMGENC1_processAsync(IMGENC1_Handle handle,
00312 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00313 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs);
00314
00315
00316
00317
00318
00361 extern XDAS_Int32 IMGENC1_processWait(IMGENC1_Handle handle,
00362 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs,
00363 IIMGENC1_InArgs *inArgs, IIMGENC1_OutArgs *outArgs, UInt timeout);
00364
00365
00368 #ifdef __cplusplus
00369 }
00370 #endif
00371
00372 #endif
00373
00374
00375
00376
00377