#include <CzVideo.h>
List of all members.
Public Types |
| enum | eVideo_State { State_Invalid,
State_Loaded
} |
Public Member Functions |
| eVideo_State | getState () const |
| CzString & | getFilename () |
| void | setRepeatCount (int count) |
| int | getRepeatCount () const |
| CzIRect | getRect () const |
| void | setRect (int x, int y, int w, int h) |
| void | setRect (CzIRect &rect) |
| eCzVideoCodec | getCodec () const |
| void | setVolume (float volume) |
| float | getVolume () const |
| | CzVideo () |
| virtual | ~CzVideo () |
| bool | Init (const char *filename, bool preload, bool blocking, eCzVideoCodec codec) |
| bool | Init (char *video_data, uint32 video_data_len, eCzVideoCodec codec) |
| bool | Play () |
| bool | Load (bool blocking=true) |
| int | LoadFromXoml (IzXomlResource *parent, bool load_children, CzXmlNode *node) |
| virtual void | ProcessEventActions (unsigned int event_name) |
| | Process the event actions described by event_name.
|
| virtual void | NotifyStopped () |
| void | FinishLoad () |
Protected Attributes |
| char * | VideoData |
| | Raw video data.
|
| uint32 | VideoDataLen |
| | Length of raw video data.
|
| CzFile * | File |
| | File object (if video if file based)
|
Member Enumeration Documentation
- Enumerator:
| State_Invalid |
|
| State_Loaded |
|
Constructor & Destructor Documentation
Member Function Documentation
Process the event actions described by event_name.
Processes the actions list that is associated with the event named event_name (event_name is a hash of the actual event name to speed up searches)
- Parameters:
-
| event_name | Name of the event as a string hash |
Member Data Documentation
File object (if video if file based)
Length of raw video data.
The documentation for this class was generated from the following files: