dmColorSetBrightness(3dm) dmColorSetBrightness(3dm)
dmColorSetBrightness, dmColorGetBrightness - set/get brightness delta
value.
#include <dmedia/dm_color.h>
DMstatus dmColorSetBrightness (const DMcolorconverter converter,
const float brightness);
DMstatus dmColorGetBrightness (const DMcolorconverter converter,
float *brightness);
DMcolorconverter converter
The converter upon which the action is to be applied.
float brightness
The brightness delta value.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
Sets the brightness delta value. Brightness=0 implies no brightness
change (default). Useful range is [-1..+1] corresponding to
[black..white].
dmColorSetContrast(3dm) dmColorSetSaturation(3dm) dmColorSetHue(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|