openvideo::PixelFormat Class Reference
#include <PixelFormat.h>
Static Public Member Functions | |
| static PIXEL_FORMAT | StringToFormat (const std::string &formatName) |
| static std::string | FormatToString (PIXEL_FORMAT format) |
| static PIXEL_FORMAT | fromOGL (int format) |
| static bool | toOGL (PIXEL_FORMAT format, unsigned int &oglFormat, int &oglInternalFormat) |
| static int | getBitsPerPixel (PIXEL_FORMAT format) |
Member Function Documentation
|
|
Definition at line 100 of file PixelFormat.cxx. References openvideo::FORMAT_UNKNOWN, and openvideo::formatNames. Referenced by openvideo::GLUTSink::init(), openvideo::GL_TEXTURE_2D_Sink::init(), openvideo::DSVLSrc::init(), and openvideo::V4L2Src::setParameter(). |
|
|
Definition at line 135 of file PixelFormat.cxx. References openvideo::FORMAT_B8G8R8, openvideo::FORMAT_B8G8R8X8, openvideo::FORMAT_L8, openvideo::FORMAT_R8G8B8, openvideo::FORMAT_R8G8B8X8, and openvideo::FORMAT_UNKNOWN. Referenced by openvideo::VideoWrapperSrc::init(). |
|
|
Definition at line 110 of file PixelFormat.cxx. References openvideo::FORMAT_B8G8R8, openvideo::FORMAT_B8G8R8X8, openvideo::FORMAT_L8, openvideo::FORMAT_R5G6B5, openvideo::FORMAT_R8G8B8, and openvideo::FORMAT_R8G8B8X8. Referenced by openvideo::DSVLSrcBuffer::copyImage(), openvideo::DSVLSrcBuffer::flipImage(), and openvideo::VideoWrapperSrcBuffer::VideoWrapperSrcBuffer(). |
|
|
Definition at line 85 of file PixelFormat.cxx. References openvideo::fillStringFormatMap(), openvideo::FORMAT_UNKNOWN, and openvideo::stringFormatMap. Referenced by openvideo::V4L2Src::setParameter(), and openvideo::Node::setParameter(). |
|
||||||||||||||||
|
Definition at line 156 of file PixelFormat.cxx. References openvideo::FORMAT_B8G8R8, openvideo::FORMAT_B8G8R8X8, openvideo::FORMAT_L8, openvideo::FORMAT_R8G8B8, and openvideo::FORMAT_R8G8B8X8. |
The documentation for this class was generated from the following files:
