Home
last modified time | relevance | path

Searched refs:inMaxValue (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestClamp.rscript27 float inMaxValue = rsGetElementAt_float(gAllocInMaxValue, x);
28 return clamp(inValue, inMinValue, inMaxValue);
33 float2 inMaxValue = rsGetElementAt_float2(gAllocInMaxValue, x);
34 return clamp(inValue, inMinValue, inMaxValue);
39 float3 inMaxValue = rsGetElementAt_float3(gAllocInMaxValue, x);
40 return clamp(inValue, inMinValue, inMaxValue);
45 float4 inMaxValue = rsGetElementAt_float4(gAllocInMaxValue, x);
46 return clamp(inValue, inMinValue, inMaxValue);
51 float inMaxValue = rsGetElementAt_float(gAllocInMaxValue, x);
52 return clamp(inValue, inMinValue, inMaxValue);
[all …]
DTestClamp.java50 public float inMaxValue; field in TestClamp.ArgumentsFloatFloatFloatFloat
57 …Allocation inMaxValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcebf6e6c18032… in checkClampFloatFloatFloatFloat() local
58 enforceOrdering(inMinValue, inMaxValue); in checkClampFloatFloatFloatFloat()
62 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
64 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, false); in checkClampFloatFloatFloatFloat()
72 scriptRelaxed.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
74 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, true); in checkClampFloatFloatFloatFloat()
81 inMaxValue.destroy(); in checkClampFloatFloatFloatFloat()
84 …tFloatFloatFloat(Allocation inValue, Allocation inMinValue, Allocation inMaxValue, Allocation out,… in verifyResultsClampFloatFloatFloatFloat() argument
93 inMaxValue.copyTo(arrayInMaxValue); in verifyResultsClampFloatFloatFloatFloat()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java1249 args.out = minI8(args.inMaxValue, maxI8(args.inValue, args.inMinValue)); in computeClamp()
1253 args.out = minU8(args.inMaxValue, maxU8(args.inValue, args.inMinValue)); in computeClamp()
1257 args.out = minI16(args.inMaxValue, maxI16(args.inValue, args.inMinValue)); in computeClamp()
1261 args.out = minU16(args.inMaxValue, maxU16(args.inValue, args.inMinValue)); in computeClamp()
1265 args.out = minI32(args.inMaxValue, maxI32(args.inValue, args.inMinValue)); in computeClamp()
1269 args.out = minU32(args.inMaxValue, maxU32(args.inValue, args.inMinValue)); in computeClamp()
1279 args.out = t.new32(Math.min(args.inMaxValue, in computeClamp()
1284 args.out = minI64(args.inMaxValue, maxI64(args.inValue, args.inMinValue)); in computeClamp()
1288 args.out = minU64(args.inMaxValue, maxU64(args.inValue, args.inMinValue)); in computeClamp()