Home
last modified time | relevance | path

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

123456

/external/ImageMagick/filters/
Danalyze.c86 brightness, member
155 brightness, in analyzeImage() local
160 (void) memset(&brightness,0,sizeof(brightness)); in analyzeImage()
166 shared(progress,status,brightness,saturation) \ in analyzeImage()
214 brightness.sum[i]+=local_brightness.sum[i]; in analyzeImage()
220 brightness.mean=brightness.sum[1]/area; in analyzeImage()
221 (void) FormatLocaleString(text,MagickPathExtent,"%g",brightness.mean); in analyzeImage()
223 brightness.standard_deviation=sqrt(brightness.sum[2]/area- in analyzeImage()
224 (brightness.sum[1]/area*brightness.sum[1]/area)); in analyzeImage()
226 brightness.standard_deviation); in analyzeImage()
[all …]
/external/skia/gm/
Dcolorfilterimagefilter.cpp36 static sk_sp<SkColorFilter> cf_make_brightness(float brightness) { in cf_make_brightness() argument
38 1, 0, 0, 0, brightness, in cf_make_brightness()
39 0, 1, 0, 0, brightness, in cf_make_brightness()
40 0, 0, 1, 0, brightness, in cf_make_brightness()
134 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.2f) { variable
135 sk_sp<SkImageFilter> dim(make_brightness(-brightness, nullptr));
136 sk_sp<SkImageFilter> bright(make_brightness(brightness, std::move(dim)));
144 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, nullptr)); variable
145 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness)));
152 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale))); variable
[all …]
/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/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."
22 2. Checks that the default brightness after initial boot is reasonable.
23 3. Changes the brightness level to min (0%) and max (100%).
24 4. Checks that the brightness level resets after rebooting the device.
28 -Initial brightness is not reasonable.
29 -Device not able to change brightness to min and max levels.
30 -Device not able to set the brightness level to default after reboot.
33 in internal display brightness; test will fail if internal display brightness
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeEmbossMaskFilterTest.java55 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); in testEmbossMaskFilter()
56 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter()
60 assertEquals(0, brightness(bitmap, top)); in testEmbossMaskFilter()
62 assertEquals(0, brightness(bitmap, bottom)); in testEmbossMaskFilter()
64 assertEquals(0, brightness(bitmap, left)); in testEmbossMaskFilter()
66 assertEquals(0, brightness(bitmap, right)); in testEmbossMaskFilter()
73 private long brightness(Bitmap b, Rect rect) { in brightness() method in ShadowNativeEmbossMaskFilterTest
/external/skia/modules/skottie/src/effects/
DBrightnessContrastEffect.cpp119 static sk_sp<SkData> make_brightness_coeffs(float brightness) { in make_brightness_coeffs() argument
120 const float coeff_a = std::pow(2.0f, brightness * 1.8f); in make_brightness_coeffs()
186 const auto brightness = SkTPin(fBrightness, -100.0f, 100.0f) / 255, // [-100/255 .. 100/255] in makeLegacyCF() local
205 const auto B = 0.5f * (1 - S) + brightness * std::max(S, 1.0f); in makeLegacyCF()
218 const auto brightness = SkTPin(fBrightness, -150.0f, 150.0f) / 150, // [-1.0 .. 1] in makeCF() local
221 auto b_eff = SkScalarNearlyZero(brightness) in makeCF()
223 : fBrightnessEffect->makeColorFilter(make_brightness_coeffs(brightness)), in makeCF()
/external/igt-gpu-tools/tests/amdgpu/
Damd_abm.c187 int brightness; in backlight_monotonic_basic() local
198 for (brightness = max_brightness - brightness_step; in backlight_monotonic_basic()
199 brightness > 0; in backlight_monotonic_basic()
200 brightness -= brightness_step) { in backlight_monotonic_basic()
201 backlight_write_brightness(brightness); in backlight_monotonic_basic()
216 int brightness; in backlight_monotonic_abm() local
227 for (brightness = max_brightness - brightness_step; in backlight_monotonic_abm()
228 brightness > 0; in backlight_monotonic_abm()
229 brightness -= brightness_step) { in backlight_monotonic_abm()
230 backlight_write_brightness(brightness); in backlight_monotonic_abm()
/external/cpuinfo/test/dmesg/
Dzenfone-2.log1267 [ 4.262612] [DISP] brightness level = 0
1271 [ 4.263529] [DISP] brightness level = 128
1718 [ 7.414480] [DISP] brightness level = 128
1719 [ 7.414511] [DISP] brightness level = 128
1975 [ 11.512720] [DISP] brightness level = 64
1990 [ 12.417905] [DISP] brightness level = 63
1992 [ 12.468092] [DISP] brightness level = 63
2001 [ 12.518203] [DISP] brightness level = 63
2002 [ 12.568313] [DISP] brightness level = 62
2003 [ 12.618422] [DISP] brightness level = 62
[all …]
/external/autotest/client/site_tests/power_Display/
Dcontrol.brightness2 NAME = "power_Display.brightness"
3 PURPOSE = "Measure display power usage at each brightness."
14 pages with each of ChromeOS's 16 brightness levels.
21 job.run_test('power_Display', brightness='all', tag=NAME.split('.')[1],
Dpower_Display.py24 def run_once(self, pages=None, secs_per_page=60, brightness=''): argument
63 if brightness not in ['', 'all', 'max']:
65 'Invalid brightness flag: %s' % (brightness))
67 if brightness == 'max':
71 if brightness == 'all':
Dcabc.md7 panel backlight brightness according to the content. With a bright image showing
11 brightness to make the perception image similar but use lower power.
16 * `power_Display.cabc` : run at default brightness level (usually 80 nit).
17 * `power_Display.cabc_max_brightness` : run at full brightness.
Dcontrol.max_brightness15 pages using maximum brightness level.
20 job.run_test('power_Display', brightness='max', tag=NAME.split('.')[1],
Dcontrol.cabc_max_brightness15 brightness.
33 job.run_test('power_Display', brightness='max', tag=NAME.split('.')[1],
/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.cc45 float brightness, in WavToSpectrogram() argument
90 brightness_tensor.scalar<float>()() = brightness; in WavToSpectrogram()
Dwav_to_spectrogram.h28 float brightness,
/external/autotest/client/site_tests/platform_InputBrightness/
Dcontrol8 decrease brightness."""
17 Increase and decrease the brightness using keyboard shortcuts.
18 The test will fail if the device brightness level does not change.
/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/autotest/server/site_tests/sequences/
Dcontrol.power_qual_full29 - power_Display.brightness
84 'brightness' : 'all', 'pages' : ['white', 'black', 'checker1'],
92 'brightness' : 'max', 'secs_per_page' : 20, 'seconds_period' : 1,
Dcontrol.power_qual_lab31 - power_Display.brightness
84 'brightness' : 'all', 'pages' : ['white', 'black', 'checker1'],
93 'brightness' : 'max', 'secs_per_page' : 20, 'seconds_period' : 1,
/external/walt/docs/
DScreenLatency.md17 Example of screen brightness as a function of time during transition from black to white (blue line…
18 ![Example plot of brightness as a function of time](Nexus5X_screen_transition.png)
33 All measurements below were taken with the device set to max brightness and WALT positioned in the …
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DBrightnessChangeEventBuilder.java10 public BrightnessChangeEventBuilder setBrightness(float brightness) { in setBrightness() argument
11 builderInternal.setBrightness(brightness); in setBrightness()
/external/mesa3d/src/gallium/frontends/xvmc/
Dattributes.c94 context_priv->procamp.brightness = value / 1000.0f; in XvMCSetAttribute()
138 *value = context_priv->procamp.brightness * 1000; in XvMCGetAttribute()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_csc.h37 float brightness; member
/external/walt/docs/usage/
DWALT_usage.md144 …* Set screen brightness to maximum. On phones using PWM for screen backlight brightness control, y…
172 the measured screen brightness crosses a threshold
267 …se width modulation (PWM) to control screen brightness. Disable adaptive screen brightness and set…

123456