Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java199 int rowStride = planes[i].getRowStride(); in getDataFromImage() local
204 format, i, width, height, rowStride, pixelStride)); in getDataFromImage()
215 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
224 int readSize = rowStride; in getDataFromImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java241 final int rowStride = plane.getRowStride(); in scanImage() local
242 final int rowPadding = rowStride - pixelStride * width; in scanImage()
245 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java757 int rowStride, pixelStride; in getDataFromImage() local
777 rowStride = planes[i].getRowStride(); in getDataFromImage()
782 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage()
789 buffer.position(rowStride * (crop.top >> shift) + pixelStride * (crop.left >> shift)); in getDataFromImage()
790 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage()
811 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
DDecoderTest.java1774 int width, height, rowStride, pixelStride, x, y; in checksum() local
1775 rowStride = planes[i].getRowStride(); in checksum()
1791 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); in checksum()
1796 int lineOffset = offs + y * rowStride; in checksum()
1806 buf.position(pos + y * rowStride); in checksum()
1811 byte[] lb = new byte[rowStride]; in checksum()
1814 buf.position(pos + y * rowStride); in checksum()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java386 final int rowStride = plane.getRowStride(); in scanImage() local
387 final int rowPadding = rowStride - pixelStride * width; in scanImage()
390 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java808 int rowStride, pixelStride; in getDataFromImage() local
843 rowStride = planes[i].getRowStride(); in getDataFromImage()
848 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage()
855 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage()
876 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java835 YUVPlane(int w, int h, int rowStride, int pixelStride, in YUVPlane() argument
837 mRowStride = rowStride; in YUVPlane()
841 int length = (h - 1) * rowStride + (w - 1) * pixelStride + 1; in YUVPlane()