Home
last modified time | relevance | path

Searched refs:float (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/frameworks/rs/driver/runtime/arch/
Dx86_sse2.ll4 declare <4 x float> @llvm.x86.sse.min.ps(<4 x float>, <4 x float>)
5 declare <4 x float> @llvm.x86.sse.max.ps(<4 x float>, <4 x float>)
6 declare <4 x float> @llvm.x86.sse.min.ss(<4 x float>, <4 x float>)
7 declare <4 x float> @llvm.x86.sse.max.ss(<4 x float>, <4 x float>)
9 declare float @llvm.sqrt.f32(float) nounwind readnone
10 declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) nounwind readnone
11 declare <3 x float> @llvm.sqrt.v3f32(<3 x float>) nounwind readnone
12 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) nounwind readnone
14 declare float @llvm.exp.f32(float) nounwind readonly
15 declare float @llvm.pow.f32(float, float) nounwind readonly
[all …]
Dx86_sse3.ll5 declare <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float>, <4 x float>) nounwind readnone
6 declare float @llvm.sqrt.f32(float) nounwind readnone
8 define float @_Z3dotDv4_fS_(<4 x float> %lhs, <4 x float> %rhs) nounwind readnone {
9 %1 = fmul <4 x float> %lhs, %rhs
10 …%2 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %1, <4 x float> %1) nounwind readnone
11 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
12 %4 = extractelement <4 x float> %3, i32 0
13 ret float %4
16 define float @_Z3dotDv3_fS_(<3 x float> %lhs, <3 x float> %rhs) nounwind readnone {
17 %1 = fmul <3 x float> %lhs, %rhs
[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
17 declare <2 x float> @llvm.aarch64.neon.fmin.v2f32(<2 x float>, <2 x float>) nounwind readnone
18 declare <4 x float> @llvm.aarch64.neon.fmin.v4f32(<4 x float>, <4 x float>) nounwind readnone
34 declare <2 x float> @llvm.aarch64.neon.frecpe.v2f32(<2 x float>) nounwind readnone
35 declare <4 x float> @llvm.aarch64.neon.frecpe.v4f32(<4 x float>) nounwind readnone
37 declare <2 x float> @llvm.aarch64.neon.frsqrte.v2f32(<2 x float>) nounwind readnone
38 declare <4 x float> @llvm.aarch64.neon.frsqrte.v4f32(<4 x float>) nounwind readnone
40 declare <2 x float> @llvm.aarch64.neon.frecps.v2f32(<2 x float>, <2 x float>) nounwind readnone
41 declare <4 x float> @llvm.aarch64.neon.frecps.v4f32(<4 x float>, <4 x float>) nounwind readnone
[all …]
Dneon.ll8 declare <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float>, <2 x float>) nounwind readnone
9 declare <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float>, <4 x float>) nounwind readnone
17 declare <2 x float> @llvm.arm.neon.vmins.v2f32(<2 x float>, <2 x float>) nounwind readnone
18 declare <4 x float> @llvm.arm.neon.vmins.v4f32(<4 x float>, <4 x float>) nounwind readnone
38 declare <2 x float> @llvm.arm.neon.vrecpe.v2f32(<2 x float>) nounwind readnone
39 declare <4 x float> @llvm.arm.neon.vrecpe.v4f32(<4 x float>) nounwind readnone
41 declare <2 x float> @llvm.arm.neon.vrsqrte.v2f32(<2 x float>) nounwind readnone
42 declare <4 x float> @llvm.arm.neon.vrsqrte.v4f32(<4 x float>) nounwind readnone
44 declare <2 x float> @llvm.arm.neon.vrecps.v2f32(<2 x float>, <2 x float>) nounwind readnone
45 declare <4 x float> @llvm.arm.neon.vrecps.v4f32(<4 x float>, <4 x float>) nounwind readnone
[all …]
/frameworks/rs/driver/runtime/ll64/
Dmath.ll4 declare float @llvm.sqrt.f32(float)
5 declare float @llvm.pow.f32(float, float)
6 declare float @llvm.fabs.f32(float)
7 declare <2 x float> @llvm.fabs.v2f32(<2 x float>)
8 declare <3 x float> @llvm.fabs.v3f32(<3 x float>)
9 declare <4 x float> @llvm.fabs.v4f32(<4 x float>)
11 define float @_Z4sqrtf(float %v) nounwind readnone alwaysinline {
12 %1 = tail call float @llvm.sqrt.f32(float %v)
13 ret float %1
16 define float @_Z3powff(float %v1, float %v2) nounwind readnone alwaysinline {
[all …]
/frameworks/rs/driver/runtime/ll32/
Dmath.ll4 declare float @llvm.sqrt.f32(float)
5 declare float @llvm.pow.f32(float, float)
6 declare float @llvm.fabs.f32(float)
7 declare <2 x float> @llvm.fabs.v2f32(<2 x float>)
8 declare <3 x float> @llvm.fabs.v3f32(<3 x float>)
9 declare <4 x float> @llvm.fabs.v4f32(<4 x float>)
11 define float @_Z4sqrtf(float %v) nounwind readnone alwaysinline {
12 %1 = tail call float @llvm.sqrt.f32(float %v)
13 ret float %1
16 define float @_Z3powff(float %v1, float %v2) nounwind readnone alwaysinline {
[all …]
/frameworks/base/packages/Keyguard/
Dproguard.flags2 public void setBackgroundAlpha(float);
3 public float getBackgroundAlpha();
4 public void setContentAlpha(float);
5 public float getContentAlpha();
6 public void setAlpha(float);
7 public float getAlpha();
10 public void setRotationX(float);
11 public float getRotationX();
12 public void setRotationY(float);
13 public float getRotationY();
[all …]
/frameworks/rs/rsov/compiler/tests/image/
Dcontrast.ll18 @brightM = internal unnamed_addr global float 0.000000e+00, align 4
19 @brightC = internal unnamed_addr global float 0.000000e+00, align 4
22 define void @setBright(float %v) #0 {
24 %div = fdiv float %v, 1.000000e+02
25 %call = tail call float @_Z3powff(float 2.000000e+00, float %div) #4
26 store float %call, float* @brightM, align 4, !tbaa !11
27 %mul = fmul float %call, 1.270000e+02
28 %sub = fsub float 1.270000e+02, %mul
29 store float %sub, float* @brightC, align 4, !tbaa !11
34 declare float @_Z3powff(float, float) #1
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs23 float jitter[JITTER_LENGTH];
29 float zoomFactor;
34 static float rscale; constant
65 static float triLinear(float v_0_0_0, float v_0_0_1, float v_0_1_0, float v_0_1_1, constant
66 float v_1_0_0, float v_1_0_1, float v_1_1_0, float v_1_1_1,
68 float v_0_0 = mix(v_0_0_0, v_0_0_1, delta.x);
69 float v_0_1 = mix(v_0_1_0, v_0_1_1, delta.x);
70 float v_1_0 = mix(v_1_0_0, v_1_0_1, delta.x);
71 float v_1_1 = mix(v_1_1_0, v_1_1_1, delta.x);
72 float v_0 = mix(v_0_0, v_0_1, delta.y);
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dcamera_response.rsh24 // Quantize a float in [0,1] using an integer in [0,kLUTLength-1].
27 static const float kDefaultA = 2.0f;
28 static const float kDefaultB = 4.0f;
29 static const float kDefaultC = 3.0f;
35 float a;
36 float b;
37 float c;
38 float lut_apply_crf_float[kLUTLength + 1];
39 float lut_remove_crf_float[kLUTLength + 1];
44 static inline float ApplyCRF(float v, const CameraResponse_t* camera_response) {
[all …]
Dcamera_response_fast.rsh24 // Quantize a float in [0,1] using an integer in [0,kLUTLength-1].
27 static const float kDefaultA = 2.0f;
28 static const float kDefaultB = 4.0f;
29 static const float kDefaultC = 3.0f;
36 static inline float ApplyCRFdefault(float v) {
37 const float pow_va = pow(v, kDefaultA);
38 const float exp_b = exp(kDefaultB);
39 const float x1 = (exp_b + 1.0f) * pow_va;
40 const float x2 = exp_b * pow_va + 1.0f;
44 static inline float RemoveCRFdefault(float v) {
[all …]
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvibrance_f.rs20 float vibrance = 50.0f;
22 static const float Rf = 0.2999f; constant
23 static const float Gf = 0.587f; constant
24 static const float Bf = 0.114f; constant
26 static const float Vib = 0.5f; constant
32 float red = (r-max(g, b)) * (1.f / 256.f);
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
[all …]
Dfisheye_approx_f.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k,
29 inv_dimensions.x = 1.f / (float)dim_x;
30 inv_dimensions.y = 1.f / (float)dim_y;
35 axis_scale.y = (float)dim_y / (float)dim_x;
37 axis_scale.x = (float)dim_x / (float)dim_y;
39 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);
40 const float bound = sqrt(bound2);
41 const float radius = 1.15f * bound;
43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvibrance.rs20 float vibrance = 0.f;
22 static const float Rf = 0.2999f; constant
23 static const float Gf = 0.587f; constant
24 static const float Bf = 0.114f; constant
26 static float Vib = 0.f; constant
32 float red = (r-max(g, b)) * (1.f / 256.f);
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
[all …]
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
37 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
[all …]
Dfisheye.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
37 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvibrance.rs20 float vibrance = 0.f;
22 static const float Rf = 0.2999f; constant
23 static const float Gf = 0.587f; constant
24 static const float Bf = 0.114f; constant
26 static float Vib = 0.f; variable
32 float red = (r-max(g, b)) * (1.f / 256.f);
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
[all …]
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
37 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvibrance.rs20 float vibrance = 0.f;
22 static const float Rf = 0.2999f; constant
23 static const float Gf = 0.587f; constant
24 static const float Bf = 0.114f; constant
26 static float Vib = 0.f; variable
32 float red = (r-max(g, b)) * (1.f / 256.f);
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
[all …]
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
37 const float bound2 = 0.25f * (axis_scale.x*axis_scale.x + axis_scale.y*axis_scale.y);
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
[all …]
/frameworks/support/dynamic-animation/api/
D26.0.0.txt7 method public float getMinimumVisibleChange();
11 method public T setMaxValue(float);
12 method public T setMinValue(float);
13 method public T setMinimumVisibleChange(float);
14 method public T setStartValue(float);
15 method public T setStartVelocity(float);
18 field public static final float MIN_VISIBLE_CHANGE_ALPHA = 0.00390625f;
19 field public static final float MIN_VISIBLE_CHANGE_PIXELS = 1.0f;
20 field public static final float MIN_VISIBLE_CHANGE_ROTATION_DEGREES = 0.1f;
21 field public static final float MIN_VISIBLE_CHANGE_SCALE = 0.002f;
[all …]
Dcurrent.txt7 method public float getMinimumVisibleChange();
11 method public T setMaxValue(float);
12 method public T setMinValue(float);
13 method public T setMinimumVisibleChange(float);
14 method public T setStartValue(float);
15 method public T setStartVelocity(float);
18 field public static final float MIN_VISIBLE_CHANGE_ALPHA = 0.00390625f;
19 field public static final float MIN_VISIBLE_CHANGE_PIXELS = 1.0f;
20 field public static final float MIN_VISIBLE_CHANGE_ROTATION_DEGREES = 0.1f;
21 field public static final float MIN_VISIBLE_CHANGE_SCALE = 0.002f;
[all …]
/frameworks/rs/rsov/compiler/tests/single_kernel/
Dinvert.ll15 define <4 x float> @invert(<4 x float> %in) #0 {
17 %0 = extractelement <4 x float> %in, i64 0
18 %sub = fsub float 1.000000e+00, %0
19 %1 = insertelement <4 x float> undef, float %sub, i64 0
20 %2 = extractelement <4 x float> %in, i64 1
21 %sub1 = fsub float 1.000000e+00, %2
22 %3 = insertelement <4 x float> %1, float %sub1, i64 1
23 %4 = extractelement <4 x float> %in, i64 2
24 %sub2 = fsub float 1.000000e+00, %4
25 %5 = insertelement <4 x float> %3, float %sub2, i64 2
[all …]
Dmixed.ll11 define void @an_invokable(float %i) local_unnamed_addr #0 {
13 %call = tail call fastcc float @sum(float %i, float 2.000000e+00)
14 %conv = fptosi float %call to i32
22 define internal fastcc float @sum(float %i, float %j) unnamed_addr #2 {
24 %add = fadd float %i, %j
25 ret float %add
29 define float @inc(float %i) local_unnamed_addr #2 {
31 %call = tail call fastcc float @sum(float %i, float 1.000000e+00)
32 ret float %call
36 define void @.helper_an_invokable({ float }* nocapture) local_unnamed_addr #3 {
[all …]
/frameworks/base/libs/hwui/protos/
Dhwui.proto37 required float alpha = 6;
38 required float translation_x = 7;
39 required float translation_y = 8;
40 required float translation_z = 9;
41 required float elevation = 10;
42 required float rotation = 11;
43 required float rotation_x = 12;
44 required float rotation_y = 13;
45 required float scale_x = 14;
46 required float scale_y = 15;
[all …]

12345678910>>...18