videnc1.h
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_video1_VIDENC1_
00052 #define ti_sdo_ce_video1_VIDENC1_
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058 #include <ti/xdais/dm/xdm.h>
00059 #include <ti/xdais/dm/ividenc1.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
00068 typedef IVIDENC1_Status VIDENC1_Status;
00070 #define VIDENC1_EOK IVIDENC1_EOK
00071 #define VIDENC1_EFAIL IVIDENC1_EFAIL
00074 #define VIDENC1_EUNSUPPORTED IVIDENC1_EUNSUPPORTED
00075
00076 #define VIDENC1_ETIMEOUT VISA_ETIMEOUT
00077 #define VIDENC1_FOREVER VISA_FOREVER
00082 typedef VISA_Handle VIDENC1_Handle;
00083
00088 typedef struct IVIDENC1_Params VIDENC1_Params;
00089
00093 typedef IVIDENC1_InArgs VIDENC1_InArgs;
00094
00098 typedef IVIDENC1_OutArgs VIDENC1_OutArgs;
00099
00103 typedef IVIDENC1_Cmd VIDENC1_Cmd;
00104
00108 typedef IVIDENC1_DynamicParams VIDENC1_DynamicParams;
00109
00116 extern SKEL_Fxns VIDENC1_SKEL;
00117
00121 extern IVIDENC1_Fxns VIDENC1_STUBS;
00122
00126 typedef struct IVIDENC1_CodecClassConfig {
00127 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00128 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00129 } IVIDENC1_CodecClassConfig;
00130
00133
00134
00135
00160 extern VIDENC1_Handle VIDENC1_create(Engine_Handle e, String name,
00161 VIDENC1_Params *params);
00162
00163
00164
00165
00166
00204 extern Int32 VIDENC1_process(VIDENC1_Handle handle, IVIDEO1_BufDescIn *inBufs,
00205 XDM_BufDesc *outBufs, VIDENC1_InArgs *inArgs, VIDENC1_OutArgs *outArgs);
00206
00207
00208
00209
00210
00238 extern Int32 VIDENC1_control(VIDENC1_Handle handle, VIDENC1_Cmd id,
00239 VIDENC1_DynamicParams *params, VIDENC1_Status *status);
00240
00241
00242
00243
00244
00262 extern Void VIDENC1_delete(VIDENC1_Handle handle);
00263
00264
00265
00266
00303 extern XDAS_Int32 VIDENC1_processAsync(VIDENC1_Handle handle,
00304 IVIDEO1_BufDescIn *inBufs, XDM_BufDesc *outBufs,
00305 IVIDENC1_InArgs *inArgs, IVIDENC1_OutArgs *outArgs);
00306
00307
00308
00309
00352 extern XDAS_Int32 VIDENC1_processWait(VIDENC1_Handle handle,
00353 IVIDEO1_BufDescIn *inBufs, XDM_BufDesc *outBufs,
00354 IVIDENC1_InArgs *inArgs, IVIDENC1_OutArgs *outArgs, UInt timeout);
00355
00357
00358 #ifdef __cplusplus
00359 }
00360 #endif
00361
00362 #endif
00363
00364
00365
00366