1 #ifndef AVI_ENCODE_H_
2 #define AVI_ENCODE_H_
3 
4 #ifndef SIMAGE_AVIENC_SUPPORT
5 #error "This file should not be used under the current configuration!"
6 #endif /* !SIMAGE_AVIENC_SUPPORT */
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 void * avi_begin_encode(const char *filename, int width, int height, int fps, const char *preferences_filename);
13 int avi_encode_bitmap(void *handle, unsigned char *buf, int rgb2bgr);
14 int avi_end_encode(void *handle);
15 
16 #ifdef __cplusplus
17 }
18 #endif
19 
20 
21 #endif /* AVI_ENCODE_H_ */
22 
23