Home
last modified time | relevance | path

Searched refs:contrast (Results 1 – 25 of 374) 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/skia/src/core/
DSkMaskGamma.cpp72 static float apply_contrast(float srca, float contrast) { in apply_contrast() argument
73 return srca + ((1.0f - srca) * contrast * srca); in apply_contrast()
76 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, in SkTMaskGamma_build_correcting_lut() argument
89 const float adjustedContrast = SkScalarToFloat(contrast) * linDst; in SkTMaskGamma_build_correcting_lut()
DSkMaskGamma.h80 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
111 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
116 SkTMaskGamma_build_correcting_lut(fGammaTables[i], lum, contrast, in SkTMaskGamma()
DSkScalerContext.cpp113 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
116 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
122 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
124 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
125 gContrast = contrast; in cached_mask_gamma()
146 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
149 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTSize()
159 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
162 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTData()
DSkScalerContext.h287 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
295 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
/external/skqp/src/core/
DSkMaskGamma.cpp72 static float apply_contrast(float srca, float contrast) { in apply_contrast() argument
73 return srca + ((1.0f - srca) * contrast * srca); in apply_contrast()
76 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, in SkTMaskGamma_build_correcting_lut() argument
89 const float adjustedContrast = SkScalarToFloat(contrast) * linDst; in SkTMaskGamma_build_correcting_lut()
DSkMaskGamma.h80 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast,
111 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
116 SkTMaskGamma_build_correcting_lut(fGammaTables[i], lum, contrast, in SkTMaskGamma()
DSkScalerContext.cpp84 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
87 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
93 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
95 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
96 gContrast = contrast; in cached_mask_gamma()
114 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
117 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTSize()
127 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
130 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."
Dapi_def_AnonymousIterator.pbtxt7 "IteratorGetNext" op. In contrast to Iterator, AnonymousIterator prevents
/external/skia/include/effects/
DSkHighContrastFilter.h36 SkScalar contrast) in SkHighContrastConfig()
39 fContrast(contrast) {} in SkHighContrastConfig()
/external/skqp/include/effects/
DSkHighContrastFilter.h36 SkScalar contrast) in SkHighContrastConfig()
39 fContrast(contrast) {} in SkHighContrastConfig()
/external/skia/src/effects/
DSkHighContrastFilter.cpp243 const char* contrast; in emitCode() local
245 "contrast", &contrast); in emitCode()
336 fragBuilder->codeAppendf("if (%s != 0) {", contrast); in emitCode()
337 fragBuilder->codeAppendf(" half m = (1 + %s) / (1 - %s);", contrast, contrast); in emitCode()
/external/skqp/src/effects/
DSkHighContrastFilter.cpp241 const char* contrast; in emitCode() local
243 "contrast", &contrast); in emitCode()
334 fragBuilder->codeAppendf("if (%s != 0) {", contrast); in emitCode()
335 fragBuilder->codeAppendf(" half m = (1 + %s) / (1 - %s);", contrast, contrast); in emitCode()
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js84 var contrast = (2 * sigmaX * sigmaY + C2) / (sigmaX2 + sigmaY2 + C2);
87 return luminance * contrast * structure;
/external/autotest/client/site_tests/video_WebRtcCamera/
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
/external/google-fonts/arbutus-slab/
DMETADATA6 "Arbutus Slab is a sturdy, medium contrast, slab serif typeface inspired by "

12345678910>>...15