Home
last modified time | relevance | path

Searched refs:hue (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/ffmpeg/libavfilter/
Dvf_hue.c63 float hue; /* hue expressed in radians */ member
102 AVFILTER_DEFINE_CLASS(hue);
104 static inline void compute_sin_and_cos(HueContext *hue) in compute_sin_and_cos() argument
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()
209 HueContext *hue = ctx->priv; in init() local
212 if (hue->hue_expr && hue->hue_deg_expr) { in init()
220 if (hue->expr##_expr) do { \ in init()
221 ret = set_expr(&hue->expr##_pexpr, &hue->expr##_expr, \ in init()
222 hue->expr##_expr, option, ctx); \ in init()
[all …]
Dvf_procamp_vaapi.c51 float hue; member
108 procamp_params[i].value = map(ctx->hue, HUE_MIN, HUE_MAX, in procamp_vaapi_build_filter_params()
209 OFFSET(hue), AV_OPT_TYPE_FLOAT, { .dbl = HUE_DEFAULT }, HUE_MIN, HUE_MAX, .flags = FLAGS },
211 OFFSET(hue), AV_OPT_TYPE_FLOAT, { .dbl = HUE_DEFAULT }, HUE_MIN, HUE_MAX, .flags = FLAGS },
/third_party/typescript/tests/baselines/reference/
DderivedClasses.types9 var getHue = () => { return this.hue(); };
11 >() => { return this.hue(); } : () => string
12 >this.hue() : string
13 >this.hue : () => string
15 >hue : () => string
32 public hue() { return "some hue"; }
33 >hue : () => string
34 >"some hue" : "some hue"
44 var getHue = () => { return this.hue(); };
46 >() => { return this.hue(); } : () => string
[all …]
DderivedClasses.symbols9 var getHue = () => { return this.hue(); };
11 >this.hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
13 >hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
26 public hue() { return "some hue"; }
27 >hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
37 var getHue = () => { return this.hue(); };
39 >this.hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
41 >hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
61 r.hue();
62 >r.hue : Symbol(Color.hue, Decl(derivedClasses.ts, 8, 43))
[all …]
DderivedClasses.js4 var getHue = () => { return this.hue(); };
11 public hue() { return "some hue"; } method in Color
17 var getHue = () => { return this.hue(); };
26 r.hue();
28 b.hue();
56 var getHue = function () { return _this.hue(); };
65 Color.prototype.hue = function () { return "some hue"; }; method in Color
75 var getHue = function () { return _this.hue(); };
83 r.hue();
85 b.hue();
DderivedClasses.errors.txt10 var getHue = () => { return this.hue(); };
17 public hue() { return "some hue"; }
23 var getHue = () => { return this.hue(); };
32 r.hue();
34 b.hue();
DindexTypeCheck.types76 yellow["hue"]; // ok
77 >yellow["hue"] : Red
79 >"hue" : "hue"
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dcolors.dart11 double hue;
13 hue = 0.0;
15 hue = 60.0 * (((green - blue) / delta) % 6);
17 hue = 60.0 * (((blue - red) / delta) + 2);
19 hue = 60.0 * (((red - green) / delta) + 4);
22 /// Set hue to 0.0 when red == green == blue.
23 hue = hue.isNaN ? 0.0 : hue;
24 return hue;
29 double hue,
37 if (hue < 60.0) {
[all …]
/third_party/cups-filters/cupsfilters/
Dimage-private.h151 int saturation, int hue,
156 int saturation, int hue,
161 int saturation, int hue,
166 int saturation, int hue,
171 int saturation, int hue,
176 int saturation, int hue,
181 int saturation, int hue,
186 int saturation, int hue,
191 int saturation, int hue,
196 int saturation, int hue,
[all …]
Dimage.c307 int hue, /* I - Color hue adjustment */ in cupsImageOpen() argument
319 saturation, hue, lut)); in cupsImageOpen()
362 status = _cupsImageReadGIF(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
365 status = _cupsImageReadBMP(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
368 status = _cupsImageReadSGI(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
373 hue, lut); in cupsImageOpen()
375 status = _cupsImageReadPNM(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
379 hue, lut); in cupsImageOpen()
382 status = _cupsImageReadPIX(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
386 status = _cupsImageReadPNG(img, fp, primary, secondary, saturation, hue, in cupsImageOpen()
[all …]
Dimage-pix.c43 int hue, /* I - Color hue (degrees) */ in _cupsImageReadPIX() argument
178 if (saturation != 100 || hue != 0) in _cupsImageReadPIX()
179 cupsImageRGBAdjust(in, img->xsize, saturation, hue); in _cupsImageReadPIX()
Dimage-photocd.c39 int hue, /* I - Color hue (degrees) */ in _cupsImageReadPhotoCD() argument
278 if (saturation != 100 || hue != 0) in _cupsImageReadPhotoCD()
279 cupsImageRGBAdjust(rgb, 768, saturation, hue); in _cupsImageReadPhotoCD()
Dimage-pnm.c35 int hue, /* I - Color hue (degrees) */ in _cupsImageReadPNM() argument
274 if ((saturation != 100 || hue != 0) && bpp > 1) in _cupsImageReadPNM()
275 cupsImageRGBAdjust(in, img->xsize, saturation, hue); in _cupsImageReadPNM()
/third_party/typescript/tests/cases/compiler/
DderivedClasses.ts3 var getHue = () => { return this.hue(); };
10 public hue() { return "some hue"; } method in Color
16 var getHue = () => { return this.hue(); };
25 r.hue();
27 b.hue();
/third_party/python/Lib/
Dcolorsys.py109 def _v(m1, m2, hue): argument
110 hue = hue % 1.0
111 if hue < ONE_SIXTH:
112 return m1 + (m2-m1)*hue*6.0
113 if hue < 0.5:
115 if hue < TWO_THIRD:
116 return m1 + (m2-m1)*(TWO_THIRD-hue)*6.0
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglcolorbalance.c165 glcolorbalance->hue == 0.0 && glcolorbalance->saturation == 1.0; in gst_gl_color_balance_is_passthrough()
173 gdouble hue = glcolorbalance->hue; in _update_yua_uniforms() local
175 gdouble s_hue_cos = saturation * cos (hue * G_PI); in _update_yua_uniforms()
176 gdouble s_hue_sin = saturation * sin (hue * G_PI); in _update_yua_uniforms()
487 glcolorbalance->hue = DEFAULT_PROP_HUE; in gst_gl_color_balance_init()
532 changed = new_val != vb->hue; in gst_gl_color_balance_colorbalance_set_value()
533 vb->hue = new_val; in gst_gl_color_balance_colorbalance_set_value()
570 value = (vb->hue + 1) * 2000.0 / 2.0 - 1000.0; in gst_gl_color_balance_colorbalance_get_value()
640 GST_DEBUG_OBJECT (balance, "Changing hue from %lf to %lf", balance->hue, in gst_gl_color_balance_set_property()
642 if (d != balance->hue) in gst_gl_color_balance_set_property()
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dcolors_test.dart27 expect(result.hue, 53.0);
33 test('HSVColor hue sweep test', () {
35 for (double hue = 0.0; hue <= 360.0; hue += 36.0) {
36 final HSVColor hsvColor = HSVColor.fromAHSV(1.0, hue, 1.0, 1.0);
39 if (hue != 360.0) {
123 test('HSVColor lerps hue correctly.', () {
223 expect(result.hue, 53.0);
229 test('HSLColor hue sweep test', () {
231 for (double hue = 0.0; hue <= 360.0; hue += 36.0) {
232 final HSLColor hslColor = HSLColor.fromAHSL(1.0, hue, 0.5, 0.5);
[all …]
/third_party/freetype/docs/reference/assets/stylesheets/
Dpalette.f1a3b89f.min.css1hue:232;--md-default-fg-color:hsla(var(--md-hue),75%,95%,1);--md-default-fg-color--light:hsla(var(…
Dpalette.f1a3b89f.min.css.map1hue: 232;\n --md-default-fg-color: hsla(var(--md-hue), 75%, 95%, 1);\n --md-default-fg-color…
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideobalance.c126 hue_cos = cos (G_PI * vb->hue); in gst_video_balance_update_tables()
127 hue_sin = sin (G_PI * vb->hue); in gst_video_balance_update_tables()
154 videobalance->hue == 0.0 && videobalance->saturation == 1.0; in gst_video_balance_is_passthrough()
630 videobalance->hue = DEFAULT_PROP_HUE; in gst_video_balance_init()
684 changed = new_val != vb->hue; in gst_video_balance_colorbalance_set_value()
685 vb->hue = new_val; in gst_video_balance_colorbalance_set_value()
722 value = (vb->hue + 1) * 2000.0 / 2.0 - 1000.0; in gst_video_balance_colorbalance_get_value()
791 GST_DEBUG_OBJECT (balance, "Changing hue from %lf to %lf", balance->hue, in gst_video_balance_set_property()
793 if (d != balance->hue) in gst_video_balance_set_property()
795 balance->hue = d; in gst_video_balance_set_property()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_camera_profile.cpp379 for (uint32 hue = 0; hue < hues; hue++) in FingerprintHueSatMap() local
385 map.GetDelta (hue, sat, val, modify); in FingerprintHueSatMap()
878 for (uint32 hue = 0; hue < hues; hue++) in ReadHueSatMap() local
890 hueSatMap.SetDelta (hue, sat, val, modify); in ReadHueSatMap()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/constructor_declarations/super_calls/
Dsuper_calls.ts34 constructor(num1: number, num2: number, public hue: string) { property in HueP
41 Assert.equal(p1.hue, "red");
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng2-x.c1230 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1267 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_load_bg_image()
1278 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_load_bg_image()
1279 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_x_load_bg_image()
1280 hue /= 60.0; in rpng2_x_load_bg_image()
1281 ii = (int)hue; in rpng2_x_load_bg_image()
1282 f = hue - (double)ii; in rpng2_x_load_bg_image()
2002 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_reload_bg_image() local
2035 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_reload_bg_image()
2046 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_reload_bg_image()
[all …]
Drpng2-win.c978 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t;
1015 hue = (angle + PI) * INV_PI_360 + aoffset;
1026 if ((hue < 0.0) || (hue >= 360.0))
1027 hue -= (((int)(hue / 360.0)) * 360.0);
1028 hue /= 60.0;
1029 ii = (int)hue;
1030 f = hue - (double)ii;
/third_party/node/deps/npm/node_modules/color-convert/
Dconversions.js672 var hue;
681 hue = 0;
684 hue = ((g - b) / chroma) % 6;
687 hue = 2 + (b - r) / chroma;
689 hue = 4 + (r - g) / chroma + 4;
692 hue /= 6;
693 hue %= 1;
695 return [hue * 360, chroma * 100, grayscale * 100];

12345