Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DMSSIMComparer.java63 int windowWidth = computeWindowSize(currentWindowX, width); in verifySame() local
65 if (isWindowWhite(ideal, start, stride, windowWidth, windowHeight) in verifySame()
66 && isWindowWhite(given, start, stride, windowWidth, windowHeight)) { in verifySame()
70 double[] means = getMeans(ideal, given, start, stride, windowWidth, windowHeight); in verifySame()
74 windowWidth, windowHeight); in verifySame()
95 int windowWidth, int windowHeight) { in isWindowWhite() argument
97 for (int x = 0; x < windowWidth; x++) { in isWindowWhite()
121 int windowWidth, int windowHeight) { in getMeans() argument
125 for (int x = 0; x < windowWidth; x++) { in getMeans()
131 avg0 /= windowWidth * windowHeight; in getMeans()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java51 private static double[] hann(int windowWidth) { in hann() argument
52 double[] envelopeArray = new double[windowWidth]; in hann()
53 for (int i = 0; i < windowWidth; i++) { in hann()
55 * (1 - Math.cos(2 * Math.PI * i / windowWidth)); in hann()