/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSConvolveTest.java | 34 …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 …]
|
D | RSColorMatrixTest.java | 34 …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/ |
D | NativeVideoQualityUtils.cpp | 38 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/ |
D | rs_jni.cpp | 129 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/ |
D | noise_model_utils.py | 702 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])
|
D | capture_read_noise_utils.py | 260 coeffs = np.polyfit(iso_sq, norm_var, 1) 262 read_noise_coefficients_a.append(coeffs[0]) 263 read_noise_coefficients_b.append(coeffs[1])
|
D | sensor_fusion_utils_tests.py | 149 best_fit_offset, coeffs, x, y
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 406 offset_ms, coeffs, candidates, distances = output 408 offset_ms, coeffs, candidates, distances, name_with_log_path, degree)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |