Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DBitmapUtils.java83 int[] aPixels = new int[a.getHeight() * a.getWidth()]; in compareBitmap() local
84 int[] bPixels = new int[aPixels.length]; in compareBitmap()
85 a.getPixels(aPixels, /*offset*/0, /*stride*/a.getWidth(), /*x*/0, /*y*/0, a.getWidth(), in compareBitmap()
94 aFirstPix[0] = Color.red(aPixels[0]); in compareBitmap()
95 aFirstPix[1] = Color.green(aPixels[1]); in compareBitmap()
96 aFirstPix[2] = Color.blue(aPixels[2]); in compareBitmap()
102 for (int i = 0; i < aPixels.length; i++) { in compareBitmap()
103 int aPix = aPixels[i]; in compareBitmap()
130 diff /= (aPixels.length * 3); in compareBitmap()
136 result.mLhsAverage[i] = aSum[i] / aPixels.length; in compareBitmap()