Home
last modified time | relevance | path

Searched refs:luminance (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/src/core/
DSkMaskGamma.cpp15 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()
DSkMaskGamma.h28 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/pdfium/xfa/src/fxbarcode/
DBC_BufferedImageLuminanceSource.cpp144 int32_t luminance = (306 * ((pixel >> 16) & 0xFF) + in GetRow() local
147 row[x] = (uint8_t)luminance; in GetRow()
161 int32_t luminance = in GetMatrix() local
165 (*matirx)[offset + x] = (uint8_t)luminance; in GetMatrix()
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js79 var luminance = (2 * muX * muY + C1) /
87 return luminance * contrast * structure;
/external/autotest/client/site_tests/video_WebRtcCamera/
Dssim.js79 var luminance = (2 * muX * muY + C1) /
87 return luminance * contrast * structure;
/external/webrtc/webrtc/modules/video_processing/test/
DreadYUV420file.m12 % nPx bytes luminance, nPx/4 bytes U, nPx/4 bytes V
31 % Store luminance
DwriteYUV420file.m12 % Write luminance
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c3455 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/pdfium/xfa/src/fxbarcode/common/
DBC_GlobalHistogramBinarizer.cpp63 int32_t luminance = ((center << 2) - left - right) >> 1; in GetBlackRow() local
64 if (luminance < blackPoint) { in GetBlackRow()
/external/mesa3d/docs/
DMESA_texture_signed_rgba.spec64 2) Should the full set of signed formats (alpha, luminance, rgb, etc.)
68 universal format, rgba. alpha/luminance can't be trivially supported
DRELNOTES-4.148 Allows one to specify the luminance of shadowed pixels.
DMESA_texture_array.spec350 values, as well as state for the red, green, blue, alpha, luminance,
/external/mesa3d/src/mesa/main/
Dpack.c1264 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/opencv3/3rdparty/openexr/
DChangeLog.openexr58 * Reading luminance/chroma-encoded files via the RGBA
107 * Bug fix: for pixels with luminance near HALF_MIN, conversion
108 from RGB to luminance/chroma produces NaNs and infinities
111 colors after repeatedly loading and saving luminance/chroma
451 * IlmImf: OpenEXR now supports YCA (luminance/chroma/alpha)
456 only luminance is stored in the file (for black and white
530 (chromaticities, luminance, comments, etc.).
/external/libjpeg-turbo/
Dwizard.txt48 # This is table 0 (the luminance table):
74 By default, cjpeg will use quantization table 0 for luminance components and
Dusage.txt129 separate quality settings for luminance and chrominance (or, in general,
133 components can be quantized more than the luminance components without
144 given, this is used for both luminance and chrominance (slots 0 and 1,
150 JPEG files generated with separate luminance and chrominance quality are
557 luminance channel is preserved exactly, so this is a better method of reducing
Dchange.log53 settings for luminance and chrominance (or in general, for every provided
DREADME-turbo.txt150 -- cjpeg: Separate quality settings for luminance and chrominance
DChangeLog.txt622 [1] Fixed a 1-pixel error in row 0, column 21 of the luminance plane generated
675 the RGB-to-luminance lookup tables.
Dlibjpeg.txt1068 routines will set up table slot 0 for luminance quality and table
1083 /* Set luminance quality 90. */
1090 CAUTION: Setting separate quality levels for chrominance and luminance
1138 luminance components and 1,1 for chrominance components, except
1143 0 for luminance components and 1 for chrominance components.
1148 0 for luminance components and 1 for chrominance components.
1344 color space. It is customary to convert color data to a luminance/chrominance
1383 luminance-quality compression parameters for all color components. You may
/external/opencv3/doc/tutorials/ios/video_processing/
Dvideo_processing.markdown203 directly access the luminance plane.
/external/autotest/client/deps/glbench/src/
Dyuv2rgb_1.glslf68 * Each Y texel provides luminance information for one pixel in the image.
/external/opencv3/3rdparty/libjpeg/
Dchange.log131 settings for luminance and chrominance (or in general, for every provided
/external/opencv3/doc/tutorials/core/mat_the_basic_image_container/
Dmat_the_basic_image_container.markdown123 - The HSV and HLS decompose colors into their hue, saturation and value/luminance components,
/external/libpng/
Dlibpng-manual.txt3794 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

123