Functions | |
int | play_movie_dat (BITMAP *bmp, int(*callback)()) |
Play a movie from a datafile. | |
int | open_movie_dat (AL_CONST char *file) |
Function to open a datafile. | |
void | close_movie_dat (void) |
Close the datafile and free the memory. | |
int | update_movie_frame_dat (void) |
Jump to current frame in a datafile. |
|
Close the datafile and free the memory. After close_movie() determines the type of the movie is a datafile, this function is called. It will call unload_datafile() to destroy the datafile, and free the memory allocated to XviD interface.
|
|
Function to open a datafile. If the extension of file is .dat, this function is called. It will open the datafile, search for the subtype of the movie (jpg or m4v), search the sample and search for a object of type 'INFO', with information about dimensions of frame, fps, description, etc. Because version 1.0 don't have the width and the height of the frames, if these variables aren't presents, the function tries to determine the dimensions of the frame using load_memory_jpeg().
|
|
Play a movie from a datafile. 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 a datafile. 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 a datafile. Call this for change to actual movie frame, if the movie is in a datafile.
|