Home
last modified time | relevance | path

Searched refs:fast_length (Results 1 – 20 of 20) sorted by relevance

/frameworks/rs/script_api/include/
Drs_vector_math.rsh169 * fast_length: Approximate length of a vector
180 fast_length(float v);
185 fast_length(float2 v);
190 fast_length(float3 v);
195 fast_length(float4 v);
236 * See also fast_length(), native_length().
322 * See also length(), fast_length().
/frameworks/rs/script_api/
Drs_vector_math.spec133 function: fast_length
183 See also @fast_length(), @native_length().
235 See also @length(), @fast_length().
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh51 const float sloped_dist_ratio = fast_length(axis_scale * coord) * sloped_inv_max_dist;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh52 const float sloped_dist_ratio = fast_length(axis_scale * coord) * sloped_inv_max_dist;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh52 const float sloped_dist_ratio = fast_length(axis_scale * coord) * sloped_inv_max_dist;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette_approx.rsh52 const float sloped_dist_ratio = fast_length(axis_scale * coord) * sloped_inv_max_dist;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dmandelbulb.rscript67 len = fast_length(p);
/frameworks/rs/driver/runtime/
Drs_cl.c1166 extern float __attribute__((overloadable)) fast_length(float v) { in FN_FUNC_FN()
1169 extern float __attribute__((overloadable)) fast_length(float2 v) { in fast_length() function
1172 extern float __attribute__((overloadable)) fast_length(float3 v) { in fast_length() function
1175 extern float __attribute__((overloadable)) fast_length(float4 v) { in fast_length() function
1180 return fast_length(lhs - rhs); in fast_distance()
1183 return fast_length(lhs - rhs); in fast_distance()
1186 return fast_length(lhs - rhs); in fast_distance()
1189 return fast_length(lhs - rhs); in fast_distance()
1648 float __attribute__((overloadable)) native_length(float v) { return fast_length(v);} in native_length()
1649 float __attribute__((overloadable)) native_length(float2 v) { return fast_length(v);} in native_length()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript1066 f = fast_length(f);
1067 f = fast_length(f2);
1068 f = fast_length(f3);
1069 f = fast_length(f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript1086 f = fast_length(f);
1087 f = fast_length(f2);
1088 f = fast_length(f3);
1089 f = fast_length(f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript1084 f = fast_length(f);
1085 f = fast_length(f2);
1086 f = fast_length(f3);
1087 f = fast_length(f4);
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript403 BENCH_FN_FUNC_FN(fast_length);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript2932 *(float*)buf648 = fast_length(*(float*)buf649);
2933 *(float*)buf650 = fast_length(*(float2*)buf651);
2934 *(float*)buf652 = fast_length(*(float3*)buf653);
2935 *(float*)buf654 = fast_length(*(float4*)buf655);
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rscript3491 *(float*)buf648 = fast_length(*(float*)buf649);
3492 *(float*)buf650 = fast_length(*(float2*)buf651);
3493 *(float*)buf652 = fast_length(*(float3*)buf653);
3494 *(float*)buf654 = fast_length(*(float4*)buf655);
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript3790 *(float*)buf872 = fast_length(*(float*)buf873);
3791 *(float*)buf874 = fast_length(*(float2*)buf875);
3792 *(float*)buf876 = fast_length(*(float3*)buf877);
3793 *(float*)buf878 = fast_length(*(float4*)buf879);
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript3771 *(float*)buf872 = fast_length(*(float*)buf873);
3772 *(float*)buf874 = fast_length(*(float2*)buf875);
3773 *(float*)buf876 = fast_length(*(float3*)buf877);
3774 *(float*)buf878 = fast_length(*(float4*)buf879);
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript4587 *(float*)buf1178 = fast_length(*(float*)buf1179);
4588 *(float*)buf1180 = fast_length(*(float2*)buf1181);
4589 *(float*)buf1182 = fast_length(*(float3*)buf1183);
4590 *(float*)buf1184 = fast_length(*(float4*)buf1185);
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rscript5307 *(float*)buf1178 = fast_length(*(float*)buf1179);
5308 *(float*)buf1180 = fast_length(*(float2*)buf1181);
5309 *(float*)buf1182 = fast_length(*(float3*)buf1183);
5310 *(float*)buf1184 = fast_length(*(float4*)buf1185);
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rscript5237 *(float*)buf1178 = fast_length(*(float*)buf1179);
5238 *(float*)buf1180 = fast_length(*(float2*)buf1181);
5239 *(float*)buf1182 = fast_length(*(float3*)buf1183);
5240 *(float*)buf1184 = fast_length(*(float4*)buf1185);
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript7179 *(float*)buf1574 = fast_length(*(float*)buf1575);
7180 *(float*)buf1576 = fast_length(*(float2*)buf1577);
7181 *(float*)buf1578 = fast_length(*(float3*)buf1579);
7182 *(float*)buf1580 = fast_length(*(float4*)buf1581);