Searched refs:kScale (Results 1 – 6 of 6) sorted by relevance
12 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()
43 constexpr float kScale = 2.0f; in onDraw() local44 canvas->scale(kScale, kScale); in onDraw()
239 static const float kScale = 1.0f / 255.0f; in onSetData() local241 m[4] * kScale, m[9] * kScale, m[14] * kScale, m[19] * kScale, in onSetData()
287 const double kScale = 1 / (kStddev * sqrt(2.0 * kPi)); in TEST() local292 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()
1369 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 …]
101 const float kScale = 1 / 64.0; in BinarySpectrumFloat() local116 MeanEstimatorFloat(spectrum[i], kScale, &(threshold_spectrum[i].float_)); in BinarySpectrumFloat()