/haiku/src/kits/shared/ |
H A D | HSL.cpp | 22 result.hue = result.saturation = result.lightness = (max + min) / 2; 26 result.hue = result.saturation = 0; 33 result.hue = (g - b) / diff + (g < b ? 6 : 0); 35 result.hue = (b - r) / diff + 2; 37 result.hue = (r - g) / diff + 4; 39 result.hue /= 6; 59 result.red = uint8(hue_to_rgb(p, q, hue + 1./3) * 255); 60 result.green = uint8(hue_to_rgb(p, q, hue) * 255); 61 result.blue = uint8(hue_to_rgb(p, q, hue - 1./3) * 255);
|
/haiku/headers/private/shared/ |
H A D | HSL.h | 13 float hue, saturation, lightness; member in struct:hsl_color
|
/haiku/src/add-ons/screen_savers/butterfly/ |
H A D | Butterfly.h | 24 inline rgb_color _HueToColor(float hue);
|
H A D | Butterfly.cpp | 95 // create a color from a hue of (fBase * 15) degrees 120 //! Convert from a hue in degrees to a fully saturated color 122 Butterfly::_HueToColor(float hue) argument 125 int h = static_cast<int>(fmodf(hue, 360) * 4.25f);
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Theater100.h | 45 void SetHue(int hue); 78 void SetChromaLevels(theater_standard standard, int saturation, int hue);
|
H A D | Theater200.h | 51 void SetHue(int hue); 128 void SetChromaLevels(theater_standard standard, int saturation, int hue);
|
H A D | Theater.h | 68 virtual void SetHue(int hue) = 0;
|
H A D | VideoIn.h | 108 void SetHue(int hue);
|
H A D | Theater100.cpp | 201 void CTheater100::SetHue(int hue) argument 203 PRINT(("CTheater100::SetHue(%d)\n", hue)); 205 fHue = hue; 1120 // set colour saturation and hue. 1121 // hue makes sense for NTSC only and seems to act as saturation for PAL 1122 void CTheater100::SetChromaLevels(theater_standard standard, int saturation, int hue) argument 1171 if (hue >= 0) 1172 hue = (256 * hue) / 360; 1174 hue [all...] |
H A D | VideoIn.cpp | 263 void CVideoIn::SetHue(int hue) argument 267 fTheater->SetHue(hue);
|
H A D | Theater200.cpp | 870 void CTheater200::SetHue(int hue) argument 872 PRINT(("CTheater200::SetHue(%d)\n", hue)); 874 fHue = hue; 1031 // set colour saturation and hue. 1032 // hue makes sense for NTSC only and seems to act as saturation for PAL 1033 void CTheater200::SetChromaLevels(theater_standard standard, int saturation, int hue) argument 1040 fb_scratch0 = ((hue << 8) & 0xff00) | (75 & 0xff); 1048 PRINT(("dsp_set_tint: %x\n", hue));
|
/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);
|
H A D | CamDevice.h | 69 virtual status_t SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue);
|
H A D | CamDevice.cpp | 236 CamDevice::SetVideoParams(float brightness, float contrast, float hue, argument
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/ |
H A D | SonixCamDevice.h | 81 virtual status_t SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue);
|
H A D | SonixCamDevice.cpp | 504 SonixCamDevice::SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue) argument
|
/haiku/src/add-ons/accelerants/radeon/ |
H A D | overlay.c | 156 float hue, 211 OvHueSin = sin(hue); 212 OvHueCos = cos(hue); 1072 float hue = 0.0f; local 1126 Radeon_SetTransform( ai, brightness, contrast, saturation, hue, 0, 0, 0, ref ); 151 Radeon_SetTransform( accelerator_info *ai, float bright, float cont, float sat, float hue, float red_intensity, float green_intensity, float blue_intensity, uint ref) argument
|
/haiku/headers/os/drivers/usb/ |
H A D | USB_video.h | 524 hue: 1, 561 hue: 1,
|