Home
last modified time | relevance | path

Searched refs:inB (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestMax.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return max(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return max(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return max(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return max(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return max(inA, inB);
[all …]
DTestMin.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return min(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return min(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return min(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return min(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return min(inA, inB);
[all …]
DTestMax.java49 public float inB; field in TestMax.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2952d868c2162461l, fa… in checkMaxFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkMaxFloatFloatFloat()
60 verifyResultsMaxFloatFloatFloat(inA, inB, out, false); in checkMaxFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkMaxFloatFloatFloat()
69 verifyResultsMaxFloatFloatFloat(inA, inB, out, true); in checkMaxFloatFloatFloat()
75 inB.destroy(); in checkMaxFloatFloatFloat()
78 …private void verifyResultsMaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boole… in verifyResultsMaxFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsMaxFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsMaxFloatFloatFloat()
[all …]
DTestMin.java49 public float inB; field in TestMin.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdad0b097121573fl, fa… in checkMinFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkMinFloatFloatFloat()
60 verifyResultsMinFloatFloatFloat(inA, inB, out, false); in checkMinFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkMinFloatFloatFloat()
69 verifyResultsMinFloatFloatFloat(inA, inB, out, true); in checkMinFloatFloatFloat()
75 inB.destroy(); in checkMinFloatFloatFloat()
78 …private void verifyResultsMinFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boole… in verifyResultsMinFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsMinFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsMinFloatFloatFloat()
[all …]
DTestFmax.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return fmax(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return fmax(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return fmax(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return fmax(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return fmax(inA, inB);
[all …]
DTestFmin.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return fmin(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return fmin(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return fmin(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return fmin(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return fmin(inA, inB);
[all …]
DTestFmin.java49 public float inB; field in TestFmin.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7b46a8451d7b1059l, fa… in checkFminFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkFminFloatFloatFloat()
60 verifyResultsFminFloatFloatFloat(inA, inB, out, false); in checkFminFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkFminFloatFloatFloat()
69 verifyResultsFminFloatFloatFloat(inA, inB, out, true); in checkFminFloatFloatFloat()
75 inB.destroy(); in checkFminFloatFloatFloat()
78 …private void verifyResultsFminFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFminFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsFminFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsFminFloatFloatFloat()
[all …]
DTestFmax.java49 public float inB; field in TestFmax.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe6ec75a46e6fdd7bl, fa… in checkFmaxFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkFmaxFloatFloatFloat()
60 verifyResultsFmaxFloatFloatFloat(inA, inB, out, false); in checkFmaxFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkFmaxFloatFloatFloat()
69 verifyResultsFmaxFloatFloatFloat(inA, inB, out, true); in checkFmaxFloatFloatFloat()
75 inB.destroy(); in checkFmaxFloatFloatFloat()
78 …private void verifyResultsFmaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFmaxFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsFmaxFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsFmaxFloatFloatFloat()
[all …]
DTestNativeHypot.java49 public float inB; field in TestNativeHypot.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66002l, fa… in checkNativeHypotFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkNativeHypotFloatFloatFloat()
60 verifyResultsNativeHypotFloatFloatFloat(inA, inB, out, false); in checkNativeHypotFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkNativeHypotFloatFloatFloat()
69 verifyResultsNativeHypotFloatFloatFloat(inA, inB, out, true); in checkNativeHypotFloatFloatFloat()
75 inB.destroy(); in checkNativeHypotFloatFloatFloat()
78 …private void verifyResultsNativeHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation ou… in verifyResultsNativeHypotFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsNativeHypotFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsNativeHypotFloatFloatFloat()
[all …]
DTestHypot.java49 public float inB; field in TestHypot.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7deb65e7738c74c5l, fa… in checkHypotFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkHypotFloatFloatFloat()
60 verifyResultsHypotFloatFloatFloat(inA, inB, out, false); in checkHypotFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkHypotFloatFloatFloat()
69 verifyResultsHypotFloatFloatFloat(inA, inB, out, true); in checkHypotFloatFloatFloat()
75 inB.destroy(); in checkHypotFloatFloatFloat()
78 …private void verifyResultsHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boo… in verifyResultsHypotFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsHypotFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsHypotFloatFloatFloat()
[all …]
DTestFdim.java49 public float inB; field in TestFdim.ArgumentsFloatFloatFloat
55 …Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf5dd38fbc3a47367l, fa… in checkFdimFloatFloatFloat() local
58 script.set_gAllocInB(inB); in checkFdimFloatFloatFloat()
60 verifyResultsFdimFloatFloatFloat(inA, inB, out, false); in checkFdimFloatFloatFloat()
67 scriptRelaxed.set_gAllocInB(inB); in checkFdimFloatFloatFloat()
69 verifyResultsFdimFloatFloatFloat(inA, inB, out, true); in checkFdimFloatFloatFloat()
75 inB.destroy(); in checkFdimFloatFloatFloat()
78 …private void verifyResultsFdimFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFdimFloatFloatFloat() argument
84 inB.copyTo(arrayInB); in verifyResultsFdimFloatFloatFloat()
95 args.inB = arrayInB[i]; in verifyResultsFdimFloatFloatFloat()
[all …]
DTestNativeHypot.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return native_hypot(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return native_hypot(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return native_hypot(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return native_hypot(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return native_hypot(inA, inB);
[all …]
DTestFdim.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return fdim(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return fdim(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return fdim(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return fdim(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return fdim(inA, inB);
[all …]
DTestHypot.rscript25 float inB = rsGetElementAt_float(gAllocInB, x);
26 return hypot(inA, inB);
30 float2 inB = rsGetElementAt_float2(gAllocInB, x);
31 return hypot(inA, inB);
35 float3 inB = rsGetElementAt_float3(gAllocInB, x);
36 return hypot(inA, inB);
40 float4 inB = rsGetElementAt_float4(gAllocInB, x);
41 return hypot(inA, inB);
45 half inB = rsGetElementAt_half(gAllocInB, x);
46 return hypot(inA, inB);
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java636 Target.Floaty inB = t.newFloaty(b); in fdim() local
637 Target.Floaty r = t.subtract(inA, inB); in fdim()
1965 Target.Floaty inB = t.new32(args.inB); in computeFdim() local
1966 Target.Floaty r = t.subtract(inA, inB); in computeFdim()
2007 Target.Floaty b = t.new32(args.inB); in computeFmax()
2009 Math.max(args.inA, args.inB), in computeFmax()
2024 Target.Floaty b = t.new32(args.inB); in computeFmin()
2026 Math.min(args.inA, args.inB), in computeFmin()
2105 args.out = hypot(args.inA, args.inB, t); in computeHypot()
2270 args.out = maxI8(args.inA, args.inB);
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSResizeTest.java35 boolean useByte, int vecSize, byte[] inB, byte[] outB, in resizeTest() argument