Searched refs:saturation (Results 1 - 17 of 17) sorted by relevance

/haiku/headers/private/shared/
H A DHSL.h13 float hue, saturation, lightness; member in struct:hsl_color
/haiku/src/kits/shared/
H A DHSL.cpp22 result.hue = result.saturation = result.lightness = (max + min) / 2;
26 result.hue = result.saturation = 0;
29 result.saturation
52 if (saturation == 0) {
56 float q = lightness < 0.5 ? (lightness * (1 + saturation))
57 : (lightness + saturation - lightness * saturation);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DTheater100.h43 void SetSaturation(int saturation);
78 void SetChromaLevels(theater_standard standard, int saturation, int hue);
H A DTheater200.h49 void SetSaturation(int saturation);
128 void SetChromaLevels(theater_standard standard, int saturation, int hue);
H A DTheater.h66 virtual void SetSaturation(int saturation) = 0;
H A DVideoIn.h106 void SetSaturation(int saturation);
H A DVideoIn.cpp256 void CVideoIn::SetSaturation(int saturation) argument
260 fTheater->SetSaturation(saturation);
H A DTheater200.cpp862 void CTheater200::SetSaturation(int saturation) argument
864 PRINT(("CTheater200::SetSaturation(%d)\n", saturation));
866 fSaturation = saturation;
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
1044 fb_scratch0 = ((saturation << 8) & 0xff00) | (69 & 0xff);
1047 PRINT(("dsp_set_saturation: %x\n", saturation));
H A DTheater100.cpp193 void CTheater100::SetSaturation(int saturation) argument
195 PRINT(("CTheater100::SetSaturation(%d)\n", saturation));
197 fSaturation = saturation;
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
1163 if (saturation >= 0)
1164 gain = 1.0 + 4.9 * saturation / 100.0;
1166 gain = 1.0 + saturation / 100.0;
/haiku/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp83 const uint32 saturation = 16; local
84 OUTREG(R128_OV0_COLOUR_CNTL, brightness | saturation << 8
85 | saturation << 16);
H A Dmach64_overlay.cpp73 const uint32 saturation = 12; local
76 OUTREG(SCALER_COLOUR_CNTL, brightness | saturation << 8
77 | saturation << 16);
/haiku/src/preferences/appearance/
H A DAPRView.cpp372 controlHighlight.saturation = max_c(0.2f, controlHighlight.saturation / 2.f);
376 controlMark.saturation = max_c(0.2f, controlMark.saturation * 0.67f);
398 = tabColorHSL.saturation != 0 ? tabColorHSL.saturation : tabColorHSL.lightness;
409 success.saturation = max_c(0.25f, tabColorSaturation * 0.68f);
413 failure.saturation = max_c(0.25f, tabColorSaturation);
/haiku/headers/libs/agg/
H A Dagg_line_aa_basics.h76 return saturation<line_max_coord>::iround(x * line_subpixel_scale);
H A Dagg_rasterizer_sl_clip.h48 return saturation<poly_max_coord>::iround(a * b / c);
54 return saturation<poly_max_coord>::iround(v * poly_subpixel_scale);
H A Dagg_basics.h215 //---------------------------------------------------------------saturation
216 template<int Limit> struct saturation struct in namespace:agg
/haiku/headers/os/drivers/usb/
H A DUSB_video.h525 saturation: 1,
562 saturation: 1,
/haiku/src/add-ons/accelerants/radeon/
H A Doverlay.c215 // applying colour adjustment, saturation and luma scaling
216 // (saturation doesn't work with RGB input, perhaps it did with some
1071 float saturation = 1.0f; local
1126 Radeon_SetTransform( ai, brightness, contrast, saturation, hue, 0, 0, 0, ref );

Completed in 147 milliseconds