Functions | |
int | play_movie_avi (BITMAP *bmp, int(*callback)()) |
Play a movie from an avi file. | |
int | open_movie_avi (AL_CONST char *file) |
Function to open an avi. | |
void | close_movie_avi (void) |
Close the avi file and free the memory. | |
int | update_movie_frame_avi (void) |
Jump to current frame in the avi file. |
|
Close the avi file and free the memory. After close_movie() determines the type of the movie is a avi file, this function is called. It will call avi_destroy() to destroy the datafile, and free the memory allocated to XviD interface.
|
|
Function to open an avi. If the extension of file is .avi, this function is called. It will open the avi file, and check if the video codec are supported. If supported, add the codec to the subtype of the movie. It supports video encoded with XviD/DivX.
|
|
Play a movie from an avi file. This function is like play_fli(). The movie has been previously opened with open_movie(), and this function is called if the movie is in an avi file. The bmp is the destination bitmap, and callback, if not NULL, will be called every time during the execution of the movie. If callback returns non zero, the movie stops.
|
|
Jump to current frame in the avi file. Call this for change to actual movie frame, if the movie is in a avi file.
|