Searched refs:hue (Results 1 - 19 of 19) sorted by relevance

/haiku/src/kits/shared/
H A DHSL.cpp22 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 DHSL.h13 float hue, saturation, lightness; member in struct:hsl_color
/haiku/src/add-ons/screen_savers/butterfly/
H A DButterfly.h24 inline rgb_color _HueToColor(float hue);
H A DButterfly.cpp95 // 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 DTheater100.h45 void SetHue(int hue);
78 void SetChromaLevels(theater_standard standard, int saturation, int hue);
H A DTheater200.h51 void SetHue(int hue);
128 void SetChromaLevels(theater_standard standard, int saturation, int hue);
H A DTheater.h68 virtual void SetHue(int hue) = 0;
H A DVideoIn.h108 void SetHue(int hue);
H A DTheater100.cpp201 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 DVideoIn.cpp263 void CVideoIn::SetHue(int hue) argument
267 fTheater->SetHue(hue);
H A DTheater200.cpp870 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 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);
H A DCamDevice.h69 virtual status_t SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue);
H A DCamDevice.cpp236 CamDevice::SetVideoParams(float brightness, float contrast, float hue, argument
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/sonix/
H A DSonixCamDevice.h81 virtual status_t SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue);
H A DSonixCamDevice.cpp504 SonixCamDevice::SetVideoParams(float brightness, float contrast, float hue, float red, float green, float blue) argument
/haiku/src/add-ons/accelerants/radeon/
H A Doverlay.c156 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 DUSB_video.h524 hue: 1,
561 hue: 1,

Completed in 171 milliseconds