Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/tests/scene1/
Dtest_param_tonemap_mode.py91 curve = sum([[i/m, i/m] for i in range(size)], [])
95 "red": curve, "green": curve, "blue": curve}
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java251 Pair<float[], float[]> curve = defaultConfig.getCurve(); in testGetDefaultCurve() local
252 assertTrue(curve.first.length > 0); in testGetDefaultCurve()
253 assertEquals(curve.first.length, curve.second.length); in testGetDefaultCurve()
254 assertInRange(curve.first, 0, Float.MAX_VALUE); in testGetDefaultCurve()
255 assertInRange(curve.second, 0, Float.MAX_VALUE); in testGetDefaultCurve()
256 assertEquals(0.0, curve.first[0], 0.1); in testGetDefaultCurve()
257 assertMonotonic(curve.first, true /*strictly increasing*/, "lux"); in testGetDefaultCurve()
258 assertMonotonic(curve.second, false /*strictly increasing*/, "nits"); in testGetDefaultCurve()
/cts/tests/tests/keystore/src/android/keystore/cts/
DECCurves.java115 EllipticCurve curve = new EllipticCurve(field, a, b, seed); in createNistPCurveSpec() local
118 curve, in createNistPCurveSpec()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java373 private static Object serializeTonemapCurve(TonemapCurve curve) in serializeTonemapCurve() argument
380 int len = curve.getPointCount(ch); in serializeTonemapCurve()
382 curveArr.put(curve.getPoint(ch, i).x); in serializeTonemapCurve()
383 curveArr.put(curve.getPoint(ch, i).y); in serializeTonemapCurve()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java217 private static Object serializeTonemapCurve(TonemapCurve curve) in serializeTonemapCurve() argument
223 int len = curve.getPointCount(ch); in serializeTonemapCurve()
225 curveArr.put(curve.getPoint(ch,i).x); in serializeTonemapCurve()
226 curveArr.put(curve.getPoint(ch,i).y); in serializeTonemapCurve()