/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEColorMatrix.cpp | 100 inline void luminance(float& red, float& green, float& blue, float& alpha) function in namespace:WebCore 134 luminance(red, green, blue, alpha);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | 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); 37 SkScalar b = luminance [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testoverlay.c | 21 int luminance; variable 35 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance) argument 62 if (luminance!=100) 64 yuv[0]=yuv[0]*luminance/100; 81 void ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 106 RGBtoYUV(p, yuv, monochrome, luminance); 121 void ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 146 RGBtoYUV(p,yuv, monochrome, luminance); 161 void ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 176 RGBtoYUV(p, yuv, monochrome, luminance); 194 ConvertRGBtoYVYU(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 230 ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument [all...] |
H A D | testoverlay2.c | 58 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance) argument 85 if (luminance!=100) 87 yuv[0]=yuv[0]*luminance/100; 93 void ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 111 RGBtoYUV(p, yuv, monochrome, luminance); 126 void ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 144 RGBtoYUV(p,yuv, monochrome, luminance); 159 void ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 174 RGBtoYUV(p, yuv, monochrome, luminance); 192 void ConvertRGBtoYVYU(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument 228 ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) argument [all...] |
/external/skia/src/core/ |
H A D | 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); 37 SkScalar b = luminance [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pack.c | 1264 GLfloat *luminance; local 1273 luminance = (GLfloat *) malloc(n * sizeof(GLfloat)); 1274 if (!luminance) { 1280 luminance = NULL; 1311 /* compute luminance values */ 1315 luminance[i] = CLAMP(sum, 0.0F, 1.0F); 1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; 1351 dst[i] = FLOAT_TO_UBYTE(luminance[i]); 1355 dst[i*2+0] = FLOAT_TO_UBYTE(luminance[i]); 1508 dst[i] = FLOAT_TO_BYTE(luminance[ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | pack.c | 1264 GLfloat *luminance; local 1273 luminance = (GLfloat *) malloc(n * sizeof(GLfloat)); 1274 if (!luminance) { 1280 luminance = NULL; 1311 /* compute luminance values */ 1315 luminance[i] = CLAMP(sum, 0.0F, 1.0F); 1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; 1351 dst[i] = FLOAT_TO_UBYTE(luminance[i]); 1355 dst[i*2+0] = FLOAT_TO_UBYTE(luminance[i]); 1508 dst[i] = FLOAT_TO_BYTE(luminance[ [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_texfilter.c | 3455 GLfloat luminance = 1.0F; local 3459 if (coord > depth00) luminance -= d; 3460 if (coord > depth01) luminance -= d; 3461 if (coord > depth10) luminance -= d; 3462 if (coord > depth11) luminance -= d; 3463 return luminance; 3465 if (coord < depth00) luminance -= d; 3466 if (coord < depth01) luminance -= d; 3467 if (coord < depth10) luminance -= d; 3468 if (coord < depth11) luminance [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texfilter.c | 3455 GLfloat luminance = 1.0F; local 3459 if (coord > depth00) luminance -= d; 3460 if (coord > depth01) luminance -= d; 3461 if (coord > depth10) luminance -= d; 3462 if (coord > depth11) luminance -= d; 3463 return luminance; 3465 if (coord < depth00) luminance -= d; 3466 if (coord < depth01) luminance -= d; 3467 if (coord < depth10) luminance -= d; 3468 if (coord < depth11) luminance [all...] |
/external/zxing/core/ |
H A D | core.jar | ... .String toString () char c
char c
char c
int luminance
char c
int x
int y
byte[] row
StringBuffer result ... |