/packages/apps/Gallery2/jni/filters/ |
highlight.c | 27 jfloat* lum = (*env)->GetFloatArrayElements(env, luminanceMap,0); local 34 hsv[0] = (unsigned short) clampMax(lum[((255*v)/4080)]*4080,4080);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_image.c | 87 u32 *lum, *cb, *cr; local 99 /*lint -save -e826 lum, cb and cr used to copy 4 bytes at the time, disable 101 lum = (u32*)image->luma; 104 ASSERT(!((u32)lum&0x3)); 115 *lum++ = tmp1; 116 *lum++ = tmp2; 119 *lum++ = tmp1; 120 *lum++ = tmp2; 121 lum += width-4; 179 u8 *lum, *cb, *cr local [all...] |
/external/skia/src/core/ |
SkMaskGamma.h | 57 U8CPU lum = base; local 59 lum |= base >> i; 61 return lum; 114 U8CPU lum = sk_t_scale255<MAX_LUM_BITS>(i); local 115 SkTMaskGamma_build_correcting_lut(fGammaTables[i], lum, contrast,
|
SkPaint.cpp | 1545 U8CPU lum = SkComputeLuminance(SkColorGetR(color), local [all...] |
/external/skia/src/gpu/batches/ |
GrAtlasTextBatch.cpp | 293 U8CPU lum = SkColorSpaceLuminance::computeLuminance(SK_GAMMA_EXPONENT, filteredColor); local 294 float correction = (*fDistanceAdjustTable)[lum >> kDistanceAdjustLumShift];
|
/external/skia/src/gpu/text/ |
GrAtlasTextContext.cpp | 47 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), local 51 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum));
|
/external/libjpeg-turbo/java/ |
TJBench.java | 250 int lum = (int)((double)(srcBuf[rindex] & 0xff) * 0.299 + local 253 if (lum > 255) lum = 255; 254 if (lum < 0) lum = 0; 255 dstBuf[rindex] = (byte)Math.abs((dstBuf[rindex] & 0xff) - lum); 256 dstBuf[gindex] = (byte)Math.abs((dstBuf[gindex] & 0xff) - lum); 257 dstBuf[bindex] = (byte)Math.abs((dstBuf[bindex] & 0xff) - lum); [all...] |
/external/skia/src/ports/ |
SkFontHost_mac.cpp | 1186 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); local [all...] |