HomeSort by relevance Sort by last modified time
    Searched defs:luminance (Results 1 - 6 of 6) sorted by null

  /external/skia/src/core/
SkMaskGamma.h 20 * Luma is used to specify a linear luminance value [0.0, 1.0].
21 * Luminance is used to specify a luminance value in an arbitrary color space [0.0, 1.0].
27 /** Converts a color component luminance in the color space to a linear luma. */
28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0;
29 /** Converts a linear luma to a color component luminance in the color space. */
32 /** Converts a color to a luminance value. */
34 const SkColorSpaceLuminance& luminance = Fetch(gamma); local
35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255);
36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/filters/
FEColorMatrix.cpp 119 inline void luminance(double& red, double& green, double& blue, double& alpha) function in namespace:WebCore
148 luminance(red, green, blue, alpha);
  /frameworks/base/libs/hwui/
GammaFontRenderer.cpp 30 static int luminance(const SkPaint* paint) { function in namespace:android::uirenderer
109 const int l = luminance(paint);
248 const int l = luminance(paint);
  /external/qemu/distrib/sdl-1.2.15/test/
testoverlay.c 21 int luminance; variable
35 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance)
62 if (luminance!=100)
64 yuv[0]=yuv[0]*luminance/100;
81 void ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
106 RGBtoYUV(p, yuv, monochrome, luminance);
121 void ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
146 RGBtoYUV(p,yuv, monochrome, luminance);
161 void ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
176 RGBtoYUV(p, yuv, monochrome, luminance);
    [all...]
  /frameworks/rs/
rsFont.cpp 795 const float luminance = (r * 2.0f + g * 5.0f + b) / 8.0f; local
796 if (luminance <= mBlackThreshold) {
798 } else if (luminance >= mWhiteThreshold) {
  /external/zxing/core/
core.jar 

Completed in 584 milliseconds