/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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | vr.rs | 23 float jitter[JITTER_LENGTH]; 29 float zoomFactor; 34 static float rscale; variable 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/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/Refocus/src/com/android/rs/test/ |
D | camera_response.rsh | 24 // 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 …]
|
D | camera_response_fast.rsh | 24 // 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/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | vibrance_f.rs | 20 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 …]
|
D | fisheye_approx_f.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, 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 …]
|
D | vignette_f.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; 49 const float2 inCoord = {(float)x, (float)y}; [all …]
|
/frameworks/rs/java/tests/ImageProcessing2/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 …]
|
/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_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/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 …]
|
/frameworks/base/libs/hwui/protos/ |
D | hwui.proto | 37 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 …]
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | shared.rsh | 8 float score; 19 static inline float end(uint32_t idx) { 23 return ((float)t) / 1000.f; 38 static inline const float posinf() { 39 float f = *((float*)&iposinf); 43 static inline const float neginf() { 44 float f = *((float*)&ineginf); 48 static inline bool isposinf(float f) { 53 static inline bool isneginf(float f) { 58 static inline bool isnan(float f) { [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | shared.rsh | 8 float score; 19 static inline float end(uint32_t idx) { 23 return ((float)t) / 1000.f; 38 static inline const float posinf() { 39 float f = *((float*)&iposinf); 43 static inline const float neginf() { 44 float f = *((float*)&ineginf); 48 static inline bool isposinf(float f) { 53 static inline bool isneginf(float f) { 58 static inline bool isnan(float f) { [all …]
|