Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSConvolveTest.java34 …onvolveTest(String path, int X, int Y, byte[] input, byte[] output, float[] coeffs, boolean is3x3); in convolveTest() argument
37 float[] coeffs = new float[9]; in testConvolve3x3() local
38 coeffs[0] = .5f; in testConvolve3x3()
39 coeffs[1] = .35f; in testConvolve3x3()
40 coeffs[2] = .1f; in testConvolve3x3()
41 coeffs[3] = 1.f; in testConvolve3x3()
42 coeffs[4] = 1.f; in testConvolve3x3()
43 coeffs[5] = 1.f; in testConvolve3x3()
44 coeffs[6] = .1f; in testConvolve3x3()
45 coeffs[7] = .35f; in testConvolve3x3()
[all …]
DRSColorMatrixTest.java34 …MatrixTest(String path, int X, int Y, byte[] input, byte[] output, float[] coeffs, int optionFlag); in colorMatrixTest() argument
43 float[] coeffs = new float[9]; in testRSColorMatrix0() local
44 coeffs[0] = 1.f; in testRSColorMatrix0()
45 coeffs[1] = 0.3f; in testRSColorMatrix0()
46 coeffs[2] = 0.7f; in testRSColorMatrix0()
47 coeffs[3] = 0.2f; in testRSColorMatrix0()
48 coeffs[4] = 1.f; in testRSColorMatrix0()
49 coeffs[5] = -0.1f; in testRSColorMatrix0()
50 coeffs[6] = -0.5f; in testRSColorMatrix0()
51 coeffs[7] = 0.2f; in testRSColorMatrix0()
[all …]
/cts/tests/videocodec/jni/
DNativeVideoQualityUtils.cpp38 double polyEval(std::vector<double>& coeffs, double x) { in polyEval() argument
39 double y = coeffs[0]; in polyEval()
41 for (int i = 1; i < coeffs.size(); i++) { in polyEval()
42 y += (coeffs[i] * xn); in polyEval()
48 std::vector<double> polyIntegrate(std::vector<double>& coeffs, double coi = 0.0) { in polyIntegrate() argument
49 std::vector<double> integratedCoeffs(coeffs.size() + 1); in polyIntegrate()
51 for (int i = 1; i < coeffs.size() + 1; i++) { in polyIntegrate()
52 integratedCoeffs[i] = coeffs[i - 1] / i; in polyIntegrate()
71 std::vector<double> coeffs(order + 1); in polyFit() local
73 coeffs[i] = a(i, 0); in polyFit()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp129 jfloat * coeffs = env->GetFloatArrayElements(coeffArray, NULL); in Java_android_cts_rscpp_RSConvolveTest_convolveTest() local
148 convolve->setCoefficients(coeffs); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
153 convolve->setCoefficients(coeffs); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
161 env->ReleaseFloatArrayElements(coeffArray, coeffs, JNI_ABORT); in Java_android_cts_rscpp_RSConvolveTest_convolveTest()
262 jfloat * coeffs = env->GetFloatArrayElements(coeffArray, NULL); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest() local
278 cm->setColorMatrix3(coeffs); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest()
282 cm->setColorMatrix4(coeffs); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest()
288 cm->setColorMatrix4(coeffs); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest()
298 env->ReleaseFloatArrayElements(coeffArray, coeffs, JNI_ABORT); in Java_android_cts_rscpp_RSColorMatrixTest_colorMatrixTest()
/cts/apps/CameraITS/utils/
Dnoise_model_utils.py702 coeffs, _ = scipy.optimize.curve_fit(f, (gains, means), vars_ / (gains))
707 coeffs = np.append(coeffs, offset_a[pidx])
708 coeffs = np.append(coeffs, offset_b[pidx])
711 noise_model.append(coeffs[0:4])
Dcapture_read_noise_utils.py260 coeffs = np.polyfit(iso_sq, norm_var, 1)
262 read_noise_coefficients_a.append(coeffs[0])
263 read_noise_coefficients_b.append(coeffs[1])
Dsensor_fusion_utils_tests.py149 best_fit_offset, coeffs, x, y
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py406 offset_ms, coeffs, candidates, distances = output
408 offset_ms, coeffs, candidates, distances, name_with_log_path, degree)
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...