/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/skia/tools/skpdiff/ |
D | generate_pmetric_tables.py | 20 def contrast_sensitivity(cycles_per_degree, luminance): argument 21 a = 440.0 * pow(1.0 + 0.7 / luminance, -0.2) 22 b = 0.3 * pow(1 + 100.0 / luminance, 0.15)
|
D | SkPMetric.cpp | 160 static float contrast_sensitivity(float cyclesPerDegree, float luminance) { in contrast_sensitivity() argument 161 float a = 440.0f * powf(1.0f + 0.7f / luminance, -0.2f); in contrast_sensitivity() 162 float b = 0.3f * powf(1.0f + 100.0f / luminance, 0.15f); in contrast_sensitivity()
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | ImageToAwt.java | 214 boolean luminance = false; in convert() 245 if (luminance){ in convert() 388 boolean luminance = false; in convert() 394 luminance = true; in convert() 399 if ( (alpha && !rgb && !luminance) || (luminance && !alpha && !rgb) ){ in convert() 401 }else if ( (rgb && alpha) || (luminance && alpha) ){ in convert() 465 if (luminance) in convert()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 3455 GLfloat luminance = 1.0F; in shadow_compare4() local 3459 if (coord > depth00) luminance -= d; in shadow_compare4() 3460 if (coord > depth01) luminance -= d; in shadow_compare4() 3461 if (coord > depth10) luminance -= d; in shadow_compare4() 3462 if (coord > depth11) luminance -= d; in shadow_compare4() 3463 return luminance; in shadow_compare4() 3465 if (coord < depth00) luminance -= d; in shadow_compare4() 3466 if (coord < depth01) luminance -= d; in shadow_compare4() 3467 if (coord < depth10) luminance -= d; in shadow_compare4() 3468 if (coord < depth11) luminance -= d; in shadow_compare4() [all …]
|
/external/mesa3d/docs/ |
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
|
D | RELNOTES-4.1 | 48 Allows one to specify the luminance of shadowed pixels.
|
D | MESA_texture_array.spec | 350 values, as well as state for the red, green, blue, alpha, luminance,
|
/external/mesa3d/src/mesa/main/ |
D | pack.c | 1264 GLfloat *luminance; in _mesa_pack_rgba_span_float() local 1273 luminance = (GLfloat *) malloc(n * sizeof(GLfloat)); in _mesa_pack_rgba_span_float() 1274 if (!luminance) { in _mesa_pack_rgba_span_float() 1280 luminance = NULL; in _mesa_pack_rgba_span_float() 1315 luminance[i] = CLAMP(sum, 0.0F, 1.0F); in _mesa_pack_rgba_span_float() 1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float() 1351 dst[i] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float() 1355 dst[i*2+0] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float() 1508 dst[i] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float() 1512 dst[i*2+0] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float() [all …]
|
/external/jpeg/ |
D | wizard.doc | 48 # This is table 0 (the luminance table): 74 By default, cjpeg will use quantization table 0 for luminance components and
|
D | libjpeg.doc | 972 routines will set up table slot 0 for luminance quality and table 1007 luminance components and 1,1 for chrominance components, except 1012 0 for luminance components and 1 for chrominance components. 1017 0 for luminance components and 1 for chrominance components. 1188 color space. It is customary to convert color data to a luminance/chrominance 1227 luminance-quality compression parameters for all color components. You may
|
D | usage.doc | 473 luminance channel is preserved exactly, so this is a better method of reducing
|
/external/libpng/ |
D | libpng-manual.txt | 3794 1: A single gray or luminance channel (G). 3795 2: A gray/luminance channel and an alpha channel (GA). 3803 luminance channels the value is encoded according to the sRGB specification 3822 of the color or luminance channels and is returned as an associated alpha 3884 indicate a luminance (gray) channel. The component order within the pixel
|
/external/libexif/po/ |
D | en_AU.po | 3330 "The sampling ratio of chrominance components in relation to the luminance " 3333 "The sampling ratio of chrominance components in relation to the luminance " 3342 "The position of chrominance components in relation to the luminance " 3354 "The position of chrominance components in relation to the luminance "
|
D | en_GB.po | 3330 "The sampling ratio of chrominance components in relation to the luminance " 3333 "The sampling ratio of chrominance components in relation to the luminance " 3342 "The position of chrominance components in relation to the luminance " 3354 "The position of chrominance components in relation to the luminance "
|
D | en_CA.po | 3156 "The sampling ratio of chrominance components in relation to the luminance " 3166 "The position of chrominance components in relation to the luminance " 3178 "The position of chrominance components in relation to the luminance "
|
D | libexif-12.pot | 3131 "The sampling ratio of chrominance components in relation to the luminance " 3141 "The position of chrominance components in relation to the luminance "
|
D | zh_CN.po | 3135 "The sampling ratio of chrominance components in relation to the luminance " 3145 "The position of chrominance components in relation to the luminance "
|
D | sq.po | 3135 "The sampling ratio of chrominance components in relation to the luminance " 3145 "The position of chrominance components in relation to the luminance "
|
D | be.po | 3135 "The sampling ratio of chrominance components in relation to the luminance " 3145 "The position of chrominance components in relation to the luminance "
|
D | ru.po | 3255 "The sampling ratio of chrominance components in relation to the luminance " 3265 "The position of chrominance components in relation to the luminance "
|
D | uk.po | 3134 "The sampling ratio of chrominance components in relation to the luminance " 3144 "The position of chrominance components in relation to the luminance "
|
D | pt.po | 3135 "The sampling ratio of chrominance components in relation to the luminance " 3145 "The position of chrominance components in relation to the luminance "
|
D | tr.po | 3135 "The sampling ratio of chrominance components in relation to the luminance " 3145 "The position of chrominance components in relation to the luminance "
|