/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | colors.dart | 65 /// A color represented using [alpha], [hue], [saturation], and [value]. 75 /// when mixed. The hue describes which pigment is used, the saturation 91 const HSVColor.fromAHSV(this.alpha, this.hue, this.saturation, this.value) 94 assert(saturation != null), 100 assert(saturation >= 0.0), 101 assert(saturation <= 1.0), 120 final double saturation = max == 0.0 ? 0.0 : delta / max; 122 return HSVColor.fromAHSV(alpha, hue, saturation, max); 139 final double saturation; 150 return HSVColor.fromAHSV(alpha, hue, saturation, value); [all …]
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | colors_test.dart | 28 expect(result.saturation, greaterThan(0.3999)); 29 expect(result.saturation, lessThan(0.4001)); 63 test('HSVColor saturation sweep test', () { 65 for (double saturation = 0.0; saturation < 1.0; saturation += 0.1) { 66 final HSVColor hslColor = HSVColor.fromAHSV(1.0, 0.0, saturation, 1.0); 97 // Check that it's reversible. Discontinuities at the ends for saturation, 156 test('HSVColor lerps saturation correctly.', () { 224 expect(result.saturation, greaterThan(0.3999)); 225 expect(result.saturation, lessThan(0.4001)); 259 test('HSLColor saturation sweep test', () { [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | color_space.hpp | 42 GLM_FUNC_DECL tmat4x4<T, defaultp> saturation( 48 GLM_FUNC_DECL tvec3<T, P> saturation( 55 GLM_FUNC_DECL tvec4<T, P> saturation(
|
D | color_space.inl | 104 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> saturation(T const s) function 124 GLM_FUNC_QUALIFIER tvec3<T, P> saturation(const T s, const tvec3<T, P>& color) function 126 return tvec3<T, P>(saturation(s) * tvec4<T, P>(color, T(0))); 130 GLM_FUNC_QUALIFIER tvec4<T, P> saturation(const T s, const tvec4<T, P>& color) function 132 return saturation(s) * color;
|
/third_party/boost/boost/gil/extension/toolbox/color_spaces/ |
D | hsv.hpp | 63 float32_t hue, saturation, value; in operator ()() local 74 saturation = 0.f; in operator ()() 78 saturation = diff / max_color; in operator ()() 82 if( saturation < 0.0001f ) in operator ()() 115 get_color( dst, saturation_t() ) = saturation; in operator ()()
|
D | hsl.hpp | 59 float32_t hue, saturation, lightness; in operator ()() local 69 saturation = 0.f; in operator ()() 87 saturation = diff in operator ()() 92 saturation = ( max_color - min_color ) in operator ()() 131 get_color( dst,saturation_t() ) = saturation; in operator ()()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_hue.c | 68 float saturation; member 111 hue->hue_sin = lrint(sin(hue->hue) * (1 << 16) * hue->saturation); in compute_sin_and_cos() 112 hue->hue_cos = lrint(cos(hue->hue) * (1 << 16) * hue->saturation); in compute_sin_and_cos() 227 SET_EXPR(saturation, "s"); in init() 397 hue->saturation = av_expr_eval(hue->saturation_pexpr, hue->var_values, NULL); in filter_frame() 399 if (hue->saturation < SAT_MIN_VAL || hue->saturation > SAT_MAX_VAL) { in filter_frame() 400 hue->saturation = av_clip(hue->saturation, SAT_MIN_VAL, SAT_MAX_VAL); in filter_frame() 403 SAT_MIN_VAL, SAT_MAX_VAL, hue->saturation); in filter_frame() 428 hue->hue/M_PI, hue->hue_deg, hue->saturation, hue->brightness, in filter_frame() 495 SET_EXPR(saturation, "s"); in process_command()
|
D | vf_procamp_vaapi.c | 52 float saturation; member 116 procamp_params[i].value = map(ctx->saturation, SATURATION_MIN, SATURATION_MAX, in procamp_vaapi_build_filter_params() 201 …OFFSET(saturation), AV_OPT_TYPE_FLOAT, { .dbl = SATURATION_DEFAULT }, SATURATION_MIN, SATURATION_M… 203 …OFFSET(saturation), AV_OPT_TYPE_FLOAT, { .dbl = SATURATION_DEFAULT }, SATURATION_MIN, SATURATION_M…
|
D | vf_eq.c | 148 eq->saturation = av_clipf(av_expr_eval(eq->saturation_pexpr, eq->var_values, eq), 0.0, 3.0); in set_saturation() 151 eq->param[i].contrast = eq->saturation; in set_saturation() 327 else SET_PARAM(saturation, saturation) in process_command()
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/mkp/src/intf/ |
D | mkp_vo_intf.c | 34 hdmi_param->csc.saturation = VO_CSC_DEF_VAL; in vo_init_hdmi_param() 45 vga_param->csc.saturation = VO_CSC_DEF_VAL; in vo_init_vga_param() 59 rgb_param->csc.saturation = VO_CSC_DEF_VAL; in vo_init_rgb_param()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglcolorbalance.c | 202 glcolorbalance->hue == 0.0 && glcolorbalance->saturation == 1.0; in gst_gl_color_balance_is_passthrough() 333 balance->saturation); in gst_gl_color_balance_filter_texture() 431 glcolorbalance->saturation = DEFAULT_PROP_SATURATION; in gst_gl_color_balance_init() 479 changed = new_val != vb->saturation; in gst_gl_color_balance_colorbalance_set_value() 480 vb->saturation = new_val; in gst_gl_color_balance_colorbalance_set_value() 515 value = vb->saturation * 2000.0 / 2.0 - 1000.0; in gst_gl_color_balance_colorbalance_get_value() 592 balance->saturation, d); in gst_gl_color_balance_set_property() 593 if (d != balance->saturation) in gst_gl_color_balance_set_property() 595 balance->saturation = d; in gst_gl_color_balance_set_property() 630 g_value_set_double (value, balance->saturation); in gst_gl_color_balance_get_property()
|
D | gstglcolorbalance.h | 62 gdouble saturation; member
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_stencil_wrap.txt | 77 the reference value, incrementing it with saturation, decrementing 78 it with saturation, bitwise inverting it, incrementing it without 79 saturation, and decrementing it without saturation. For purposes of 81 unsigned integer. Incrementing or decrementing with saturation will 83 or decrementing without saturation will wrap such that incrementing
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_stencil_wrap.txt | 77 the reference value, incrementing it with saturation, decrementing 78 it with saturation, bitwise inverting it, incrementing it without 79 saturation, and decrementing it without saturation. For purposes of 81 unsigned integer. Incrementing or decrementing with saturation will 83 or decrementing without saturation will wrap such that incrementing
|
/third_party/gettext/libtextstyle/gnulib-local/lib/ |
D | term-ostream.oo.c | 84 float saturation; /* normalized to interval [0,1] */ member 102 result->saturation = 1.0f - (float) g / (float) b; in rgb_to_hsv() 109 result->saturation = 1.0f - (float) b / (float) r; in rgb_to_hsv() 116 result->saturation = 1.0f - (float) g / (float) r; in rgb_to_hsv() 126 result->saturation = 1.0f - (float) r / (float) b; in rgb_to_hsv() 133 result->saturation = 1.0f - (float) b / (float) g; in rgb_to_hsv() 140 result->saturation = 1.0f - (float) r / (float) g; in rgb_to_hsv() 147 result->saturation = 0; in rgb_to_hsv() 162 float delta_x = color1->saturation * cosf (angle1) in color_distance() 163 - color2->saturation * cosf (angle2); in color_distance() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/videofilter/ |
D | gstvideobalance.c | 131 u = 128 + ((i * hue_cos + j * hue_sin) * vb->saturation); in gst_video_balance_update_tables() 132 v = 128 + ((-i * hue_sin + j * hue_cos) * vb->saturation); in gst_video_balance_update_tables() 152 videobalance->hue == 0.0 && videobalance->saturation == 1.0; in gst_video_balance_is_passthrough() 629 videobalance->saturation = DEFAULT_PROP_SATURATION; in gst_video_balance_init() 686 changed = new_val != vb->saturation; in gst_video_balance_colorbalance_set_value() 687 vb->saturation = new_val; in gst_video_balance_colorbalance_set_value() 722 value = vb->saturation * 2000.0 / 2.0 - 1000.0; in gst_video_balance_colorbalance_get_value() 798 balance->saturation, d); in gst_video_balance_set_property() 799 if (d != balance->saturation) in gst_video_balance_set_property() 801 balance->saturation = d; in gst_video_balance_set_property() [all …]
|
D | gstvideobalance.h | 61 gdouble saturation; member
|
/third_party/miniz/examples/ |
D | example6.c | 29 const int saturation = 1; in hsv_to_rgb() local 34 if (!saturation) { in hsv_to_rgb() 39 double c = 255.0f * saturation; in hsv_to_rgb()
|
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/comm/src/ |
D | drv_vo_video_comm.c | 45 csc->saturation = VO_CSC_DEF_VAL; in vou_drv_init_default_csc() 79 csc->saturation = drv_layer_ctx->csc.saturation; in vou_drv_get_default_csc()
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_stencil_operation_extended.txt | 121 the operation source value with saturation, decrementing by the operation 122 source value with saturation, bitwise inverting it, incrementing by the 123 operation source value without saturation, decrementing by the operation 124 source value without saturation, logically ANDing the operation source 133 as an unsigned integer. Incrementing or decrementing with saturation clamps 135 Incrementing without saturation will wrap such that incrementing the 138 by the stencil buffer. Decrementing without saturation will wrap such that
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_stencil_operation_extended.txt | 121 the operation source value with saturation, decrementing by the operation 122 source value with saturation, bitwise inverting it, incrementing by the 123 operation source value without saturation, decrementing by the operation 124 source value without saturation, logically ANDing the operation source 133 as an unsigned integer. Incrementing or decrementing with saturation clamps 135 Incrementing without saturation will wrap such that incrementing the 138 by the stencil buffer. Decrementing without saturation will wrap such that
|
/third_party/ffmpeg/libswscale/ |
D | swscale.h | 233 int brightness, int contrast, int saturation); 240 int *brightness, int *contrast, int *saturation);
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | flatten_decoration_test.cpp | 35 OpName %saturation "saturation" in PreambleAssembly()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | flatten_decoration_test.cpp | 38 OpName %saturation "saturation" in PreambleAssembly()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | flatten_decoration_test.cpp | 38 OpName %saturation "saturation" in PreambleAssembly()
|