Searched refs:brightness (Results 1 - 25 of 51) sorted by relevance

123

/haiku/src/servers/app/
H A DScreenConfigurations.h23 float brightness; member in struct:screen_configuration
41 void SetBrightness(int32 id, float brightness);
H A DScreenConfigurations.cpp147 ScreenConfigurations::SetBrightness(int32 id, float brightness) argument
151 configuration->brightness = brightness;
164 return configuration->brightness;
209 screenSettings.AddFloat("brightness", configuration->brightness);
270 if (stored.FindFloat("brightness", &configuration->brightness) != B_OK)
271 configuration->brightness = 1.0f;
/haiku/src/add-ons/accelerants/radeon_hd/
H A Daccelerant_protos.h41 //brightness
42 status_t radeon_set_brightness(float brightness);
43 status_t radeon_get_brightness(float* brightness);
H A Dmode.cpp461 radeon_set_brightness(float brightness) argument
463 TRACE("%s (%f)\n", __func__, brightness);
465 if (brightness < 0 || brightness > 1)
469 uint8_t brightnessRaw = (uint8_t)ceilf(brightness * 255);
471 TRACE("brightness level = %lx\n", level);
475 TRACE("new brightness level = %lx\n", level);
497 radeon_get_brightness(float* brightness) argument
501 if (brightness == NULL)
507 *brightness
[all...]
/haiku/src/bin/screenmode/
H A Dscreenmode.cpp28 {"brightness", required_argument, 0, 'b'},
100 " -b --brightness f\tset brightness (range 0 to 1).\n"
101 " -b --brightness +/-f\tchange brightness by given amount.\n"
126 float brightness = std::nanf("0"); local
158 brightness = atof(optarg);
247 if (!isnan(brightness)) {
252 brightness = previousBrightness + brightness;
[all...]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DTheater100.h39 void SetBrightness(int brightness);
74 void SetLuminanceLevels(theater_standard standard, int brightness, int contrast);
H A DTheater200.h45 void SetBrightness(int brightness);
123 void SetLuminanceLevels(theater_standard standard, int brightness, int contrast);
H A DTheater.h62 virtual void SetBrightness(int brightness) = 0;
H A DVideoIn.h102 void SetBrightness(int brightness);
/haiku/headers/os/interface/
H A DScreen.h85 status_t GetBrightness(float* brightness);
86 status_t SetBrightness(float brightness);
/haiku/src/kits/interface/
H A DScreen.cpp337 BScreen::GetBrightness(float* brightness) argument
340 return fScreen->GetBrightness(brightness);
346 BScreen::SetBrightness(float brightness) argument
349 return fScreen->SetBrightness(brightness);
H A DPrivateScreen.cpp682 BPrivateScreen::GetBrightness(float* brightness) argument
684 if (brightness == NULL)
693 link.Read<float>(brightness);
700 BPrivateScreen::SetBrightness(float brightness) argument
705 link.Attach<float>(brightness);
/haiku/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp82 const uint32 brightness = 0; local
84 OUTREG(R128_OV0_COLOUR_CNTL, brightness | saturation << 8
H A Dmach64_overlay.cpp72 const uint32 brightness = 0; local
76 OUTREG(SCALER_COLOUR_CNTL, brightness | saturation << 8
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant_protos.h40 status_t intel_set_brightness(float brightness);
41 status_t intel_get_brightness(float* brightness);
H A Dmode.cpp607 intel_set_brightness(float brightness) argument
611 if (brightness < 0 || brightness > 1)
615 // period = maximum brightness).
624 uint32_t duty = (uint32_t)(period * brightness);
631 uint32_t duty = (uint32_t)(period * brightness) & 0xffff;
659 uint32_t duty = (uint32_t)(period * brightness);
683 intel_get_brightness(float* brightness) argument
687 if (brightness == NULL)
721 *brightness
[all...]
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamSensor.cpp97 CamSensor::SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue) argument
H A DCamSensor.h41 virtual status_t SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue);
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Ddac2.c71 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/
72 status_t eng_dac2_mode(int mode,float brightness) argument
82 LOG(4,("DAC2: Setting screen mode %d brightness %f\n", mode, brightness));
83 /* init the palette for brightness specified */
87 ri = i * brightness;
H A Ddac.c63 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/
64 status_t eng_dac_mode(int mode,float brightness) argument
74 LOG(4,("DAC: Setting screen mode %d brightness %f\n", mode, brightness));
75 /* init the palette for brightness specified */
79 ri = i * brightness;
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_dac.c10 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/
11 status_t nm_dac_mode(int mode,float brightness) argument
21 LOG(4,("DAC: Setting screen mode %d brightness %f\n", mode, brightness));
22 /*init a basic palette for brightness specified*/
25 int ri = i * brightness;
35 LOG(8,("DAC: 8bit mode is indexed by OS, aborting brightness setup.\n"));
39 LOG(8,("DAC: 24bit mode is a direct mode, aborting brightness setup.\n"));
/haiku/src/add-ons/accelerants/via/engine/
H A Ddac2.c71 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/
72 status_t eng_dac2_mode(int mode,float brightness) argument
82 LOG(4,("DAC2: Setting screen mode %d brightness %f\n", mode, brightness));
83 /* init the palette for brightness specified */
87 ri = i * brightness;
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_dac2.c82 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/
83 status_t nv_dac2_mode(int mode,float brightness) argument
93 LOG(4,("DAC2: Setting screen mode %d brightness %f\n", mode, brightness));
94 /* init the palette for brightness specified */
98 ri = i * brightness;
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.h262 float brightness, uint32 flags = 0, uint32 borders = B_ALL_BORDERS);
267 float brightness = 1.0, uint32 flags = 0, uint32 borders = B_ALL_BORDERS);
273 float brightness, uint32 flags);
275 float brightness, uint32 flags);
/haiku/headers/os/add-ons/graphics/
H A DAccelerant.h310 typedef status_t (*set_brightness)(float brightness);
311 typedef status_t (*get_brightness)(float* brightness);

Completed in 102 milliseconds

123