#include <nitro/vx.h>
VXHandle VX_OpenMovieFromMemory ( void* mem_p,
u32 size,
u32 nbBufferedFrameMax,
u32 loopEnable );
Opens a VX movie from a memory location.
VX_Malloc is called inside this function.
mem_p |
Pointer where the movie resides. |
size |
Size in bytes of the movie pointed by mem_p. |
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 aVXHandlevalue 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_OpenMovieFromFile
VX_CloseMovie
02/15/2006 Added information of VX_Malloc function use inside this function 10/26/2005 Initial Version