Inheritance diagram for vetFilterGeometric:

Public Member Functions | |
| vetFilterGeometric (vetFilterGeometricParameters *initParams=NULL) | |
| Default constructor, initialize parameters and superclasses. | |
| ~vetFilterGeometric () | |
| Default destructor, free buffer. | |
| float | getFrameRate () const |
| Read current frame rate (frame per second). | |
| VETRESULT | setParameters (vetFilterGeometricParameters *initParams) |
| Set parameters for this filter. | |
| vetFilterGeometricParameters & | getParameters () |
| Get parameters for this filter. | |
| VETRESULT | setFilterParameters (vetFilterParameters *initParams) |
| Set parameters for this filter. | |
| vetFilterParameters * | getFilterParameters () |
| Get parameters for this filter. | |
| VETRESULT | reset () |
| Reset buffers and parameters. | |
| VETRESULT | resize (vetFrameYUV420 &img, unsigned int dimX, unsigned int dimY) |
| Resize each frame to new dimension. | |
| VETRESULT | resize (vetFrameRGB24 &img, unsigned int dimX, unsigned int dimY) |
| VETRESULT | resize (vetFrameT< unsigned char > &img, unsigned int dimX, unsigned int dimY) |
| VETRESULT | resizeCanvas (vetFrameYUV420 &img, unsigned int newdimX, unsigned int newdimY) |
| Resize frames' canvas to new dimension, if smaller video will be cropped, if greater new pixels will be in VETDEF_PIXEL_COLOR. | |
| VETRESULT | resizeCanvas (vetFrameRGB24 &img, unsigned int newdimX, unsigned int newdimY) |
| VETRESULT | resizeCanvas (vetFrameT< unsigned char > &img, unsigned int newdimX, unsigned int newdimY) |
| VETRESULT | resizeCanvas (vetFrameYUV420 &img, unsigned int newdimX, unsigned int newdimY, unsigned char &valY, unsigned char &valU, unsigned char &valV) |
| Resize frames' canvas to new dimension, if smaller video will be cropped, if greater new pixels will be in VETDEF_PIXEL_COLOR. | |
| VETRESULT | resizeCanvas (vetFrameRGB24 &img, unsigned int newdimX, unsigned int newdimY, PixelRGB24 defaultColor) |
| VETRESULT | resizeCanvas (vetFrameT< unsigned char > &img, unsigned int newdimX, unsigned int newdimY, unsigned char &val1, unsigned char &val2, unsigned char &val3) |
| VETRESULT | rotate90 (vetFrameYUV420 &img) |
| Rotate each frame 90 degrees (right). [MultiThread]. | |
| VETRESULT | rotate90 (vetFrameRGB24 &img) |
| VETRESULT | rotate90 (vetFrameT< unsigned char > &img) |
| VETRESULT | rotate180 (vetFrameYUV420 &img) |
| Rotate each frame 180 degrees (right). [MultiThread]. | |
| VETRESULT | rotate180 (vetFrameRGB24 &img) |
| VETRESULT | rotate180 (vetFrameT< unsigned char > &img) |
| VETRESULT | rotate270 (vetFrameYUV420 &img) |
| Rotate each frame 270 degrees (right). [MultiThread]. | |
| VETRESULT | rotate270 (vetFrameRGB24 &img) |
| VETRESULT | rotate270 (vetFrameT< unsigned char > &img) |
| VETRESULT | rotate (vetFrameYUV420 &img, float alpha) |
| Rotate each frame on the right. [MultiThread]. | |
| VETRESULT | rotate (vetFrameRGB24 &img, float alpha) |
| VETRESULT | rotate (vetFrameT< unsigned char > &img, float alpha) |
| VETRESULT | flipHorizontal (vetFrameYUV420 &img) |
| Flip Horizontal each frame. [MultiThread]. | |
| VETRESULT | flipHorizontal (vetFrameRGB24 &img) |
| VETRESULT | flipHorizontal (vetFrameT< unsigned char > &img) |
| VETRESULT | flipVertical (vetFrameYUV420 &img) |
| Flip Vertical each frame. [MultiThread]. | |
| VETRESULT | flipVertical (vetFrameRGB24 &img) |
| VETRESULT | flipVertical (vetFrameT< unsigned char > &img) |
| VETRESULT | importFrom (vetFrameYUV420 &img) |
| Process the frame with current settings and store in buffer. | |
| VETRESULT | importFrom (vetFrameRGB24 &img) |
| Process the frame with current settings and store in buffer. | |
| VETRESULT | importFrom (vetFrameT< unsigned char > &img) |
| Process the frame with current settings and store in buffer. | |
Static Public Member Functions | |
| template<class T> | |
| static VETRESULT | rotate90 (vetFrameT< T > *src, vetFrameT< T > *dst, bool clockDir) |
| template<class T> | |
| static VETRESULT | rotate180 (vetFrameT< T > *src, vetFrameT< T > *dst) |
| template<class T> | |
| static VETRESULT | mirror (vetFrameT< T > *src, vetFrameT< T > *dst) |
| template<class T> | |
| static VETRESULT | flip (vetFrameT< T > *src, vetFrameT< T > *dst) |
Protected Attributes | |
| vetFilterGeometricParameters * | myParams |
| Current parameters. | |
Definition at line 86 of file vetFilterGeometric.h.
|
|
Default constructor, initialize parameters and superclasses.
Definition at line 25 of file vetFilterGeometric.cpp. References INFO, myParams, vetObject::setDescription(), vetObject::setName(), setParameters(), and vetObject::setVersion(). |
|
|
Flip Horizontal each frame. [MultiThread].
Definition at line 673 of file vetFilterGeometric.cpp. References vetFrame::height, INFO, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Flip Vertical each frame. [MultiThread].
Definition at line 706 of file vetFilterGeometric.cpp. References vetFrame::height, INFO, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Get parameters for this filter.
Implements vetFilter. Definition at line 160 of file vetFilterGeometric.h. References myParams. |
|
|
Read current frame rate (frame per second).
Reimplemented from vetInput. Definition at line 111 of file vetFilterGeometric.h. |
|
|
Get parameters for this filter.
Definition at line 132 of file vetFilterGeometric.h. References myParams. |
|
|
Process the frame with current settings and store in buffer.
Implements vetFilter. Definition at line 236 of file vetFilterGeometric.cpp. References vetFilter::bufferTuC, DEBUGMSG, flipHorizontal(), flipVertical(), vetFrameT< T >::height, vetFilter::isBufferTuC(), myParams, vetFilterGeometricParameters::par_ResizeHeight, vetFilterGeometricParameters::par_ResizeWidth, vetFilterGeometricParameters::par_Rotation, vetFrameT< T >::profile, resize(), resizeCanvas(), rotate(), rotate180(), rotate270(), rotate90(), vetFilterGeometricParameters::runMode, vetFilter::useBufferTuC(), VETRET_OK, VETRET_OK_DEPRECATED, VETRET_PARAM_ERR, and vetFrameT< T >::width. |
|
|
Process the frame with current settings and store in buffer.
Implements vetFilter. Definition at line 176 of file vetFilterGeometric.cpp. References vetFilter::bufferRGB, DEBUGMSG, flipHorizontal(), flipVertical(), vetFrame::height, vetFilter::isBufferRGB(), myParams, vetFilterGeometricParameters::par_ResizeHeight, vetFilterGeometricParameters::par_ResizeWidth, vetFilterGeometricParameters::par_Rotation, resize(), resizeCanvas(), rotate(), rotate180(), rotate270(), rotate90(), vetFilterGeometricParameters::runMode, vetFilter::useBufferRGB(), VETRET_OK, VETRET_OK_DEPRECATED, VETRET_PARAM_ERR, and vetFrame::width. |
|
|
Process the frame with current settings and store in buffer.
Implements vetFilter. Definition at line 118 of file vetFilterGeometric.cpp. References vetFilter::bufferYUV, DEBUGMSG, flipHorizontal(), flipVertical(), vetFrame::height, vetFilter::isBufferYUV(), myParams, vetFilterGeometricParameters::par_ResizeHeight, vetFilterGeometricParameters::par_ResizeWidth, vetFilterGeometricParameters::par_Rotation, resize(), resizeCanvas(), rotate(), rotate180(), rotate270(), rotate90(), vetFilterGeometricParameters::runMode, vetFilter::useBufferYUV(), VETRET_OK, VETRET_OK_DEPRECATED, VETRET_PARAM_ERR, and vetFrame::width. |
|
|
Reset buffers and parameters.
Implements vetFilter. Definition at line 56 of file vetFilterGeometric.cpp. References vetFilter::allocateBuffer(), vetFilterParameters::currentBuffer, INFO, myParams, vetFilter::releaseBuffers(), vetFilterGeometricParameters::reset(), setParameters(), and VETRET_OK. Referenced by setParameters(). |
|
||||||||||||||||
|
Resize each frame to new dimension.
Definition at line 296 of file vetFilterGeometric.cpp. References vetFilter::useBufferYUV(), and VETRET_NOT_IMPLEMENTED. Referenced by importFrom(). |
|
||||||||||||||||||||||||||||
|
Resize frames' canvas to new dimension, if smaller video will be cropped, if greater new pixels will be in VETDEF_PIXEL_COLOR.
Definition at line 351 of file vetFilterGeometric.cpp. References vetFilter::useBufferYUV(), and VETRET_NOT_IMPLEMENTED. |
|
||||||||||||||||
|
Resize frames' canvas to new dimension, if smaller video will be cropped, if greater new pixels will be in VETDEF_PIXEL_COLOR.
Definition at line 325 of file vetFilterGeometric.cpp. References vetFilter::useBufferYUV(), and VETRET_NOT_IMPLEMENTED. Referenced by importFrom(). |
|
||||||||||||
|
Rotate each frame on the right. [MultiThread].
Definition at line 511 of file vetFilterGeometric.cpp. References vetFrame::height, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Rotate each frame 180 degrees (right). [MultiThread].
Definition at line 448 of file vetFilterGeometric.cpp. References vetFrame::height, INFO, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Rotate each frame 270 degrees (right). [MultiThread].
Definition at line 479 of file vetFilterGeometric.cpp. References vetFrame::height, INFO, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Rotate each frame 90 degrees (right). [MultiThread].
Definition at line 384 of file vetFilterGeometric.cpp. References vetFrame::height, INFO, vetFilter::useBufferYUV(), VETRET_NOT_IMPLEMENTED, and vetFrame::width. Referenced by importFrom(). |
|
|
Set parameters for this filter.
Implements vetFilter. Definition at line 145 of file vetFilterGeometric.h. References setParameters(). |
|
|
Set parameters for this filter.
Definition at line 82 of file vetFilterGeometric.cpp. References vetFilter::allocateBuffer(), vetFilterParameters::currentBuffer, myParams, reset(), VETRET_OK, and VETRET_PARAM_ERR. Referenced by reset(), setFilterParameters(), and vetFilterGeometric(). |
1.4.4