Blender V2.61 - r43446
|
Go to the source code of this file.
Classes | |
class | VideoBase |
base class for video source More... | |
Enumerations | |
enum | VideoFormat { None, RGB24, YV12, RGBA32 } |
Functions | |
VideoBase * | getVideo (PyImage *self) |
template<class T > | |
void | Video_init (PyImage *self) |
void | Video_open (VideoBase *self, char *file, short captureID) |
PyObject * | Video_play (PyImage *self) |
PyObject * | Video_pause (PyImage *self) |
PyObject * | Video_stop (PyImage *self) |
PyObject * | Video_refresh (PyImage *self) |
PyObject * | Video_getStatus (PyImage *self, void *closure) |
PyObject * | Video_getRange (PyImage *self, void *closure) |
int | Video_setRange (PyImage *self, PyObject *value, void *closure) |
PyObject * | Video_getRepeat (PyImage *self, void *closure) |
int | Video_setRepeat (PyImage *self, PyObject *value, void *closure) |
PyObject * | Video_getFrameRate (PyImage *self, void *closure) |
int | Video_setFrameRate (PyImage *self, PyObject *value, void *closure) |
Variables | |
const int | SourceError = -1 |
const int | SourceEmpty = 0 |
const int | SourceReady = 1 |
const int | SourcePlaying = 2 |
const int | SourceStopped = 3 |
ExceptionID | SourceVideoCreation |
Definition in file VideoBase.h.
enum VideoFormat |
Definition at line 46 of file VideoBase.h.
Definition at line 167 of file VideoBase.h.
Referenced by Video_getFrameRate(), Video_getRange(), Video_getRepeat(), Video_getStatus(), Video_pause(), Video_play(), Video_refresh(), Video_setFrameRate(), Video_setRange(), Video_setRepeat(), and Video_stop().
PyObject* Video_getFrameRate | ( | PyImage * | self, |
void * | closure | ||
) |
Definition at line 188 of file VideoBase.cpp.
References getVideo().
PyObject* Video_getRange | ( | PyImage * | self, |
void * | closure | ||
) |
Definition at line 144 of file VideoBase.cpp.
References getVideo().
PyObject* Video_getRepeat | ( | PyImage * | self, |
void * | closure | ||
) |
Definition at line 169 of file VideoBase.cpp.
References getVideo().
PyObject* Video_getStatus | ( | PyImage * | self, |
void * | closure | ||
) |
void Video_init | ( | PyImage * | self | ) |
void Video_open | ( | VideoBase * | self, |
char * | file, | ||
short | captureID | ||
) |
Definition at line 105 of file VideoBase.cpp.
PyObject* Video_pause | ( | PyImage * | self | ) |
Definition at line 123 of file VideoBase.cpp.
References getVideo().
PyObject* Video_play | ( | PyImage * | self | ) |
Definition at line 119 of file VideoBase.cpp.
References getVideo().
PyObject* Video_refresh | ( | PyImage * | self | ) |
Definition at line 136 of file VideoBase.cpp.
References getVideo(), NULL, ImageBase::refresh(), and Video_getStatus().
int Video_setFrameRate | ( | PyImage * | self, |
PyObject * | value, | ||
void * | closure | ||
) |
Definition at line 192 of file VideoBase.cpp.
References getVideo(), NULL, and VideoBase::setFrameRate().
int Video_setRange | ( | PyImage * | self, |
PyObject * | value, | ||
void * | closure | ||
) |
Definition at line 151 of file VideoBase.cpp.
References getVideo(), NULL, and VideoBase::setRange().
int Video_setRepeat | ( | PyImage * | self, |
PyObject * | value, | ||
void * | closure | ||
) |
Definition at line 173 of file VideoBase.cpp.
References getVideo(), NULL, and VideoBase::setRepeat().
PyObject* Video_stop | ( | PyImage * | self | ) |
Definition at line 126 of file VideoBase.cpp.
References getVideo().
const int SourceEmpty = 0 |
Definition at line 39 of file VideoBase.h.
const int SourceError = -1 |
Definition at line 38 of file VideoBase.h.
const int SourcePlaying = 2 |
Definition at line 41 of file VideoBase.h.
Referenced by VideoBase::pause(), VideoBase::play(), and VideoBase::stop().
const int SourceReady = 1 |
Definition at line 40 of file VideoBase.h.
Referenced by VideoBase::openCam(), VideoBase::openFile(), and VideoBase::play().
const int SourceStopped = 3 |
Definition at line 42 of file VideoBase.h.
Referenced by VideoBase::pause(), VideoBase::play(), and VideoBase::stop().
Definition at line 100 of file VideoBase.cpp.