#include <mmsvideoctrl.h>
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 |
This class controls global video output settings.
Definition at line 56 of file mmsvideoctrl.h.
MMSVideoCtrl::MMSVideoCtrl | ( | ) |
Constructor of class MMSVideoCtrl.
It initializes some DirectFB stuff.
Definition at line 49 of file mmsvideoctrl.cpp.
MMSVideoCtrl::~MMSVideoCtrl | ( | ) |
DFBDisplayLayerDescription MMSVideoCtrl::getDisplayLayerDescription | ( | ) |
Gets the description of the Display Layer.
Definition at line 99 of file mmsvideoctrl.cpp.
DFBColorAdjustment MMSVideoCtrl::getColorAdjustment | ( | ) |
Gets the color adjustment.
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 |
) |
void MMSVideoCtrl::adjustSaturation | ( | unsigned | val = 0x8000 |
) |
Sets the saturation.
val | [in] amount of saturation |
Definition at line 166 of file mmsvideoctrl.cpp.
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.