#include <nitro/vx.h>
VXHandle VX_OpenMovieFromFile ( FSFile *file,
u32 nbBufferedFrameMax,
u32 loopEnable);
Opens a VX movie from a file.
VX_Malloc is called inside this function.
file |
Already opened NITRO file handle. |
nbBufferedFrameMax |
Maximum number of frames who can be successively unpacked without been blitted or skipped. Default value is |
loopEnable |
VX_LOOP_ENABLE enables looping, VX_LOOP_DISABLE disables it. |
Return aVXHandleVXHandle value if ok,VX_INVALID_HANDLEif error. Cause of error : - impossible to Read VX header. - incompatible file format (typically, this is not a valid VX movie). - wrong movie resolution (it must not exceed 256x192). - not enough memory (allocation error).
VX_OpenMovieFromMemory
VX_CloseMovie
02/15/2006 Added information of VX_Malloc function use inside this function 10/26/2005 Initial Version