openvideo::Buffer Class Reference
#include <State.h>
Inherited by openvideo::DSVLSrcBuffer, openvideo::ImageSrcBuffer, openvideo::TestSrcBuffer, openvideo::V4L2SrcBuffer, and openvideo::VideoWrapperSrcBuffer.
Public Member Functions | |
| Buffer () | |
| virtual | ~Buffer () |
| virtual const unsigned char * | getPixels () const |
| virtual int | getWidth () const |
| virtual int | getHeight () const |
| virtual PIXEL_FORMAT | getFormat () const |
| virtual int | getLockCounter () const |
| virtual void | lock () |
| virtual void | unlock () |
| virtual bool | isLocked () const |
| virtual unsigned int | getUpdateCounter () const |
Protected Attributes | |
| unsigned char * | buffer |
| int | lockCtr |
| unsigned int | updateCtr |
| ACE_Thread_Mutex * | mutex |
| int | width |
| int | height |
| PIXEL_FORMAT | format |
Constructor & Destructor Documentation
|
|
Definition at line 41 of file State.cxx. References format, openvideo::FORMAT_UNKNOWN, height, lockCtr, mutex, updateCtr, and width. |
|
|
Definition at line 51 of file State.cxx. References mutex. |
Member Function Documentation
|
|
|
|
|
Definition at line 66 of file State.h. References height. |
|
|
|
|
|
Definition at line 62 of file State.h. Referenced by openvideo::TestSrc::process(), openvideo::GL_TEXTURE_2D_Sink::process(), openvideo::DSVLSrc::process(), openvideo::V4L2Src::processImage(), and openvideo::GLUTSink::updateTexture(). |
|
|
Definition at line 78 of file State.h. Referenced by openvideo::GLUTSink::updateTexture(). |
|
|
Definition at line 64 of file State.h. References width. |
|
|
|
|
|
Definition at line 59 of file State.cxx. References lockCtr, and mutex. Referenced by openvideo::BufferSynchronizer::assign(), openvideo::BufferSynchronizer::getLocked(), and openvideo::GL_TEXTURE_2D_Sink::process(). |
|
|
Definition at line 68 of file State.cxx. References lockCtr, and mutex. Referenced by openvideo::BufferSynchronizer::assign(), openvideo::GL_TEXTURE_2D_Sink::process(), openvideo::GLUTSink::updateTexture(), and openvideo::BufferSynchronizer::~BufferSynchronizer(). |
Member Data Documentation
|
|
|
|
|
|
|
|
|
|
|
Definition at line 83 of file State.h. Referenced by Buffer(), openvideo::VideoWrapperSrcBuffer::getNewFrame(), openvideo::DSVLSrcBuffer::getNewFrame(), openvideo::V4L2SrcBuffer::incUpdateCounter(), openvideo::TestSrcBuffer::incUpdateCounter(), and openvideo::ImageSrcBuffer::setUpdateCtr(). |
|
The documentation for this class was generated from the following files:
