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.rs27 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.java43 public float inMaxValue; field in TestClamp.ArgumentsFloatFloatFloatFloat
50 …Allocation inMaxValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc180322dl, fal… in checkClampFloatFloatFloatFloat() local
51 enforceOrdering(inMinValue, inMaxValue); in checkClampFloatFloatFloatFloat()
55 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
57 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, false); in checkClampFloatFloatFloatFloat()
64 scriptRelaxed.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
66 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, true); in checkClampFloatFloatFloatFloat()
72 …tFloatFloatFloat(Allocation inValue, Allocation inMinValue, Allocation inMaxValue, Allocation out,… in verifyResultsClampFloatFloatFloatFloat() argument
81 inMaxValue.copyTo(arrayInMaxValue); in verifyResultsClampFloatFloatFloatFloat()
93 args.inMaxValue = arrayInMaxValue[i]; 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()