Home
last modified time | relevance | path

Searched refs:brightness (Results 1 – 25 of 106) sorted by relevance

12345

/external/ImageMagick/www/source/
Danalyze.c88 brightness, in analyzeImage() local
169 GetPixelBlue(p),&hue,&saturation,&brightness); in analyzeImage()
170 brightness*=QuantumRange; in analyzeImage()
171 brightness_sum_x+=brightness; in analyzeImage()
172 brightness_sum_x2+=brightness*brightness; in analyzeImage()
173 brightness_sum_x3+=brightness*brightness*brightness; in analyzeImage()
174 brightness_sum_x4+=brightness*brightness*brightness*brightness; in analyzeImage()
/external/ImageMagick/filters/
Danalyze.c88 brightness, in analyzeImage() local
170 GetPixelBlue(image,p),&hue,&saturation,&brightness); in analyzeImage()
171 brightness*=QuantumRange; in analyzeImage()
172 brightness_sum_x+=brightness; in analyzeImage()
173 brightness_sum_x2+=brightness*brightness; in analyzeImage()
174 brightness_sum_x3+=brightness*brightness*brightness; in analyzeImage()
175 brightness_sum_x4+=brightness*brightness*brightness*brightness; in analyzeImage()
/external/skia/gm/
Dcolorfilterimagefilter.cpp22 static sk_sp<SkColorFilter> cf_make_brightness(float brightness) { in cf_make_brightness() argument
23 SkScalar amount255 = brightness * 255; in cf_make_brightness()
124 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.2f) { variable
125 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
126 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
134 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); variable
135 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness)));
142 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale))); variable
143 paint.setImageFilter(std::move(brightness));
149 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, std::move(blue))); variable
[all …]
/external/skqp/gm/
Dcolorfilterimagefilter.cpp22 static sk_sp<SkColorFilter> cf_make_brightness(float brightness) { in cf_make_brightness() argument
23 SkScalar amount255 = brightness * 255; in cf_make_brightness()
124 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.2f) { variable
125 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
126 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
134 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); variable
135 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness)));
142 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale))); variable
143 paint.setImageFilter(std::move(brightness));
149 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, std::move(blue))); variable
[all …]
/external/autotest/server/site_tests/power_BrightnessResetAfterReboot/
Dcontrol9 PURPOSE = "default brightness test."
10 CRITERIA = "This test will fail if unable to set the default brightness after reboot."
20 1. Checks for the default brightness after initial boot.
22 3. Checks for the brightness level after rebooting the device.
25 -Device not able to change brightness to min and max levels.
26 -Device not able to set the brightness level to default after reboot.
/external/skqp/bench/
DColorFilterBench.cpp79 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.4f) { in onDraw() local
80 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr)); in onDraw()
81 paint.setImageFilter(make_brightness(brightness, std::move(dim))); in onDraw()
106 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); in onDraw() local
107 paint.setImageFilter(make_grayscale(std::move(brightness))); in onDraw()
181 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr)); in onDraw() local
182 paint.setImageFilter(make_mode_blue(std::move(brightness))); in onDraw()
/external/skia/bench/
DColorFilterBench.cpp79 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.4f) { in onDraw() local
80 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr)); in onDraw()
81 paint.setImageFilter(make_brightness(brightness, std::move(dim))); in onDraw()
106 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); in onDraw() local
107 paint.setImageFilter(make_grayscale(std::move(brightness))); in onDraw()
181 sk_sp<SkImageFilter> brightness(make_brightness(1.0f, nullptr)); in onDraw() local
182 paint.setImageFilter(make_mode_blue(std::move(brightness))); in onDraw()
/external/vulkan-validation-layers/demos/smoke/
DSmoke.push_constant.vert22 float brightness = dot(light_dir, world_normal) / length(light_dir) / length(world_normal);
23 brightness = abs(brightness);
26 color = params.light_color * brightness;
DSmoke.vert22 float brightness = dot(light_dir, world_normal) / length(light_dir) / length(world_normal);
23 brightness = abs(brightness);
26 color = params.light_color * brightness;
/external/autotest/client/site_tests/platform_InputBrightness/
Dcontrol8 decrease brightness."""
16 Increase and decrease the brightness using keyboard shortcuts.
17 The test will fail if the device brightness level does not change.
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dmain.cc31 float brightness = 64.0f; in main() local
39 tensorflow::Flag("brightness", &brightness, in main()
59 input_wav, window_size, stride, brightness, output_image); in main()
Dwav_to_spectrogram.cc46 tensorflow::int32 stride, float brightness, in WavToSpectrogram() argument
91 brightness_tensor.scalar<float>()() = brightness; in WavToSpectrogram()
/external/autotest/client/site_tests/power_BacklightSuspend/
Dcontrol.suspend_to_idle7 PURPOSE = "Test the backlight's resume brightness feature."
15 This test requests a brightness level to be set after resume. It then triggers
16 a suspend/resume and checks that the brightness has indeed been set to the
Dcontrol7 PURPOSE = "Test the backlight's resume brightness feature."
21 This test requests a brightness level to be set after resume. It then triggers
22 a suspend/resume and checks that the brightness has indeed been set to the
/external/vulkan-validation-layers/demos/smoke/android/src/main/jni/
DSmoke.vert.h91 75(brightness): 74(ptr) Variable Function
150 Store 75(brightness) 84
151 85: 6(float) Load 75(brightness)
153 Store 75(brightness) 86
166 106: 6(float) Load 75(brightness)
DSmoke.push_constant.vert.h90 75(brightness): 74(ptr) Variable Function
149 Store 75(brightness) 84
150 85: 6(float) Load 75(brightness)
152 Store 75(brightness) 86
165 106: 6(float) Load 75(brightness)
/external/ImageMagick/MagickCore/
Dgem.c287 const double brightness,double *red,double *green,double *blue) in ConvertHSBToRGB() argument
304 *red=QuantumRange*brightness; in ConvertHSBToRGB()
311 p=brightness*(1.0-saturation); in ConvertHSBToRGB()
312 q=brightness*(1.0-saturation*f); in ConvertHSBToRGB()
313 t=brightness*(1.0-(saturation*(1.0-f))); in ConvertHSBToRGB()
319 *red=QuantumRange*brightness; in ConvertHSBToRGB()
327 *green=QuantumRange*brightness; in ConvertHSBToRGB()
334 *green=QuantumRange*brightness; in ConvertHSBToRGB()
342 *blue=QuantumRange*brightness; in ConvertHSBToRGB()
349 *blue=QuantumRange*brightness; in ConvertHSBToRGB()
[all …]
/external/walt/docs/
DScreenLatency.md13 Example of screen brightness as a function of time during transition from black to white (blue line…
14 ![Example plot of brightness as a function of time](Nexus5X_screen_transition.png)
29 All measurements below were taken with the device set to max brightness and WALT positioned in the …
/external/cros/system_api/dbus/power_manager/
Didle.proto19 // be turned off due to an earlier user request to reduce its brightness to 0,
21 // screen brightness currently requested by powerd.
Dpolicy.proto100 // True if at least one full-brightness, dimmed-but-on, or system-level wake
119 // Backlight brightness in the range [0.0, 100.0] to use when on AC or battery
121 // set to the requested brightness. The updated brightness persists until the
153 // If true, force the panel backlight to a non-zero brightness level in
/external/lisa/libs/utils/android/workloads/
Ddisplay_image.py45 def run(self, out_dir, duration_s, brightness, filepath, collect=''): argument
76 Screen.set_brightness(self._target, auto=False, percent=brightness)
/external/lisa/experiments/
Drun_display_image.py76 wload.run(outdir, duration_s=args.duration_s, brightness=args.brightness,
/external/autotest/client/site_tests/power_BacklightControl/
Dcontrol15 - There are too many steps (> 16) between min and max brightness.
23 This test verifies that the backlight controller can adjust brightness up and
/external/lisa/ipynb/examples/android/workloads/
DAndroid_Recents_Fling.ipynb368 " # Configure screen to max brightness and no dimming\n",
394 " # Reset screen brightness and auto dimming\n",
518 "2016-12-09 14:59:20,895 INFO : Screen : Set brightness: 100%\n",
524 "2016-12-09 14:59:39,042 INFO : Screen : Set brightness: AUTO\n",
541 "2016-12-09 14:59:56,256 INFO : Screen : Set brightness: 100%\n",
547 "2016-12-09 15:00:15,221 INFO : Screen : Set brightness: AUTO\n",
565 "2016-12-09 15:00:49,017 INFO : Screen : Set brightness: 100%\n",
571 "2016-12-09 15:01:46,394 INFO : Screen : Set brightness: AUTO\n",
588 "2016-12-09 15:02:41,668 INFO : Screen : Set brightness: 100%\n",
594 "2016-12-09 15:03:00,468 INFO : Screen : Set brightness: AUTO\n",
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dattributes.c94 context_priv->procamp.brightness = value / 1000.0f; in XvMCSetAttribute()
138 *value = context_priv->procamp.brightness * 1000; in XvMCGetAttribute()

12345