/external/skqp/src/core/ |
D | SkMaskGamma.cpp | 15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 17 return luminance; in toLuma() 26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() 27 return SkScalarPow(luminance, gamma); in toLuma() 35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 39 if (luminance <= 0.04045f) { in toLuma() 40 return luminance / 12.92f; in toLuma() 42 return SkScalarPow((luminance + 0.055f) / 1.055f, in toLuma()
|
D | SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 34 const SkColorSpaceLuminance& luminance = Fetch(gamma); in computeLuminance() local 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance() 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); in computeLuminance()
|
/external/skia/src/core/ |
D | SkMaskGamma.cpp | 15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 17 return luminance; in toLuma() 26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { in toLuma() 27 return SkScalarPow(luminance, gamma); in toLuma() 35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { in toLuma() 39 if (luminance <= 0.04045f) { in toLuma() 40 return luminance / 12.92f; in toLuma() 42 return SkScalarPow((luminance + 0.055f) / 1.055f, in toLuma()
|
D | SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 34 const SkColorSpaceLuminance& luminance = Fetch(gamma); in computeLuminance() local 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); in computeLuminance() 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance() 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); in computeLuminance()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 126 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 127 SkScalar alpha = (.6 - .4*luminance)*luminance*luminance + 0.3f; in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 126 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 127 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 | 582 void *luminance; in read_rgba_pixels() local 589 luminance = malloc(luminance_bytes); in read_rgba_pixels() 590 if (!luminance) { in read_rgba_pixels() 596 luminance, format, transferOps); in read_rgba_pixels() 603 luminance, luminance_format, luminance_stride, in read_rgba_pixels() 605 free(luminance); in read_rgba_pixels()
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
D | ssim.js | 79 var luminance = (2 * muX * muY + C1) / 87 return luminance * contrast * structure;
|
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/ |
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/skqp/src/utils/ |
D | SkShadowUtils.cpp | 475 SkScalar luminance = 0.5f*(max + min)/255.f; in ComputeTonalColors() local 489 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() 496 SkScalar greyscaleAlpha = SkTPin(origA*(1 - 0.4f*luminance), 0.0f, 1.0f); in ComputeTonalColors()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 478 SkScalar luminance = 0.5f*(max + min)/255.f; in ComputeTonalColors() local 492 SkScalar colorAlpha = (3.544762f + (-4.891428f + 2.3466f*luminance)*luminance)*luminance; in ComputeTonalColors() 499 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/tensorflow/tensorflow/contrib/lite/toco/ |
D | dump_graphviz.cc | 49 const float luminance = 0.2126f * r_ + 0.7152f * g_ + 0.0722f * b_; in TextColorString() local 50 const uint8 l = luminance > 128.f ? 0 : 255; in TextColorString()
|
/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/ImageMagick/MagickCore/ |
D | pixel.c | 4820 luminance; in InterpolatePixelChannel() local 4843 luminance.x=GetPixelLuma(image,p)-(double) in InterpolatePixelChannel() 4845 luminance.y=GetPixelLuma(image,p+GetPixelChannels(image))-(double) in InterpolatePixelChannel() 4847 if (fabs(luminance.x) < fabs(luminance.y)) in InterpolatePixelChannel() 5338 luminance; in InterpolatePixelChannels() local 5370 luminance.x=fabs((double) (GetPixelLuma(source,p)- in InterpolatePixelChannels() 5372 luminance.y=fabs((double) (GetPixelLuma(source,p+ in InterpolatePixelChannels() 5375 if (luminance.x < luminance.y) in InterpolatePixelChannels() 5820 luminance; in InterpolatePixelInfo() local 5830 luminance.x=GetPixelLuma(image,p)-(double) in InterpolatePixelInfo() [all …]
|
/external/libjpeg-turbo/ |
D | wizard.txt | 48 # This is table 0 (the luminance table): 74 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/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 153 uint8 luminance; member
|
/external/autotest/client/deps/glbench/src/ |
D | yuv2rgb_1.glslf | 68 * Each Y texel provides luminance information for one pixel in the image.
|
/external/mesa3d/docs/relnotes/ |
D | 4.1 | 48 Allows one to specify the luminance of shadowed pixels.
|