Lines Matching defs:Brightness
1558 * RT_SetBrightness (int Brightness) *
1560 * Inputs: int Brightness - the brightness value to be set. *
1563 _X_EXPORT void RT_SetBrightness (TheatrePtr t, int Brightness)
1566 if (Brightness < -1000)
1568 Brightness = -1000;
1570 else if (Brightness > 1000)
1572 Brightness = 1000;
1576 t->iBrightness = Brightness;
1577 t->dbBrightnessRatio = (double) (Brightness+1000.0) / 10.0;
1580 dsp_set_brightness(t, (uint8_t)((Brightness*255)/2000 + 128));