Home
last modified time | relevance | path

Searched refs:fmax (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/services/audioflinger/
DAudioResamplerFirGen.h526 double fmax, fmin;
531 fmin = fmax = trf;
538 if (trf>fmax) {
539 fmax = trf;
550 firMax = fmax * norm;
597 double fmin, fmax;
598 testFir(coef, L, halfNumCoef, 0., fp, passSteps, fmin, fmax);
599 double d1 = (fmax - fmin)/2.;
601 passMax = fmax;
603 testFir(coef, L, halfNumCoef, fs, 0.5, stopSteps, fmin, fmax);
[all …]
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dbwfilter.rs33 imageMax = fmax(sr,imageMax);
48 localMax = fmax(g,b);
49 localMax = fmax(r,localMax);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dbwfilter.rs33 imageMax = fmax(sr,imageMax);
48 localMax = fmax(g,b);
49 localMax = fmax(r,localMax);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dbwfilter.rs33 imageMax = fmax(sr,imageMax);
48 localMax = fmax(g,b);
49 localMax = fmax(r,localMax);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java269 private float fmax(float v1, float v2) { in fmax() method in UT_math_agree
272 private float[] fmax(float[] v1, float[] v2) { in fmax() method in UT_math_agree
275 private float[] fmax(float[] v1, float v2) { in fmax() method in UT_math_agree
508 s.set_fmax_rand_f1_f1(fmax(rand_f1_0, rand_f1_1)); in initializeValues()
509 s.set_fmax_rand_f2_f2(pack_f2(fmax(rand_f2_0, rand_f2_1))); in initializeValues()
510 s.set_fmax_rand_f3_f3(pack_f3(fmax(rand_f3_0, rand_f3_1))); in initializeValues()
511 s.set_fmax_rand_f4_f4(pack_f4(fmax(rand_f4_0, rand_f4_1))); in initializeValues()
512 s.set_fmax_rand_f2_f1(pack_f2(fmax(rand_f2_0, rand_f1_1))); in initializeValues()
513 s.set_fmax_rand_f3_f1(pack_f3(fmax(rand_f3_0, rand_f1_1))); in initializeValues()
514 s.set_fmax_rand_f4_f1(pack_f4(fmax(rand_f4_0, rand_f1_1))); in initializeValues()
Dmath_agree.rs55 DECLARE_REFERENCE_SET_VEC_VEC(float, f, fmax);
56 DECLARE_REFERENCE_SET_VEC_SCL(float, f, fmax);
385 TEST_FN_FN_ALL(fmax);
386 TEST_FN_F_ALL(fmax);
Dmath.rs282 TEST_FN_FUNC_FN_FN(fmax);
283 TEST_FN_FUNC_FN_F(fmax);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_math_agree.java269 private float fmax(float v1, float v2) { in fmax() method in UT_math_agree
272 private float[] fmax(float[] v1, float[] v2) { in fmax() method in UT_math_agree
275 private float[] fmax(float[] v1, float v2) { in fmax() method in UT_math_agree
508 s.set_fmax_rand_f1_f1(fmax(rand_f1_0, rand_f1_1)); in initializeValues()
509 s.set_fmax_rand_f2_f2(pack_f2(fmax(rand_f2_0, rand_f2_1))); in initializeValues()
510 s.set_fmax_rand_f3_f3(pack_f3(fmax(rand_f3_0, rand_f3_1))); in initializeValues()
511 s.set_fmax_rand_f4_f4(pack_f4(fmax(rand_f4_0, rand_f4_1))); in initializeValues()
512 s.set_fmax_rand_f2_f1(pack_f2(fmax(rand_f2_0, rand_f1_1))); in initializeValues()
513 s.set_fmax_rand_f3_f1(pack_f3(fmax(rand_f3_0, rand_f1_1))); in initializeValues()
514 s.set_fmax_rand_f4_f1(pack_f4(fmax(rand_f4_0, rand_f1_1))); in initializeValues()
Dmath_agree.rs55 DECLARE_REFERENCE_SET_VEC_VEC(float, f, fmax);
56 DECLARE_REFERENCE_SET_VEC_SCL(float, f, fmax);
385 TEST_FN_FN_ALL(fmax);
386 TEST_FN_F_ALL(fmax);
Dmath.rs275 TEST_FN_FUNC_FN_FN(fmax);
276 TEST_FN_FUNC_FN_F(fmax);
/frameworks/base/libs/hwui/
DFontRenderer.cpp563 mBounds->right = fmax(mBounds->right, x3); in appendMeshQuad()
564 mBounds->bottom = fmax(mBounds->bottom, y1); in appendMeshQuad()
581 mBounds->right = fmax(mBounds->right, fmax(x1, fmax(x2, fmax(x3, x4)))); in appendRotatedMeshQuad()
582 mBounds->bottom = fmax(mBounds->bottom, fmax(y1, fmax(y2, fmax(y3, y4)))); in appendRotatedMeshQuad()
DCaches.cpp723 propertyAmbientRatio = fmin(fmax(atof(value), 0.0), 10.0); in setTempProperty()
727 propertyLightDiameter = fmin(fmax(atof(value), 0.0), 3000.0); in setTempProperty()
731 propertyLightPosY = fmin(fmax(atof(value), 0.0), 3000.0); in setTempProperty()
735 propertyLightPosZ = fmin(fmax(atof(value), 0.0), 3000.0); in setTempProperty()
DPatch.cpp140 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; in createMesh()
192 float u2 = fmax(0.0f, stepX - uOffset) / bitmapWidth; in generateRow()
DPathCache.cpp95 const float pathWidth = fmax(bounds.width(), 1.0f); in computeBounds()
96 const float pathHeight = fmax(bounds.height(), 1.0f); in computeBounds()
101 offset = (int) floorf(fmax(paint->getStrokeWidth(), 1.0f) * 1.5f + 0.5f); in computeBounds()
/frameworks/rs/driver/runtime/arch/
Dgeneric.c114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() function
118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() function
125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() function
133 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() function
142 extern float2 __attribute__((overloadable)) fmax(float2 v1, float v2) { in fmax() function
149 extern float3 __attribute__((overloadable)) fmax(float3 v1, float v2) { in fmax() function
157 extern float4 __attribute__((overloadable)) fmax(float4 v1, float v2) { in fmax() function
396 return fmax(v1, v2); in max()
400 return fmax(v1, v2); in max()
404 return fmax(v1, v2); in max()
[all …]
Dasimd.ll8 declare <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float>, <2 x float>) nounwind readnone
9 declare <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float>, <4 x float>) nounwind readnone
110 …%2 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %1, <4 x float> %low) nounwin…
126 …%b = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %a, <4 x float> %_low) nounwi…
136 …%b = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %a, <4 x float> %_low) nounwi…
143 …%2 = tail call <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float> %1, <2 x float> %low) nounwin…
151 …%b = tail call <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float> %a, <2 x float> %_low) nounwi…
269 …%1 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %v2) nounwin…
275 …%2 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %1) nounwind…
282 …%3 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %1, <4 x float> %2) nounwind …
[all …]
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs102 TEST_FUNC_2(fmax);
103 TEST_FUNC_2F(fmax);
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMathFuncs.cpp56 IMPORT_F32_FN_F32_F32(fmax)
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs142 TEST_FN_FUNC_FN_FN(fmax);
143 TEST_FN_FUNC_FN_F(fmax);
/frameworks/rs/driver/runtime/
Drs_cl.c17 extern float __attribute__((overloadable)) fmax(float v, float v2);
18 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2);
19 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2);
20 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2);
1248 v2 = fmax(v2 * y, -125.f); in native_powr()
1253 v2 = fmax(v2 * y, -125.f); in native_powr()
1258 v2 = fmax(v2 * y, -125.f); in native_powr()
1263 v2 = fmax(v2 * y, -125.f); in native_powr()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs275 TEST_FN_FUNC_FN_FN(fmax);
276 TEST_FN_FUNC_FN_F(fmax);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs275 TEST_FN_FUNC_FN_FN(fmax);
276 TEST_FN_FUNC_FN_F(fmax);
Dmath.rs.bak261 TEST_FN_FUNC_FN_FN(fmax);
262 TEST_FN_FUNC_FN_F(fmax);
Dmath.rs.orig275 TEST_FN_FUNC_FN_FN(fmax);
276 TEST_FN_FUNC_FN_F(fmax);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs331 BENCH_FN_FUNC_FN_FN(fmax);
332 BENCH_FN_FUNC_FN_F(fmax);

12