![]() |
Blender V2.61 - r43446
|
Go to the source code of this file.
Classes | |
| struct | PyFilter |
| class | FilterBase |
| base class for pixel filters More... | |
Defines | |
| #define | VT_C(v, idx) ((unsigned char*)&v)[idx] |
| #define | VT_R(v) ((unsigned char*)&v)[0] |
| #define | VT_G(v) ((unsigned char*)&v)[1] |
| #define | VT_B(v) ((unsigned char*)&v)[2] |
| #define | VT_A(v) ((unsigned char*)&v)[3] |
| #define | VT_RGBA(v, r, g, b, a) VT_R(v)=(unsigned char)r, VT_G(v)=(unsigned char)g, VT_B(v)=(unsigned char)b, VT_A(v)=(unsigned char)a |
Functions | |
| template<class T > | |
| static int | Filter_init (PyObject *pySelf, PyObject *args, PyObject *kwds) |
| PyObject * | Filter_allocNew (PyTypeObject *type, PyObject *args, PyObject *kwds) |
| void | Filter_dealloc (PyFilter *self) |
| PyObject * | Filter_getPrevious (PyFilter *self, void *closure) |
| int | Filter_setPrevious (PyFilter *self, PyObject *value, void *closure) |
Variables | |
| PyTypeList | pyFilterTypes |
Definition in file FilterBase.h.
| #define VT_A | ( | v | ) | ((unsigned char*)&v)[3] |
Definition at line 40 of file FilterBase.h.
Referenced by FilterColor::calcColor(), and FilterBlueScreen::tFilter().
| #define VT_B | ( | v | ) | ((unsigned char*)&v)[2] |
Definition at line 39 of file FilterBase.h.
Referenced by FilterColor::calcColor(), FilterBlueScreen::tFilter(), and FilterGray::tFilter().
| #define VT_C | ( | v, | |
| idx | |||
| ) | ((unsigned char*)&v)[idx] |
Definition at line 36 of file FilterBase.h.
Referenced by FilterLevel::calcColor(), and FilterNormal::tFilter().
| #define VT_G | ( | v | ) | ((unsigned char*)&v)[1] |
Definition at line 38 of file FilterBase.h.
Referenced by FilterColor::calcColor(), FilterBlueScreen::tFilter(), and FilterGray::tFilter().
| #define VT_R | ( | v | ) | ((unsigned char*)&v)[0] |
Definition at line 37 of file FilterBase.h.
Referenced by FilterColor::calcColor(), FilterBlueScreen::tFilter(), and FilterGray::tFilter().
| #define VT_RGBA | ( | v, | |
| r, | |||
| g, | |||
| b, | |||
| a | |||
| ) | VT_R(v)=(unsigned char)r, VT_G(v)=(unsigned char)g, VT_B(v)=(unsigned char)b, VT_A(v)=(unsigned char)a |
Definition at line 41 of file FilterBase.h.
Referenced by FilterRGBA32::filter(), FilterBGR24::filter(), FilterRGB24::filter(), FilterYV12::filter(), FilterColor::tFilter(), FilterNormal::tFilter(), and FilterLevel::tFilter().
| PyObject* Filter_allocNew | ( | PyTypeObject * | type, |
| PyObject * | args, | ||
| PyObject * | kwds | ||
| ) |
Definition at line 93 of file FilterBase.cpp.
References PyFilter::m_filter, and NULL.
| void Filter_dealloc | ( | PyFilter * | self | ) |
Definition at line 104 of file FilterBase.cpp.
References NULL.
| PyObject* Filter_getPrevious | ( | PyFilter * | self, |
| void * | closure | ||
| ) |
Definition at line 117 of file FilterBase.cpp.
References NULL.
| static int Filter_init | ( | PyObject * | pySelf, |
| PyObject * | args, | ||
| PyObject * | kwds | ||
| ) | [static] |
Definition at line 121 of file FilterBase.h.
References PyFilter::m_filter, NULL, and T.
| int Filter_setPrevious | ( | PyFilter * | self, |
| PyObject * | value, | ||
| void * | closure | ||
| ) |
Definition at line 138 of file FilterBase.cpp.
References PyTypeList::in(), and NULL.
Definition at line 85 of file FilterBase.cpp.
Referenced by Image_setFilter(), initVideoTexture(), and registerAllTypes().