/external/chromium_org/third_party/skia/src/core/ |
SkMaskGamma.cpp | 15 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 17 return luminance; 26 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const SK_OVERRIDE { 27 return SkScalarPow(luminance, gamma); 35 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 39 if (luminance <= 0.04045f) { 40 return luminance / 12.92f; 42 return SkScalarPow((luminance + 0.055f) / 1.055f, 87 //Contrast value tapers off to 0 as the src luminance becomes white
|
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/skia/src/core/ |
SkMaskGamma.cpp | 15 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 17 return luminance; 26 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const SK_OVERRIDE { 27 return SkScalarPow(luminance, gamma); 35 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 39 if (luminance <= 0.04045f) { 40 return luminance / 12.92f; 42 return SkScalarPow((luminance + 0.055f) / 1.055f, 87 //Contrast value tapers off to 0 as the src luminance becomes white
|
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/chromium_org/third_party/skia/include/effects/ |
SkLumaColorFilter.h | 14 * Luminance-to-alpha color filter, as defined in 19 * luminance value modulated by alpha:
|
/external/skia/include/effects/ |
SkLumaColorFilter.h | 14 * Luminance-to-alpha color filter, as defined in 19 * luminance value modulated by alpha:
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
writeYUV420file.m | 12 % Write luminance
|
readYUV420file.m | 12 % nPx bytes luminance, nPx/4 bytes U, nPx/4 bytes V 31 % Store luminance
|
/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...] |
testoverlay2.c | 58 void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance) 85 if (luminance!=100) 87 yuv[0]=yuv[0]*luminance/100; 93 void ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) 111 RGBtoYUV(p, yuv, monochrome, luminance); 126 void ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) 144 RGBtoYUV(p,yuv, monochrome, luminance); 159 void ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) 174 RGBtoYUV(p, yuv, monochrome, luminance); 192 void ConvertRGBtoYVYU(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance) [all...] |
/external/chromium_org/third_party/skia/tools/skpdiff/ |
generate_pmetric_tables.py | 20 def contrast_sensitivity(cycles_per_degree, luminance): 21 a = 440.0 * pow(1.0 + 0.7 / luminance, -0.2) 22 b = 0.3 * pow(1 + 100.0 / luminance, 0.15)
|
/external/skia/tools/skpdiff/ |
generate_pmetric_tables.py | 20 def contrast_sensitivity(cycles_per_degree, luminance): 21 a = 440.0 * pow(1.0 + 0.7 / luminance, -0.2) 22 b = 0.3 * pow(1 + 100.0 / luminance, 0.15)
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
adaptive_smooth_no_mmx.cpp | 34 Rec_Y = pointer to 0th position in buffer containing luminance values 56 pixel's luminance value. 70 luminance values. 82 weighted averaging of luminance values. *Rec_Y contains the luminance values 85 The picture below depicts a 3x3 group of pixel luminance values. The "u", "c", 118 The filtering of the luminance values is achieved by comparing the 9 119 luminance values to a threshold value ("thr") and then changing the 120 luminance value of pelc1 if all of the values are above or all of the values 121 are below the threshold. The amount that the luminance value is change [all...] |
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
ARB_texture_float.xml | 20 since LUMINANCE/INTENSITY/ALPHA formats were deprecated. -->
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
color_enhancement.cc | 32 // Set pointers to first U and V pixels (skip luminance).
|
/external/mesa3d/src/mapi/glapi/gen/ |
ARB_texture_float.xml | 20 since LUMINANCE/INTENSITY/ALPHA formats were deprecated. -->
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SVGCSSValueKeywords.in | 158 luminance
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
armVCM4P2_SetPredDir.c | 50 * alpha blocks spatially corresponding to luminance
|
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
p_format.h | 64 PIPE_FORMAT_L8_UNORM = 9, /**< ubyte luminance */ 67 PIPE_FORMAT_L8A8_UNORM = 12, /**< ubyte alpha, luminance */ 68 PIPE_FORMAT_L16_UNORM = 13, /**< ushort luminance */
|
/external/mesa3d/src/gallium/include/pipe/ |
p_format.h | 64 PIPE_FORMAT_L8_UNORM = 9, /**< ubyte luminance */ 67 PIPE_FORMAT_L8A8_UNORM = 12, /**< ubyte alpha, luminance */ 68 PIPE_FORMAT_L16_UNORM = 13, /**< ushort luminance */
|
/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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
colorsys.py | 14 YIQ: Luminance, Chrominance (used by composite video signals) 15 HLS: Hue, Luminance, Saturation 62 # HLS: Hue, Luminance, Saturation
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
colorsys.py | 14 YIQ: Luminance, Chrominance (used by composite video signals) 15 HLS: Hue, Luminance, Saturation 62 # HLS: Hue, Luminance, Saturation
|
/external/chromium_org/third_party/mesa/src/docs/OLD/ |
MESA_packed_depth_stencil.spec | 97 LUMINANCE Color Luminance component 98 LUMINANCE_ALPHA Color Luminance, A components 189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and 194 ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, then the index is used to
|
/external/mesa3d/docs/OLD/ |
MESA_packed_depth_stencil.spec | 97 LUMINANCE Color Luminance component 98 LUMINANCE_ALPHA Color Luminance, A components 189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and 194 ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, then the index is used to
|