Home
last modified time | relevance | path

Searched refs:kScale (Results 1 – 6 of 6) sorted by relevance

/external/skia/bench/
DColorPrivBench.cpp12 template <bool kFast, bool kScale>
18 fName.append(kScale ? "_255" : "_256"); in FourByteInterpBench()
39 if (kScale) fScales[256] = 255; // We'll just do 255 twice if we're limited to [0,255]. in onDelayedSetup()
60 if (kFast && kScale) { in onDraw()
64 } else if (kScale) { in onDraw()
/external/skia/gm/
Dblurredclippedcircle.cpp43 constexpr float kScale = 2.0f; in onDraw() local
44 canvas->scale(kScale, kScale); in onDraw()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp239 static const float kScale = 1.0f / 255.0f; in onSetData() local
241 m[4] * kScale, m[9] * kScale, m[14] * kScale, m[19] * kScale, in onSetData()
/external/webrtc/webrtc/base/
Drandom_unittest.cc287 const double kScale = 1 / (kStddev * sqrt(2.0 * kPi)); in TEST() local
292 double f_left = kScale * exp((n - kMean - 0.5) * (n - kMean - 0.5) / kDiv); in TEST()
293 double f_mid = kScale * exp((n - kMean) * (n - kMean) / kDiv); in TEST()
294 double f_right = kScale * exp((n - kMean + 0.5) * (n - kMean + 0.5) / kDiv); in TEST()
/external/skia/src/jumper/
DSkJumper_stages.cpp1369 template <int kScale>
1371 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bilinear_x()
1375 if (kScale == -1) { scalex = 1.0f - fx; } in bilinear_x()
1376 if (kScale == +1) { scalex = fx; } in bilinear_x()
1379 template <int kScale>
1381 *y = unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bilinear_y()
1385 if (kScale == -1) { scaley = 1.0f - fy; } in bilinear_y()
1386 if (kScale == +1) { scaley = fy; } in bilinear_y()
1411 template <int kScale>
1413 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bicubic_x()
[all …]
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator_wrapper.c101 const float kScale = 1 / 64.0; in BinarySpectrumFloat() local
116 MeanEstimatorFloat(spectrum[i], kScale, &(threshold_spectrum[i].float_)); in BinarySpectrumFloat()