00001 00020 #ifndef INC_MI32_AVI_H 00021 #define INC_MI32_AVI_H 00022 00023 #ifndef INC_MI32_FILEPATH_H 00024 #include <mi32/filepath.h> 00025 #endif 00026 00027 /*----------------------------------------------------------------------------*/ 00028 /* Constants and structures */ 00029 /*----------------------------------------------------------------------------*/ 00030 00031 struct MAVIPARMENCODE { 00032 INT32 hsize; 00033 INT32 vsize; 00034 UINT8 frame_rate; 00035 }; 00036 00037 /*----------------------------------------------------------------------------*/ 00038 /* Macros and functions prototypes */ 00039 /*----------------------------------------------------------------------------*/ 00040 00041 #if defined(__cplusplus) 00042 extern "C" { 00043 #endif 00044 00048 int MaviEncodeIsAvailable (); 00049 00051 int MaviEncodeFrame ( 00052 void *handle, 00053 void *rgbdata 00054 ); 00055 00057 int MaviEncodeStart ( 00058 void **handle, 00059 const FILEPATH &filepath, 00060 MAVIPARMENCODE *parm 00061 ); 00062 00064 void MaviEncodeStop ( 00065 void **handle 00066 ); 00067 00068 #if defined(__cplusplus) 00069 } 00070 #endif 00071 00072 #endif
1.6.1