OpenVideo Documentation

   Main Page       Modules       Class Hierarchy       Alphabetical List       Compound List       File List       Compound Members       Related Pages   

openvideo::PixelFormat Class Reference

#include <PixelFormat.h>

List of all members.

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

std::string openvideo::PixelFormat::FormatToString PIXEL_FORMAT  format  )  [static]
 

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().

PIXEL_FORMAT openvideo::PixelFormat::fromOGL int  format  )  [static]
 

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().

int openvideo::PixelFormat::getBitsPerPixel PIXEL_FORMAT  format  )  [static]
 

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().

PIXEL_FORMAT openvideo::PixelFormat::StringToFormat const std::string &  formatName  )  [static]
 

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().

bool openvideo::PixelFormat::toOGL PIXEL_FORMAT  format,
unsigned int &  oglFormat,
int &  oglInternalFormat
[static]
 

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:
 This page was generated at Wed May 31 13:04:18 2006 for OpenVideo by Doxygen.
 If you have any comments, please send a message to schmalstieg@icg.tu-graz.ac.at.
www.studierstube.org