Searched refs:fabs (Results 1 - 23 of 23) sorted by relevance
/frameworks/av/media/libeffects/loudness/dsp/core/ |
H A D | dynamic_range_compression.cpp | 79 const float max_abs_x = std::max(std::fabs(x), kMinLogAbsValue); 107 const float max_abs_x = std::max(std::fabs(*x1), 108 std::max(std::fabs(*x2), kMinLogAbsValue));
|
/frameworks/av/tools/resampler_tools/ |
H A D | fir.cpp | 24 if (fabs(x) == 0.0f) return 1.0f; 45 ax=fabs(x); 206 atten = pow(10, -fabs(atof(optarg))*0.05 );
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.cpp | 244 result += fabs(iter->second); 256 if (fabs(iter->second / normalizer_) > epsilon) 277 if (fabs(iter->second/normalizer_) > epsilone) { 278 abs_val_vec.push_back(fabs(iter->second/normalizer_)); 294 if ((fabs(iter->second/normalizer_) - theta) < 0) { 316 abs_val_list.push_back(fabs(iter->second/normalizer_)); 317 curr_l1_norm += fabs(iter->second/normalizer_); 345 (fabs(iter->second/normalizer_) - theta),
|
/frameworks/native/include/ui/ |
H A D | TMatHelpers.h | 74 if (fabs(tmp[j][i]) > fabs(tmp[i][i])) {
|
/frameworks/av/media/libstagefright/ |
H A D | ClockEstimator.cpp | 88 if (fabs(div) < 1e-5 * mW * mW) {
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 91 return (normalA + normalB) / (1 + fabs(normalA.dot(normalB))); 173 bounds->outset(fabs(inverseScaleX) * (0.5f + Vertex::GeometryFudgeFactor()), 174 fabs(inverseScaleY) * (0.5f + Vertex::GeometryFudgeFactor())); 177 bounds->outset(halfStrokeWidth + fabs(inverseScaleX) * Vertex::GeometryFudgeFactor(), 178 halfStrokeWidth + fabs(inverseScaleY) * Vertex::GeometryFudgeFactor()); 981 float d1 = fabs((c1x - p2x) * dy - (c1y - p2y) * dx); 982 float d2 = fabs((c2x - p2x) * dy - (c2y - p2y) * dx);
|
H A D | DisplayListRenderer.cpp | 324 if (fabs(sweepAngle) >= 360.0f) {
|
H A D | Matrix.cpp | 72 return fabs(f) <= EPSILON;
|
H A D | OpenGLRenderer.cpp | 2706 linearFilter = fabs(y - (int) y) > 0.0f || fabs(x - (int) x) > 0.0f; 2801 || fabs(y - (int) y) > 0.0f 2802 || fabs(x - (int) x) > 0.0f;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 237 if (fabs(fp[i]) != 0.f) { 241 if (fabs(fpa[0]) != 0.f) key.u.addMask |= 0x1; 242 if (fabs(fpa[1]) != 0.f) key.u.addMask |= 0x2; 243 if (fabs(fpa[2]) != 0.f) key.u.addMask |= 0x4; 244 if (fabs(fpa[3]) != 0.f) key.u.addMask |= 0x8;
|
/frameworks/native/services/sensorservice/ |
H A D | mat.h | 315 if (fabs(m[i][j] - m[j][i]) > tolerance) 347 if (fabs(tmp[j][i]) > fabs(tmp[i][i])) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 50 return fabs(f) <= EPSILON; 54 return isZero(fabs(f) - 1.0f);
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 66 if (fabs(det) < 1e-6) { 107 if (fabs(det) < 1e-6) {
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 675 } while (fabs(result - prevResult) > threshold * result);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 188 return (float)(pow(pow(fabs(cos(p[0] * t / 4)) / p[1], p[4]) + 189 pow(fabs(sin(p[0] * t / 4)) / p[2], p[5]), 1 / p[3]));
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 422 extern float __attribute__((overloadable)) fabs(float v) { function 426 FN_FUNC_FN(fabs) 945 return fabs(v); 1010 return fabs(v);
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 551 if (fabs(tmp[j][i]) > fabs(tmp[i][i])) {
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 667 if (fabs(ctx->paint.letterSpacing) > 0.03)
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 4892 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop 4893 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { 4964 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop 4965 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { 6568 if (fabs(newValue - currentValue) > filter 6580 float newDistance = fabs(newValue - thresholdValue); 6582 float oldDistance = fabs(currentValue - thresholdValue);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixer.cpp | 977 if (mVolumeInc[i] != 0 && fabs(mVolume[i] - mPrevVolume[i]) <= fabs(mVolumeInc[i])) {
|
/frameworks/rs/api/ |
H A D | rs_core_math.spec | 324 name: fabs
|
/frameworks/rs/scriptc/ |
H A D | rs_core_math.rsh | 4824 extern float __attribute__((const, overloadable))fabs(float); 4833 extern float2 __attribute__((const, overloadable))fabs(float2); 4842 extern float3 __attribute__((const, overloadable))fabs(float3); 4851 extern float4 __attribute__((const, overloadable))fabs(float4);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2755 if (fabs(curRatio - ratio) < ASPECT_RATIO_TOLERANCE && maxSize.width < sizeArray[i]) {
|
Completed in 1538 milliseconds