MMSVideoCtrl Class Reference
[Media playback (mmsmedia)]

Controls the video device. More...

#include <mmsvideoctrl.h>

List of all members.

Public Member Functions

 MMSVideoCtrl ()
 Constructor of class MMSVideoCtrl.
 ~MMSVideoCtrl ()
 Destructor of class MMSVideoCtrl.
DFBDisplayLayerDescription getDisplayLayerDescription ()
 Gets the description of the Display Layer.
DFBColorAdjustment getColorAdjustment ()
 Gets the color adjustment.
void adjustBrightness (unsigned val=0x8000)
 Sets the brightness.
void adjustContrast (unsigned val=0x8000)
 Sets the contrast.
void adjustHue (unsigned val=0x8000)
 Sets the hue.
void adjustSaturation (unsigned val=0x8000)
 Sets the saturation.

Private Attributes

IDirectFB * dfb
IDirectFBDisplayLayer * layer

Static Private Attributes

static DFBDisplayLayerDescription desc
static DFBColorAdjustment cadj

Detailed Description

Controls the video device.

Stefan Schwarzer (

Matthias Hardt (

Jens Schneider (

Guido Madaus (

Patrick Helterhoff (

René Bählkow (

This class controls global video output settings.

Definition at line 56 of file mmsvideoctrl.h.

Constructor & Destructor Documentation

MMSVideoCtrl::MMSVideoCtrl (  ) 

Constructor of class MMSVideoCtrl.

It initializes some DirectFB stuff.

Definition at line 49 of file mmsvideoctrl.cpp.

MMSVideoCtrl::~MMSVideoCtrl (  ) 

Destructor of class MMSVideoCtrl.

Definition at line 81 of file mmsvideoctrl.cpp.

Member Function Documentation

DFBDisplayLayerDescription MMSVideoCtrl::getDisplayLayerDescription (  ) 

Gets the description of the Display Layer.

Take a look at for the documentation of this structure.

Definition at line 99 of file mmsvideoctrl.cpp.

DFBColorAdjustment MMSVideoCtrl::getColorAdjustment (  ) 

Gets the color adjustment.

Take a look at for the documentation of this structure.

Definition at line 109 of file mmsvideoctrl.cpp.

void MMSVideoCtrl::adjustBrightness ( unsigned  val = 0x8000  ) 

Sets the brightness.

val [in] amount of brightness

Definition at line 118 of file mmsvideoctrl.cpp.

void MMSVideoCtrl::adjustContrast ( unsigned  val = 0x8000  ) 

Sets the contrast.

val [in] amount of contrast

Definition at line 134 of file mmsvideoctrl.cpp.

void MMSVideoCtrl::adjustHue ( unsigned  val = 0x8000  ) 

Sets the hue.

val [in] amount of hue

Definition at line 150 of file mmsvideoctrl.cpp.

void MMSVideoCtrl::adjustSaturation ( unsigned  val = 0x8000  ) 

Sets the saturation.

val [in] amount of saturation

Definition at line 166 of file mmsvideoctrl.cpp.

Member Data Documentation

IDirectFB* MMSVideoCtrl::dfb [private]

Definition at line 58 of file mmsvideoctrl.h.

IDirectFBDisplayLayer* MMSVideoCtrl::layer [private]

Definition at line 59 of file mmsvideoctrl.h.

DFBDisplayLayerDescription MMSVideoCtrl::desc [static, private]

Definition at line 60 of file mmsvideoctrl.h.

DFBColorAdjustment MMSVideoCtrl::cadj [static, private]

Definition at line 61 of file mmsvideoctrl.h.

The documentation for this class was generated from the following files: