/haiku/src/servers/app/ |
H A D | ScreenConfigurations.h | 23 float brightness; member in struct:screen_configuration 41 void SetBrightness(int32 id, float brightness);
|
H A D | ScreenConfigurations.cpp | 147 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 D | accelerant_protos.h | 41 //brightness 42 status_t radeon_set_brightness(float brightness); 43 status_t radeon_get_brightness(float* brightness);
|
H A D | mode.cpp | 461 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 D | screenmode.cpp | 28 {"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 D | Theater100.h | 39 void SetBrightness(int brightness); 74 void SetLuminanceLevels(theater_standard standard, int brightness, int contrast);
|
H A D | Theater200.h | 45 void SetBrightness(int brightness); 123 void SetLuminanceLevels(theater_standard standard, int brightness, int contrast);
|
H A D | Theater.h | 62 virtual void SetBrightness(int brightness) = 0;
|
H A D | VideoIn.h | 102 void SetBrightness(int brightness);
|
/haiku/headers/os/interface/ |
H A D | Screen.h | 85 status_t GetBrightness(float* brightness); 86 status_t SetBrightness(float brightness);
|
/haiku/src/kits/interface/ |
H A D | Screen.cpp | 337 BScreen::GetBrightness(float* brightness) argument 340 return fScreen->GetBrightness(brightness); 346 BScreen::SetBrightness(float brightness) argument 349 return fScreen->SetBrightness(brightness);
|
H A D | PrivateScreen.cpp | 682 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 D | rage128_overlay.cpp | 82 const uint32 brightness = 0; local 84 OUTREG(R128_OV0_COLOUR_CNTL, brightness | saturation << 8
|
H A D | mach64_overlay.cpp | 72 const uint32 brightness = 0; local 76 OUTREG(SCALER_COLOUR_CNTL, brightness | saturation << 8
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | accelerant_protos.h | 40 status_t intel_set_brightness(float brightness); 41 status_t intel_get_brightness(float* brightness);
|
H A D | mode.cpp | 607 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 D | CamSensor.cpp | 97 CamSensor::SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue) argument
|
H A D | CamSensor.h | 41 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 D | dac2.c | 71 /*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 D | dac.c | 63 /*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 D | nm_dac.c | 10 /*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 D | dac2.c | 71 /*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 D | nv_dac2.c | 82 /*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 D | FlatControlLook.h | 262 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 D | Accelerant.h | 310 typedef status_t (*set_brightness)(float brightness); 311 typedef status_t (*get_brightness)(float* brightness);
|