/frameworks/rs/driver/runtime/arch/ |
D | x86_sse2.ll | 4 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 …]
|
D | x86_sse3.ll | 5 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 …]
|
D | asimd.ll | 8 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 …]
|
D | neon.ll | 8 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/ |
D | math.ll | 4 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/ |
D | math.ll | 4 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/ |
D | proguard.flags | 2 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/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | vibrance.rs | 20 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 …]
|
D | fisheye.rsh | 21 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 …]
|
D | fisheye_approx.rsh | 21 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/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | vibrance.rs | 20 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 …]
|
D | fisheye.rsh | 21 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 …]
|
D | fisheye_approx.rsh | 21 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 …]
|
D | vignette_approx.rsh | 18 static float sloped_neg_range, sloped_inv_max_dist, shade, opp_shade; 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 21 float desired_scale, float desired_shade, float desired_slope) { 25 inv_dimensions.x = 1.f / (float)dim_x; 26 inv_dimensions.y = 1.f / (float)dim_y; 30 axis_scale.y = (float)dim_y / (float)dim_x; 32 axis_scale.x = (float)dim_x / (float)dim_y; 34 const float max_dist = 0.5f * length(axis_scale); 40 const float neg_range = 0.7f*sqrt(desired_scale) - 1.3f; 50 const float2 inCoord = {(float)x, (float)y}; [all …]
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | shaderstest.rs | 25 float size; field 26 float feather; 27 float width; 28 float height; 53 static float gRotateX; constant 54 static float gRotateY; variable 55 static float gZoom; constant 57 static float gLastX; variable 58 static float gLastY; constant 60 static float3 toFloat3(float x, float y, float z) { [all …]
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | vibrance.rs | 19 float vibrance = 0.f; 21 static const float Rf = 0.2999f; constant 22 static const float Gf = 0.587f; constant 23 static const float Bf = 0.114f; constant 25 static float S = 0.f; constant 26 static float MS = 0.f; variable 27 static float Rt = 0.f; constant 28 static float Gt = 0.f; variable 29 static float Bt = 0.f; variable 30 static float Vib = 0.f; variable [all …]
|
D | fisheye.rsh | 21 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 …]
|
D | fisheye_approx.rsh | 21 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 …]
|
D | vignette.rsh | 18 static float sloped_neg_range, sloped_inv_max_dist, shade, opp_shade; 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 21 float desired_scale, float desired_shade, float desired_slope) { 25 inv_dimensions.x = 1.f / (float)dim_x; 26 inv_dimensions.y = 1.f / (float)dim_y; 30 axis_scale.y = (float)dim_y / (float)dim_x; 32 axis_scale.x = (float)dim_x / (float)dim_y; 34 const float max_dist = 0.5f * length(axis_scale); 40 const float neg_range = 0.7f*sqrt(desired_scale) - 1.3f; 50 const float2 inCoord = {(float)x, (float)y}; [all …]
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | ui_test.rs | 35 float gXOffset = 0.5f; 42 static float angle = 50.f; variable 47 static float gSpeed[12000]; constant 96 static float gDt = 0; variable 117 static float mapf(float minStart, float minStop, float maxStart, float maxStop, float value) { constant 124 static float randomGauss() { constant 125 float x1; 126 float x2; 127 float w = 2.f; 142 static void createParticle(Particle_t *part, int idx, float scale) { [all …]
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | simplemodel.rs | 44 static float gRotateX; variable 45 static float gRotateY; variable 46 static float gZoom; variable 48 static float gLastX; constant 49 static float gLastY; constant 51 static float3 toFloat3(float x, float y, float z) { 59 void onActionDown(float x, float y) { 64 void onActionScale(float scale) { 70 void onActionMove(float x, float y) { 71 float dx = gLastX - x; [all …]
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | shader_def.rsh | 23 float light0_Diffuse; 24 float light0_Specular; 25 float light0_CosinePower; 28 float light1_Diffuse; 29 float light1_Specular; 30 float light1_CosinePower; 37 float light_Diffuse[2]; 38 float light_Specular[2]; 39 float light_CosinePower[2]; 45 float time; [all …]
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
D | math_err.rs | 22 float fv; 45 static float fast_log2(float v) { constant 54 float ir; 58 float ir2 = ir*ir; 59 float adj2 = 0.405465108f + // -0.00009f + 68 return (float)(e - 127) + adj2; 71 void testExp2(const float *in, float *out) { constant 72 float i = *in; 81 void testLog2(const float *in, float *out) { constant
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | shared.rsh | 8 float score; 19 static float end(uint32_t idx) { 23 return ((float)t) / 1000.f; 38 static const float posinf() { 39 float f = *((float*)&iposinf); 43 static const float neginf() { 44 float f = *((float*)&ineginf); 48 static bool isposinf(float f) { 53 static bool isneginf(float f) { 58 static bool isnan(float f) { [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | shared.rsh | 8 float score; 19 static float end(uint32_t idx) { 23 return ((float)t) / 1000.f; 38 static const float posinf() { 39 float f = *((float*)&iposinf); 43 static const float neginf() { 44 float f = *((float*)&ineginf); 48 static bool isposinf(float f) { 53 static bool isneginf(float f) { 58 static bool isnan(float f) { [all …]
|