#ifdef __cplusplus extern "C" { #endif #include #ifndef mmioFOURCC #define mmioFOURCC( ch0, ch1, ch2, ch3 ) \ ( (ch0&0xff) | ( (ch1&0xff) << 8 ) | \ ( (ch2&0xff) << 16 ) | ( (ch3&0xff) << 24 ) ) #endif #include #ifndef DYNAMIC_LOADING int avi_open(char *tplorg); int avi_close(); int avi_video_width(); int avi_video_height(); double avi_frame_rate(); double avi_timestamp(); double avi_pel_ratio(); char *avi_get_frame(unsigned int number); int avi_end_of_video(); int avi_check_sig(char *fname); unsigned int avi_outputtype(); #else int open_file(char *tplorg); int close_file(); int get_video_width(); int get_video_height(); double get_video_framerate(); char *avi_get_frame(unsigned int number); int eof_file(); int check_file(char *fname); unsigned int avi_outputtype(); #endif #ifdef __cplusplus } #endif