Home
last modified time | relevance | path

Searched refs:half_sqrt (Results 1 – 22 of 22) sorted by relevance

/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh54 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye_approx.rsh52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye_approx.rsh52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dluts_for_speedup_f32.rsh76 (int)round(half_sqrt(tmp));
Dlayered_filter_d1new_helper.rsh76 …rsSetElementAt_uchar(g_sharp_matte, (uchar)(dilation_radius + 1 - (int)(half_sqrt((float)min_dist)…
116 …rsSetElementAt_uchar(g_sharp_matte, (uchar)(dilation_radius + 1 - (int)(half_sqrt((float)min_dist)…
Dlayered_filter_f32_helper.rsh56 sharp->matte = (uchar)(dilation_radius + 1 - (int)half_sqrt((float)min_dist));
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript1056 f = half_sqrt(f);
1057 f2 = half_sqrt(f2);
1058 f3 = half_sqrt(f3);
1059 f4 = half_sqrt(f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript1076 f = half_sqrt(f);
1077 f2 = half_sqrt(f2);
1078 f3 = half_sqrt(f3);
1079 f4 = half_sqrt(f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript1074 f = half_sqrt(f);
1075 f2 = half_sqrt(f2);
1076 f3 = half_sqrt(f3);
1077 f4 = half_sqrt(f4);
/frameworks/rs/driver/runtime/
Drs_cl.c1161 extern float __attribute__((overloadable)) half_sqrt(float v) { in half_sqrt() function
1164 FN_FUNC_FN(half_sqrt) in FN_FUNC_FN() argument
1170 return half_sqrt(v.x*v.x + v.y*v.y); in fast_length()
1173 return half_sqrt(v.x*v.x + v.y*v.y + v.z*v.z); in fast_length()
1176 return half_sqrt(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w); in fast_length()
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript401 BENCH_FN_FUNC_FN(half_sqrt);
/frameworks/rs/script_api/
Drs_math.spec1164 function: half_sqrt
2666 See also @sqrt(), @half_sqrt().
3173 See also @half_sqrt(), @native_sqrt().
/frameworks/rs/script_api/include/
Drs_math.rsh2129 * half_sqrt: Square root computed to 16 bit precision
2139 half_sqrt(float v);
2144 half_sqrt(float2 v);
2149 half_sqrt(float3 v);
2154 half_sqrt(float4 v);
5285 * See also sqrt(), half_sqrt().
6137 * See also half_sqrt(), native_sqrt().
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript2990 *(float*)buf802 = half_sqrt(*(float*)buf803);
2991 *(float2*)buf804 = half_sqrt(*(float2*)buf805);
2992 *(float3*)buf806 = half_sqrt(*(float3*)buf807);
2993 *(float4*)buf808 = half_sqrt(*(float4*)buf809);
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rscript3549 *(float*)buf802 = half_sqrt(*(float*)buf803);
3550 *(float2*)buf804 = half_sqrt(*(float2*)buf805);
3551 *(float3*)buf806 = half_sqrt(*(float3*)buf807);
3552 *(float4*)buf808 = half_sqrt(*(float4*)buf809);
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript3848 *(float*)buf1026 = half_sqrt(*(float*)buf1027);
3849 *(float2*)buf1028 = half_sqrt(*(float2*)buf1029);
3850 *(float3*)buf1030 = half_sqrt(*(float3*)buf1031);
3851 *(float4*)buf1032 = half_sqrt(*(float4*)buf1033);
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript3829 *(float*)buf1026 = half_sqrt(*(float*)buf1027);
3830 *(float2*)buf1028 = half_sqrt(*(float2*)buf1029);
3831 *(float3*)buf1030 = half_sqrt(*(float3*)buf1031);
3832 *(float4*)buf1032 = half_sqrt(*(float4*)buf1033);
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript4645 *(float*)buf1332 = half_sqrt(*(float*)buf1333);
4646 *(float2*)buf1334 = half_sqrt(*(float2*)buf1335);
4647 *(float3*)buf1336 = half_sqrt(*(float3*)buf1337);
4648 *(float4*)buf1338 = half_sqrt(*(float4*)buf1339);
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rscript5365 *(float*)buf1332 = half_sqrt(*(float*)buf1333);
5366 *(float2*)buf1334 = half_sqrt(*(float2*)buf1335);
5367 *(float3*)buf1336 = half_sqrt(*(float3*)buf1337);
5368 *(float4*)buf1338 = half_sqrt(*(float4*)buf1339);
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rscript5295 *(float*)buf1332 = half_sqrt(*(float*)buf1333);
5296 *(float2*)buf1334 = half_sqrt(*(float2*)buf1335);
5297 *(float3*)buf1336 = half_sqrt(*(float3*)buf1337);
5298 *(float4*)buf1338 = half_sqrt(*(float4*)buf1339);
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript7279 *(float*)buf1850 = half_sqrt(*(float*)buf1851);
7280 *(float2*)buf1852 = half_sqrt(*(float2*)buf1853);
7281 *(float3*)buf1854 = half_sqrt(*(float3*)buf1855);
7282 *(float4*)buf1856 = half_sqrt(*(float4*)buf1857);