/external/skia/src/core/ |
D | SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 18 return luminance; in toLuma() 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() 28 return SkScalarPow(luminance, gamma); in toLuma() 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 40 if (luminance <= 0.04045f) { in toLuma() 41 return luminance / 12.92f; in toLuma() 43 return SkScalarPow((luminance + 0.055f) / 1.055f, in toLuma()
|
D | SkMaskGamma.h | 29 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 35 const SkColorSpaceLuminance& luminance = Fetch(gamma); in computeLuminance() local 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance() 43 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); in computeLuminance()
|
/external/skqp/src/core/ |
D | SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 18 return luminance; in toLuma() 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() 28 return SkScalarPow(luminance, gamma); in toLuma() 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 40 if (luminance <= 0.04045f) { in toLuma() 41 return luminance / 12.92f; in toLuma() 43 return SkScalarPow((luminance + 0.055f) / 1.055f, in toLuma()
|
D | SkMaskGamma.h | 29 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 35 const SkColorSpaceLuminance& luminance = Fetch(gamma); in computeLuminance() local 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 37 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance() 43 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); in computeLuminance()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 127 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 128 SkScalar alpha = (.6 - .4*luminance)*luminance*luminance + 0.3f; in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 127 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 128 SkScalar alpha = (.6 - .4*luminance)*luminance*luminance + 0.3f; in drawShadowedPath()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_bptc.c | 1018 int luminance; in get_rgba_endpoints_unorm() local 1029 luminance = p[0] + p[1] + p[2]; in get_rgba_endpoints_unorm() 1030 if (luminance < average_luminance) { in get_rgba_endpoints_unorm() 1111 int luminance; in write_rgb_indices_unorm() local 1133 luminance = src[0] + src[1] + src[2]; in write_rgb_indices_unorm() 1135 index = ((luminance - endpoint_luminances[0]) * 3 / in write_rgb_indices_unorm() 1367 float luminance; in get_endpoints_float() local 1377 luminance = p[0] + p[1] + p[2]; in get_endpoints_float() 1378 if (luminance < average_luminance) { in get_endpoints_float() 1439 float luminance; in write_rgb_indices_float() local [all …]
|
D | readpix.c | 587 void *luminance; in read_rgba_pixels() local 594 luminance = malloc(luminance_bytes); in read_rgba_pixels() 595 if (!luminance) { in read_rgba_pixels() 601 luminance, format, transferOps); in read_rgba_pixels() 608 luminance, luminance_format, luminance_stride, in read_rgba_pixels() 610 free(luminance); in read_rgba_pixels()
|
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/ |
D | ssim.js | 79 var luminance = (2 * muX * muY + C1) / 87 return luminance * contrast * structure;
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
D | ssim.js | 79 var luminance = (2 * muX * muY + C1) / 87 return luminance * contrast * structure;
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | readYUV420file.m | 12 % nPx bytes luminance, nPx/4 bytes U, nPx/4 bytes V 31 % Store luminance
|
D | writeYUV420file.m | 12 % Write luminance
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 3460 GLfloat luminance = 1.0F; in shadow_compare4() local 3464 if (coord > depth00) luminance -= d; in shadow_compare4() 3465 if (coord > depth01) luminance -= d; in shadow_compare4() 3466 if (coord > depth10) luminance -= d; in shadow_compare4() 3467 if (coord > depth11) luminance -= d; in shadow_compare4() 3468 return luminance; in shadow_compare4() 3470 if (coord < depth00) luminance -= d; in shadow_compare4() 3471 if (coord < depth01) luminance -= d; in shadow_compare4() 3472 if (coord < depth10) luminance -= d; in shadow_compare4() 3473 if (coord < depth11) luminance -= d; in shadow_compare4() [all …]
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 499 SkScalar luminance = 0.5f*(max + min)/255.f; in ComputeTonalColors() local 513 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() 520 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 472 SkScalar luminance = 0.5f*(max + min)/255.f; in ComputeTonalColors() local 486 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() 493 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors()
|
/external/swiftshader/src/Shader/ |
D | PixelPipeline.hpp | 26 …r), current(rs[0]), diffuse(vs[0]), specular(vs[1]), perturbate(false), luminance(false), previous… in PixelPipeline() 109 bool luminance; member in sw::PixelPipeline
|
/external/libxcam/ |
D | ChangeLog | 89 function on luminance to improve the contrast inside each block. 124 - apply bidirectional log based function on luminance to improve 159 - preserve more information on luminance values of the scene
|
/external/mesa3d/docs/specs/ |
D | MESA_texture_signed_rgba.spec | 64 2) Should the full set of signed formats (alpha, luminance, rgb, etc.) 68 universal format, rgba. alpha/luminance can't be trivially supported
|
/external/tensorflow/tensorflow/lite/toco/ |
D | dump_graphviz.cc | 90 const float luminance = 0.2126f * r_ + 0.7152f * g_ + 0.0722f * b_; in TextColorString() local 91 const uint8 l = luminance > 128.f ? 0 : 255; in TextColorString()
|
/external/libjpeg-turbo/ |
D | wizard.txt | 49 # This is table 0 (the luminance table): 75 By default, cjpeg will use quantization table 0 for luminance components and
|
D | usage.txt | 130 separate quality settings for luminance and chrominance (or, in general, 134 components can be quantized more than the luminance components without 145 given, this is used for both luminance and chrominance (slots 0 and 1, 151 JPEG files generated with separate luminance and chrominance quality are 541 luminance channel is preserved exactly, so this is a better method of reducing
|
/external/ImageMagick/MagickCore/ |
D | pixel.c | 4738 luminance; in InterpolatePixelChannel() local 4761 luminance.x=GetPixelLuma(image,p)-(double) in InterpolatePixelChannel() 4763 luminance.y=GetPixelLuma(image,p+GetPixelChannels(image))-(double) in InterpolatePixelChannel() 4765 if (fabs(luminance.x) < fabs(luminance.y)) in InterpolatePixelChannel() 5256 luminance; in InterpolatePixelChannels() local 5288 luminance.x=fabs((double) (GetPixelLuma(source,p)- in InterpolatePixelChannels() 5290 luminance.y=fabs((double) (GetPixelLuma(source,p+ in InterpolatePixelChannels() 5293 if (luminance.x < luminance.y) in InterpolatePixelChannels() 5734 luminance; in InterpolatePixelInfo() local 5744 luminance.x=GetPixelLuma(image,p)-(double) in InterpolatePixelInfo() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 153 uint8 luminance; member
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 2843 luminance = (num0 + c1) / (den0 + c1) 2856 return luminance, cs 2930 luminance, cs = _ssim_helper(img1, img2, reducer, max_val, compensation) 2934 ssim_val = math_ops.reduce_mean(luminance * cs, axes)
|
/external/autotest/client/deps/glbench/src/ |
D | yuv2rgb_1.glslf | 68 * Each Y texel provides luminance information for one pixel in the image.
|