Home
last modified time | relevance | path

Searched refs:contrast (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/external/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp54 SkScalar contrast = SK_GAMMA_CONTRAST; local
56 SkScalar contrast = 0.5f; local
59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skqp/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp54 SkScalar contrast = SK_GAMMA_CONTRAST; local
56 SkScalar contrast = 0.5f; local
59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skqp/src/core/
DSkDeviceProfile.cpp26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, in SkDeviceProfile() argument
29 fContrastScale = pin(contrast, 0, 1); in SkDeviceProfile()
41 float contrast, in Create() argument
44 return new SkDeviceProfile(gammaExp, contrast, config, level); in Create()
DSkMaskGamma.cpp71 static float apply_contrast(float srca, float contrast) { in apply_contrast() argument
72 return srca + ((1.0f - srca) * contrast * srca); in apply_contrast()
75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, in SkTMaskGamma_build_correcting_lut() argument
88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst; in SkTMaskGamma_build_correcting_lut()
DSkMaskGamma.h79 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
110 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
115 SkTMaskGamma_build_correcting_lut(fGammaTables[i], lum, contrast, in SkTMaskGamma()
DSkScalerContext.h267 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
275 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
DSkPaint.cpp1259 static const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGa… in cachedMaskGamma() argument
1261 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cachedMaskGamma()
1267 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cachedMaskGamma()
1269 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cachedMaskGamma()
1270 gContrast = contrast; in cachedMaskGamma()
1290 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
1293 const SkMaskGamma& maskGamma = cachedMaskGamma(contrast, in GetGammaLUTSize()
1303 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
1306 const SkMaskGamma& maskGamma = cachedMaskGamma(contrast, in GetGammaLUTData()
/external/skia/src/core/
DSkDeviceProfile.cpp26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, in SkDeviceProfile() argument
29 fContrastScale = pin(contrast, 0, 1); in SkDeviceProfile()
41 float contrast, in Create() argument
44 return new SkDeviceProfile(gammaExp, contrast, config, level); in Create()
DSkMaskGamma.cpp71 static float apply_contrast(float srca, float contrast) { in apply_contrast() argument
72 return srca + ((1.0f - srca) * contrast * srca); in apply_contrast()
75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, in SkTMaskGamma_build_correcting_lut() argument
88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst; in SkTMaskGamma_build_correcting_lut()
DSkMaskGamma.h79 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
110 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
115 SkTMaskGamma_build_correcting_lut(fGammaTables[i], lum, contrast, in SkTMaskGamma()
DSkPaint.cpp1258 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
1261 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
1267 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
1269 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
1270 gContrast = contrast; in cached_mask_gamma()
1288 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
1291 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTSize()
1301 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
1304 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTData()
/external/webrtc/webrtc/modules/video_processing/
Dcontent_analysis.cc196 float contrast = pixelSqSumAvg - (pixelSumAvg * pixelSumAvg); in TemporalDiffMetric_C() local
198 if (contrast > 0.0) { in TemporalDiffMetric_C()
199 contrast = sqrt(contrast); in TemporalDiffMetric_C()
200 motion_magnitude_ = tempDiffAvg / contrast; in TemporalDiffMetric_C()
Dcontent_analysis_sse2.cc109 float contrast = pixelSqSumAvg - (pixelSumAvg * pixelSumAvg); in TemporalDiffMetric_SSE2() local
111 if (contrast > 0.0) { in TemporalDiffMetric_SSE2()
112 contrast = sqrt(contrast); in TemporalDiffMetric_SSE2()
113 motion_magnitude_ = tempDiffAvg / contrast; in TemporalDiffMetric_SSE2()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_AdjustContrastv2.pbtxt15 A float multiplier for adjusting contrast.
21 The contrast-adjusted image or images.
24 summary: "Adjust the contrast of one or more images."
/external/skqp/include/effects/
DSkHighContrastFilter.h36 SkScalar contrast) in SkHighContrastConfig()
39 fContrast(contrast) {} in SkHighContrastConfig()
/external/skia/include/effects/
DSkHighContrastFilter.h36 SkScalar contrast) in SkHighContrastConfig()
39 fContrast(contrast) {} in SkHighContrastConfig()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp255 const char* contrast; in emitCode() local
257 "contrast", &contrast); in emitCode()
352 fragBuilder->codeAppendf("if (%s != 0) {", contrast); in emitCode()
353 fragBuilder->codeAppendf(" half m = (1 + %s) / (1 - %s);", contrast, contrast); in emitCode()
/external/skia/src/effects/
DSkHighContrastFilter.cpp255 const char* contrast; in emitCode() local
257 "contrast", &contrast); in emitCode()
352 fragBuilder->codeAppendf("if (%s != 0) {", contrast); in emitCode()
353 fragBuilder->codeAppendf(" half m = (1 + %s) / (1 - %s);", contrast, contrast); in emitCode()
/external/autotest/client/site_tests/video_WebRtcCamera/
Dssim.js84 var contrast = (2 * sigmaX * sigmaY + C2) / (sigmaX2 + sigmaY2 + C2);
87 return luminance * contrast * structure;
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js84 var contrast = (2 * sigmaX * sigmaY + C2) / (sigmaX2 + sigmaY2 + C2);
87 return luminance * contrast * structure;
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dattributes.c96 context_priv->procamp.contrast = value / 1000.0f + 1.0f; in XvMCSetAttribute()
140 *value = context_priv->procamp.contrast * 1000 - 1000; in XvMCGetAttribute()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_csc.h38 float contrast; member
/external/ImageMagick/MagickCore/
Dfeature.h32 contrast[4], member
/external/clang/test/CodeGen/
Dbool-bitfield.c9 int contrast; member
/external/libxcam/xcore/base/
Dxcam_params.h86 double contrast; member

12345678910>>...15