/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
apds9002.cxx | 46 // Instantiate a Grove Luminance sensor on analog pin A0 47 upm::APDS9002* luminance = new upm::APDS9002(0); local 51 int val = luminance->value(); 52 cout << "Luminance value is " << val << endl; 60 delete luminance;
|
/external/skia/src/core/ |
SkMaskGamma.cpp | 15 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { 17 return luminance; 26 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { 27 return SkScalarPow(luminance, gamma); 35 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const 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/webrtc/webrtc/modules/video_processing/test/ |
writeYUV420file.m | 12 % Write luminance
|
readYUV420file.m | 12 % nPx bytes luminance, nPx/4 bytes U, nPx/4 bytes V 31 % Store luminance
|
/external/pdfium/xfa/src/fxbarcode/ |
BC_BufferedImageLuminanceSource.cpp | 144 int32_t luminance = (306 * ((pixel >> 16) & 0xFF) +
local 147 row[x] = (uint8_t)luminance;
161 int32_t luminance =
local 165 (*matirx)[offset + x] = (uint8_t)luminance;
|
/prebuilts/misc/windows/sdl2/test/ |
testoverlay2.c | 154 RGBtoYUV(Uint8 * rgb, int *yuv, int monochrome, int luminance) 178 if (luminance != 100) { 179 yuv[0] = yuv[0] * luminance / 100; 187 int monochrome, int luminance) 198 RGBtoYUV(rgb, yuv, monochrome, luminance);
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
ssim.js | 79 var luminance = (2 * muX * muY + C1) / 87 return luminance * contrast * structure;
|
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/ |
ssim.js | 79 var luminance = (2 * muX * muY + C1) / 87 return luminance * contrast * structure;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
armVCM4P2_SetPredDir_s.s | 39 ; * alpha blocks spatially corresponding to luminance
|
omxVCM4P2_PredictReconCoefIntra_s.s | 60 ; * [in] videoComp video component type (luminance, chrominance or
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
armVCM4P2_SetPredDir_s.s | 39 ; * alpha blocks spatially corresponding to luminance
|
omxVCM4P2_PredictReconCoefIntra_s.s | 60 ; * [in] videoComp video component type (luminance, chrominance or
|
/external/pdfium/xfa/src/fxbarcode/common/ |
BC_GlobalHistogramBinarizer.cpp | 63 int32_t luminance = ((center << 2) - left - right) >> 1;
local 64 if (luminance < blackPoint) {
|
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 3455 GLfloat luminance = 1.0F; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 116 * Returns the relative luminance of a color. 118 * Assumes sRGB encoding. Based on the formula for relative luminance 123 public static float luminance(@ColorInt int color) { method in class:Color
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
Color.java | 380 public static int luminanceAlpha (float luminance, float alpha) { 381 return ((int)(luminance * 255.0f) << 8) | (int)(alpha * 255);
|
/external/mesa3d/docs/ |
MESA_texture_signed_rgba.spec | 64 2) Should the full set of signed formats (alpha, luminance, rgb, etc.) 68 universal format, rgba. alpha/luminance can't be trivially supported
|
MESA_texture_array.spec | 350 values, as well as state for the red, green, blue, alpha, luminance, [all...] |
/external/mesa3d/src/mesa/main/ |
pack.c | 1264 GLfloat *luminance; local [all...] |
/frameworks/rs/ |
rsFont.cpp | 796 const float luminance = (r * 2.0f + g * 5.0f + b) / 8.0f; local 797 if (luminance <= mBlackThreshold) { 799 } else if (luminance >= mWhiteThreshold) {
|
/external/ImageMagick/MagickCore/ |
pixel.c | 4820 luminance; local 5338 luminance; local 5820 luminance; local [all...] |
/external/ImageMagick/www/api/ |
fx.php | 199 <p>ColorMatrixImage() applies color transformation to an image. This method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p>
|
/frameworks/base/core/java/com/android/internal/policy/ |
DecorView.java | [all...] |
/prebuilts/tools/common/m2/repository/com/google/android/apps/common/testing/accessibility/framework/accessibility-test-framework/2.1/ |
accessibility-test-framework-2.1.jar | |