Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DActiveBuffer.kt26 class ActiveBuffer private constructor(width: Int, height: Int, val stride: Int, val format: Int) : constant
28 override fun doPrintValue() = "w:$width, h:$height, stride:$stride, format:$format" in doPrintValue()
32 get() = withCache { ActiveBuffer(width = 0, height = 0, stride = 0, format = 0) } in doPrintValue()
33 fun from(width: Int, height: Int, stride: Int, format: Int): ActiveBuffer = withCache { in doPrintValue()
34 ActiveBuffer(width, height, stride, format) in doPrintValue()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DMSSIMMatcher.kt89 stride: Int, in calculateSSIM()
104 val start: Int = indexFromXAndY(currentWindowX, currentWindowY, stride, offset) in calculateSSIM()
106 shouldIgnoreWindow(ideal, start, stride, windowWidth, windowHeight, filter) && in calculateSSIM()
107 shouldIgnoreWindow(given, start, stride, windowWidth, windowHeight, filter) in calculateSSIM()
113 val means = getMeans(ideal, given, filter, start, stride, windowWidth, windowHeight) in calculateSSIM()
124 stride, in calculateSSIM()
133 numPixelsToCompareInWindow(start, stride, windowWidth, windowHeight, filter) in calculateSSIM()
170 stride: Int, in shouldIgnorePixel()
173 return !filter[indexFromXAndY(x, y, stride, start)] in shouldIgnorePixel()
183 stride: Int, in shouldIgnoreWindow()
[all …]