Functions | |
int | dec_init_xvid (void) |
Init the XviD decoder. | |
int | dec_stop_xvid (void) |
Stop the XviD decoder. | |
int | load_memory_jpg_ex (void *data, BITMAP *dest) |
Wrapper to load a jpeg frame from datafiles direct to a bitmap. | |
BITMAP * | load_memory_dat_xvid (void *data, RGB *pal) |
Function to handle the load of a XviD/DivX frame from datafiles. | |
int | load_memory_dat_xvid_ex (void *data, BITMAP *dest) |
Function to handle the load of a XviD/DivX frame from datafiles direct to a bitmap. | |
BITMAP * | load_memory_avi_xvid (void *data, RGB *pal) |
Function to handle the load of a XviD/DivX frame from avi files. | |
int | load_memory_avi_xvid_ex (void *data, BITMAP *dest) |
Function to handle the load of a XviD/DivX frame from avi files direct to a bitmap. | |
void | mjpga_pre_calc_pos (MJPGA_MOVIE *movie, int bmpw, int bmph, int x[MJPGAM_TOTAL_MODES], int y[MJPGAM_TOTAL_MODES], int w[MJPGAM_TOTAL_MODES], int h[MJPGAM_TOTAL_MODES]) |
Function to pre-calc the position and size for every possible display mode. | |
int | mjpga_is_mul_16 (int n) |
Function to say if the number is multiply by 16. |
|
Init the XviD decoder. This function will fill the decoder with the movie parameters. Also, select the color space to be decoded, based on the current color depth of the screen bitmap. Remember, don't use 8 bpp!
|
|
Stop the XviD decoder. This function just destroy dechandle
|
|
Function to handle the load of a XviD/DivX frame from avi files. Variable data is the memory to load, and pal will be the palette, only for compability with other Allegro functions (load_bitmap(), ...), because this variable don't change. The size of m4v is determined looking into property frame_video of AVI_MOVIE. The frame in the memory must be encoded with XviD or DivX. If you don't have these codecs, you can download it in DivX Digest.
|
|
Function to handle the load of a XviD/DivX frame from avi files direct to a bitmap. Variable data is the memory to load, and dest is the bitmap where the frame will be decoded. It can't be a sub-bitmap! The size of m4v is determined looking into property frame_video of AVI_MOVIE. The frame in the memory must be encoded with XviD or DivX. If you don't have these codecs, you can download it in DivX Digest.
|
|
Function to handle the load of a XviD/DivX frame from datafiles. Variable data is the memory to load, and pal will be the palette, only for compability with other Allegro functions (load_bitmap(), ...), because this variable don't change. The size of m4v is determined looking into the current object in datafile for the property size. The m4v in the memory must be encoded with XviD or DivX 5. If you don't have these codecs, you can download it in DivX Digest.
|
|
Function to handle the load of a XviD/DivX frame from datafiles direct to a bitmap. Variable data is the memory to load, and dest is the bitmap where the frame will be decoded. It can't be a sub-bitmap! The size of m4v is determined looking into the current object in datafile for the property size. The frame in the memory must be encoded with XviD or DivX. If you don't have these codecs, you can download it in DivX Digest.
|
|
Wrapper to load a jpeg frame from datafiles direct to a bitmap. Parameter data is the memory containing the jpeg, and dest is the destiny bitmap.
|
|
Function to say if the number is multiply by 16. This function is needed because (at least my) create_video_bitmap() uses always multiplies by 16. The parameter n is the number.
|
|
Function to pre-calc the position and size for every possible display mode. The parameter movie is a previously openned movie, bmpw and bmph are the bitmap width and height, respectively, and x[], y[], w[] and h[] are the places to store the positions and size for each mode.
|