/third_party/ffmpeg/libavfilter/ |
D | vf_deflicker.c | 61 float luminance[SIZE]; member 220 *f += s->luminance[y]; in get_am_factor() 224 *f /= s->luminance[0]; in get_am_factor() 235 *f *= s->luminance[y]; in get_gm_factor() 239 *f /= s->luminance[0]; in get_gm_factor() 250 *f += 1.0f / s->luminance[y]; in get_hm_factor() 254 *f /= s->luminance[0]; in get_hm_factor() 265 *f += s->luminance[y] * s->luminance[y]; in get_qm_factor() 270 *f /= s->luminance[0]; in get_qm_factor() 281 *f += s->luminance[y] * s->luminance[y] * s->luminance[y]; in get_cm_factor() [all …]
|
/third_party/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()
|
/third_party/flutter/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()
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_texture_compression_latc.txt | 47 formats suited for unsigned and signed luminance and luminance-alpha 52 memory bandwidth required for luminance and luminance-alpha textures 53 by a factor of 2-to-1 over conventional uncompressed luminance and 54 luminance-alpha textures with 8-bit components (GL_LUMINANCE8 and 57 The compressed signed luminance-alpha format is reasonably suited 336 64 bits of unsigned luminance image data. 338 Each luminance image data block is encoded as a sequence of 8 bytes, 354 luminance values LUM0 and LUM1 as though they were pixels with 366 The luminance value L for a texel at location (x,y) in the block 389 Since the decoded texel has a luminance format, the resulting RGBA [all …]
|
D | EXT_422_pixels.txt | 28 element is L (luminance). Luminance is present on all pixels; a full 33 and the second element stored is L (luminance). Luminance is present 122 C (chrominance) and the second element stored is L (luminance). 123 For 422_REV_EXT, the first element stored is luminance and the
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_texture_compression_latc.txt | 47 formats suited for unsigned and signed luminance and luminance-alpha 52 memory bandwidth required for luminance and luminance-alpha textures 53 by a factor of 2-to-1 over conventional uncompressed luminance and 54 luminance-alpha textures with 8-bit components (GL_LUMINANCE8 and 57 The compressed signed luminance-alpha format is reasonably suited 336 64 bits of unsigned luminance image data. 338 Each luminance image data block is encoded as a sequence of 8 bytes, 354 luminance values LUM0 and LUM1 as though they were pixels with 366 The luminance value L for a texel at location (x,y) in the block 389 Since the decoded texel has a luminance format, the resulting RGBA [all …]
|
D | EXT_422_pixels.txt | 28 element is L (luminance). Luminance is present on all pixels; a full 33 and the second element stored is L (luminance). Luminance is present 122 C (chrominance) and the second element stored is L (luminance). 123 For 422_REV_EXT, the first element stored is luminance and the
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_texture_compression_latc.txt | 41 formats suited for unsigned and signed luminance and luminance-alpha 46 memory bandwidth required for luminance and luminance-alpha textures 47 by a factor of 2-to-1 over conventional uncompressed luminance and 48 luminance-alpha textures with 8-bit components. 50 The compressed signed luminance-alpha format is reasonably suited 191 of 64 bits of unsigned luminance image data. 193 Each luminance image data block is encoded as a sequence of 8 209 luminance values LUM0 and LUM1 as though they were pixels with 221 The luminance value L for a texel at location (x,y) in the block 244 Since the decoded texel has a luminance format, the resulting [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_texture_compression_latc.txt | 41 formats suited for unsigned and signed luminance and luminance-alpha 46 memory bandwidth required for luminance and luminance-alpha textures 47 by a factor of 2-to-1 over conventional uncompressed luminance and 48 luminance-alpha textures with 8-bit components. 50 The compressed signed luminance-alpha format is reasonably suited 191 of 64 bits of unsigned luminance image data. 193 Each luminance image data block is encoded as a sequence of 8 209 luminance values LUM0 and LUM1 as though they were pixels with 221 The luminance value L for a texel at location (x,y) in the block 244 Since the decoded texel has a luminance format, the resulting [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testoverlay2.c | 170 RGBtoYUV(Uint8 * rgb, int *yuv, int monochrome, int luminance) in RGBtoYUV() argument 194 if (luminance != 100) { in RGBtoYUV() 195 yuv[0] = yuv[0] * luminance / 100; in RGBtoYUV() 203 int monochrome, int luminance) in ConvertRGBtoYV12() argument 214 RGBtoYUV(rgb, yuv, monochrome, luminance); in ConvertRGBtoYV12() 227 int monochrome, int luminance) in ConvertRGBtoNV12() argument 237 RGBtoYUV(rgb, yuv, monochrome, luminance); in ConvertRGBtoNV12()
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_gl_colorspace_scrgb.txt | 56 correspond to sRGB chromaticities and luminance levels. However, scRGB 60 map to luminance levels by the underlying display pipeline. The expected 62 luminance level of 80 nits on a standardized studio monitor. As the color 64 luminance levels also increase to a maximum of 10000 nits. 102 (1.0, 1.0, 1.0) correspond to a luminance range of 0 to 80 nits, which is 103 the same luminance range for sRGB. To achieve a larger dynamic range of up 107 The effective color gamut and luminance range of the content that extend
|
D | EGL_EXT_gl_colorspace_scrgb_linear.txt | 56 correspond to sRGB chromaticities and luminance levels. However, scRGB 60 map to luminance levels by the underlying display pipeline. The expected 62 luminance level of 80 nits on a standardized studio monitor. As the color 64 luminance levels also increase linearly to a maximum of 10000 nits. 92 (1.0, 1.0, 1.0) correspond to a luminance range of 0 to 80 nits, which is 93 the same luminance range for sRGB. To achieve a larger dynamic range of up 97 The effective color gamut and luminance range of the content that extend
|
D | EGL_EXT_surface_SMPTE2086_metadata.txt | 52 primaries, white point and luminance range of the mastering display, which 112 luminance of the mastering display, as configured for the mastering 114 floating-point luminance values should be multiplied by 119 primaries, white point, and luminance range, applications give EGL 175 Maximum luminance in nit multiplied by EGL_METADATA_SCALING_EXT 176 Minimum luminance in nit multiplied by EGL_METADATA_SCALING_EXT 198 luminance of the mastering display. The values returned are in units of
|
D | EGL_EXT_yuv_surface.txt | 118 * They support the same type of color buffer (RGB or luminance) 125 * They support the same type of color buffer (RGB, YUV, or luminance) 138 luminance color buffer, or EGL_YUV_BUFFER_EXT for a YUV color buffer. For 140 and EGL_LUMINANCE_SIZE must be zero. For a luminance buffer, EGL_RED_SIZE, 142 non-zero. For both RGB and luminance color buffers, EGL_ALPHA_SIZE may be 227 If OpenGL or OpenGL ES rendering is supported for a luminance color 232 luminance channel of the color buffer, the green and blue components are 241 and EGL_ALPHA_SIZE. For a luminance color buffer, the total is the sum of 265 EGL_ALPHA_SIZE; for a luminance color buffer, the sum of EGL_LUMINANCE_SIZE
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_gl_colorspace_scrgb_linear.txt | 56 correspond to sRGB chromaticities and luminance levels. However, scRGB 60 map to luminance levels by the underlying display pipeline. The expected 62 luminance level of 80 nits on a standardized studio monitor. As the color 64 luminance levels also increase linearly to a maximum of 10000 nits. 92 (1.0, 1.0, 1.0) correspond to a luminance range of 0 to 80 nits, which is 93 the same luminance range for sRGB. To achieve a larger dynamic range of up 97 The effective color gamut and luminance range of the content that extend
|
D | EGL_EXT_gl_colorspace_scrgb.txt | 56 correspond to sRGB chromaticities and luminance levels. However, scRGB 60 map to luminance levels by the underlying display pipeline. The expected 62 luminance level of 80 nits on a standardized studio monitor. As the color 64 luminance levels also increase to a maximum of 10000 nits. 102 (1.0, 1.0, 1.0) correspond to a luminance range of 0 to 80 nits, which is 103 the same luminance range for sRGB. To achieve a larger dynamic range of up 107 The effective color gamut and luminance range of the content that extend
|
D | EGL_EXT_surface_SMPTE2086_metadata.txt | 52 primaries, white point and luminance range of the mastering display, which 112 luminance of the mastering display, as configured for the mastering 114 floating-point luminance values should be multiplied by 119 primaries, white point, and luminance range, applications give EGL 175 Maximum luminance in nit multiplied by EGL_METADATA_SCALING_EXT 176 Minimum luminance in nit multiplied by EGL_METADATA_SCALING_EXT 198 luminance of the mastering display. The values returned are in units of
|
D | EGL_EXT_yuv_surface.txt | 118 * They support the same type of color buffer (RGB or luminance) 125 * They support the same type of color buffer (RGB, YUV, or luminance) 138 luminance color buffer, or EGL_YUV_BUFFER_EXT for a YUV color buffer. For 140 and EGL_LUMINANCE_SIZE must be zero. For a luminance buffer, EGL_RED_SIZE, 142 non-zero. For both RGB and luminance color buffers, EGL_ALPHA_SIZE may be 227 If OpenGL or OpenGL ES rendering is supported for a luminance color 232 luminance channel of the color buffer, the green and blue components are 241 and EGL_ALPHA_SIZE. For a luminance color buffer, the total is the sum of 265 EGL_ALPHA_SIZE; for a luminance color buffer, the sum of EGL_LUMINANCE_SIZE
|
/third_party/flutter/skia/samplecode/ |
D | SampleShadowColor.cpp | 122 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 123 SkScalar alpha = (.6 - .4*luminance)*luminance*luminance + 0.3f; in drawShadowedPath()
|
/third_party/skia/samplecode/ |
D | SampleShadowColor.cpp | 122 SkScalar luminance = 0.5f*(max + min) / 255.f; in drawShadowedPath() local 123 SkScalar alpha = (.6 - .4*luminance)*luminance*luminance + 0.3f; in drawShadowedPath()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_bptc_tmp.h | 1212 int luminance; in get_rgba_endpoints_unorm() local 1223 luminance = p[0] + p[1] + p[2]; in get_rgba_endpoints_unorm() 1224 if (luminance < average_luminance) { in get_rgba_endpoints_unorm() 1305 int luminance; in write_rgb_indices_unorm() local 1327 luminance = src[0] + src[1] + src[2]; in write_rgb_indices_unorm() 1329 index = ((luminance - endpoint_luminances[0]) * 3 / in write_rgb_indices_unorm() 1516 float luminance; in get_endpoints_float() local 1526 luminance = p[0] + p[1] + p[2]; in get_endpoints_float() 1527 if (luminance < average_luminance) { in get_endpoints_float() 1588 float luminance; in write_rgb_indices_float() local [all …]
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | color_test.dart | 124 test('compute gray luminance', () { 127 // Relative luminance's formula is just the linearized color value for gray. 132 test('compute color luminance', () {
|
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/ |
D | gstdilate.c | 261 guint32 red, green, blue, luminance; in get_luminance() local 267 luminance = ((90 * red) + (115 * green) + (51 * blue)); in get_luminance() 269 return luminance; in get_luminance()
|