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_video1_VIDENC1_
00053 #define ti_sdo_ce_video1_VIDENC1_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059 #include <ti/xdais/dm/xdm.h>
00060 #include <ti/xdais/dm/ividenc1.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 VIDENC1_EOK IVIDENC1_EOK
00070 #define VIDENC1_EFAIL IVIDENC1_EFAIL
00073 #define VIDENC1_EUNSUPPORTED IVIDENC1_EUNSUPPORTED
00074
00075 #define VIDENC1_ETIMEOUT VISA_ETIMEOUT
00076 #define VIDENC1_FOREVER VISA_FOREVER
00081 #define VIDENC1_VISATYPE "ti.sdo.ce.video1.IVIDENC1"
00082
00083
00087 typedef VISA_Handle VIDENC1_Handle;
00088
00089
00090
00092 typedef struct IVIDENC1_Params VIDENC1_Params;
00093
00095 typedef IVIDENC1_InArgs VIDENC1_InArgs;
00096
00098 typedef IVIDENC1_OutArgs VIDENC1_OutArgs;
00099
00101 typedef IVIDENC1_Cmd VIDENC1_Cmd;
00102
00104 typedef IVIDENC1_DynamicParams VIDENC1_DynamicParams;
00105
00107 typedef IVIDENC1_Status VIDENC1_Status;
00108
00115 extern SKEL_Fxns VIDENC1_SKEL;
00116
00120 extern IVIDENC1_Fxns VIDENC1_STUBS;
00121
00129 typedef struct IVIDENC1_CodecClassConfig {
00130 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00131 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00132 } IVIDENC1_CodecClassConfig;
00133
00134
00135
00136
00165 extern Int32 VIDENC1_control(VIDENC1_Handle handle, VIDENC1_Cmd id,
00166 VIDENC1_DynamicParams *params, VIDENC1_Status *status);
00167
00168
00169
00170
00171
00200 extern VIDENC1_Handle VIDENC1_create(Engine_Handle e, String name,
00201 VIDENC1_Params *params);
00202
00203
00204
00205
00206
00224 extern Void VIDENC1_delete(VIDENC1_Handle handle);
00225
00226
00227
00228
00229
00275 extern Int32 VIDENC1_process(VIDENC1_Handle handle, IVIDEO1_BufDescIn *inBufs,
00276 XDM_BufDesc *outBufs, VIDENC1_InArgs *inArgs, VIDENC1_OutArgs *outArgs);
00277
00278
00279
00280
00281
00318 extern XDAS_Int32 VIDENC1_processAsync(VIDENC1_Handle handle,
00319 IVIDEO1_BufDescIn *inBufs, XDM_BufDesc *outBufs,
00320 IVIDENC1_InArgs *inArgs, IVIDENC1_OutArgs *outArgs);
00321
00322
00323
00324
00325
00368 extern XDAS_Int32 VIDENC1_processWait(VIDENC1_Handle handle,
00369 IVIDEO1_BufDescIn *inBufs, XDM_BufDesc *outBufs,
00370 IVIDENC1_InArgs *inArgs, IVIDENC1_OutArgs *outArgs, UInt timeout);
00371
00372
00375 #ifdef __cplusplus
00376 }
00377 #endif
00378
00379 #endif
00380
00381
00382
00383
00384