Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_resize.rs25 static float4 cubicInterpolate_F4 (float4 p0,float4 p1,float4 p2,float4 p3 , float x) {
26 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
27 + x * (3.f * (p1 - p2) + p3 - p0)));
30 static float3 cubicInterpolate_F3 (float3 p0,float3 p1,float3 p2,float3 p3 , float x) {
31 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
32 + x * (3.f * (p1 - p2) + p3 - p0)));
35 static float2 cubicInterpolate_F2 (float2 p0,float2 p1,float2 p2,float2 p3 , float x) {
36 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
37 + x * (3.f * (p1 - p2) + p3 - p0)));
40 static float cubicInterpolate_F1 (float p0,float p1,float p2,float p3 , float x) {
[all …]
Dintrinsic_convolve5x5.rs45 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5]
69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
92 float3 p1 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y1)) * gCoeffs[5]
116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
139 float2 p1 = convert_float2(rsGetElementAt_uchar2(gIn, x0, y1)) * gCoeffs[5]
163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
186 float p1 = (float)(rsGetElementAt_uchar(gIn, x0, y1)) * gCoeffs[5]
210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
232 float4 p1 = rsGetElementAt_float4(gIn, x0, y1) * gCoeffs[5]
256 return p0 + p1 + p2 + p3 + p4;
[all …]
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java103 final int p1 = reference.getRGB(i, j); in compare() local
106 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in compare()
107 final int dg = getAlphaScaledGreen(p1) - getAlphaScaledGreen(p2); in compare()
108 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/
DT_iget_wide_11.java22 return p1; in run()
DT_iget_wide_1.java21 protected long p1 = 10; field in T_iget_wide_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/
DT_sget_11.java22 return p1; in run()
DT_sget_1.java21 protected static int p1 = 10; field in T_sget_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_byte/d/
DT_sget_byte_11.java22 return p1; in run()
DT_sget_byte_1.java21 protected static byte p1 = 77; field in T_sget_byte_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_char/d/
DT_sget_char_11.java22 return p1; in run()
DT_sget_char_1.java21 protected static char p1 = 77; field in T_sget_char_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_boolean/d/
DT_iget_boolean_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_byte/d/
DT_iget_byte_11.java22 return p1; in run()
DT_iget_byte_12.java23 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_short/d/
DT_sget_short_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_char/d/
DT_iget_char_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_wide/d/
DT_sget_wide_11.java22 return p1; in run()
DT_sget_wide_1.java21 protected static long p1 = 10; field in T_sget_wide_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_short/d/
DT_iget_short_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_boolean/d/
DT_sget_boolean_11.java22 return p1; in run()
DT_sget_boolean_1.java21 protected static boolean p1 = true; field in T_sget_boolean_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_11.java22 return p1; in run()
DT_iget_1.java21 protected int p1 = 10; field in T_iget_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/
DT_sget_object_11.java22 return p1; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/
DT_iget_object_11.java22 return p1; in run()

123