/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 | 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 48 define internal <4 x float> @smear_4f(float %in) nounwind readnone alwaysinline { 49 %1 = insertelement <4 x float> undef, float %in, i32 0 [all …]
|
/frameworks/rs/driver/runtime/ |
D | matrix.ll | 5 %struct.rs_matrix4x4 = type { [16 x float] } 6 %struct.rs_matrix3x3 = type { [9 x float] } 7 %struct.rs_matrix2x2 = type { [4 x float] } 9 define internal <4 x float> @smear_f(float %in) nounwind readnone alwaysinline { 10 %1 = insertelement <4 x float> undef, float %in, i32 0 11 %2 = insertelement <4 x float> %1, float %in, i32 1 12 %3 = insertelement <4 x float> %2, float %in, i32 2 13 %4 = insertelement <4 x float> %3, float %in, i32 3 14 ret <4 x float> %4 18 define <3 x float> @_Z16rsMatrixMultiplyPK12rs_matrix3x3Dv3_f(%struct.rs_matrix3x3* nocapture %m, <… [all …]
|
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 @_Z3powf(float %v1, float %v2) nounwind readnone alwaysinline { [all …]
|
/frameworks/compile/slang/ |
D | rslib.ll | 1 define <3 x float> @convert1_float3(<3 x i8> %u3) nounwind readnone { 2 %conv = uitofp <3 x i8> %u3 to <3 x float> 3 ret <3 x float> %conv 6 define <3 x i8> @convert1_uchar3(<3 x float> %f3) nounwind readnone { 7 %conv = fptoui <3 x float> %f3 to <3 x i8> 11 declare float @llvm.powi.f32(float, i32) nounwind readonly 13 define <3 x float> @_Z4powiDv3_fi(<3 x float> %f3, i32 %exp) nounwind readnone { 14 %x = extractelement <3 x float> %f3, i32 0 ; <float> [#uses=1] 15 %y = extractelement <3 x float> %f3, i32 1 ; <float> [#uses=1] 16 %z = extractelement <3 x float> %f3, i32 2 ; <float> [#uses=1] [all …]
|
/frameworks/rs/scriptc/ |
D | rs_cl.rsh | 42 CVT_FUNC_2(type, float) 47 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 54 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 61 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 68 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 75 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 82 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 87 * Convert to float. 89 * Supports 2,3,4 components of uchar, char, ushort, short, uint, int, float. 91 CVT_FUNC(float) [all …]
|
D | rs_graphics.rsh | 168 rsgProgramFragmentConstantColor(rs_program_fragment pf, float r, float g, float b, float a); 244 rsgDrawRect(float x1, float y1, float x2, float y2, float z); 264 rsgDrawQuad(float x1, float y1, float z1, 265 float x2, float y2, float z2, 266 float x3, float y3, float z3, 267 float x4, float y4, float z4); 296 rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, 297 float x2, float y2, float z2, float u2, float v2, 298 float x3, float y3, float z3, float u3, float v3, 299 float x4, float y4, float z4, float u4, float v4); [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/ex/carousel/java/com/android/ex/carousel/ |
D | carousel.rs | 51 float constant; 56 float radius; 63 float fov; 64 float aspect; 65 float near; 66 float far; 74 float fadeAmount; field 75 float overallAlpha; 160 static const float TILT_MIN_ANGLE = M_PI / 315.0f; constant 161 static const float TILT_MAX_BIAS = M_PI / 8.0f; constant [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; constant 30 float R, G, B; 35 float red = (r-max(g, b)) * (1.f / 256.f); 36 float S = (float)(Vib/(1+native_exp(-red*3)))+1; 37 float MS = 1.0f - S; 38 float Rt = Rf * MS; [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 | 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 …]
|
/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; constant 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; variable 28 static float Gt = 0.f; constant 29 static float Bt = 0.f; variable 30 static float Vib = 0.f; variable [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 | 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 …]
|
/frameworks/rs/java/tests/ImageProcessing_jb/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; constant [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/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | ui_test.rs | 35 float gXOffset = 0.5f; 42 static float angle = 50.f; constant 47 static float gSpeed[12000]; variable 96 static float gDt = 0; variable 117 static float mapf(float minStart, float minStop, float maxStart, float maxStop, float value) { variable 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; constant 45 static float gRotateY; constant 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) { variable 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/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 …]
|