/cts/tests/tests/media/src/android/media/cts/ |
D | YUVImage.java | 109 YUVPlane(int w, int h, int rowStride, int pixelStride, in YUVPlane() argument 111 mRowStride = rowStride; in YUVPlane() 115 int length = (h - 1) * rowStride + (w - 1) * pixelStride + 1; in YUVPlane()
|
D | ImageReaderDecoderTest.java | 760 int rowStride, pixelStride; in getDataFromImage() local 780 rowStride = planes[i].getRowStride(); in getDataFromImage() 785 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage() 792 buffer.position(rowStride * (crop.top >> shift) + pixelStride * (crop.left >> shift)); in getDataFromImage() 793 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage() 814 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
|
D | DecoderTest.java | 2964 int width, height, rowStride, pixelStride, x, y; 2965 rowStride = planes[i].getRowStride(); 2981 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); 2986 int lineOffset = offs + y * rowStride; 2996 buf.position(pos + y * rowStride); 3001 byte[] lb = new byte[rowStride]; 3004 buf.position(pos + y * rowStride);
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | PixelChecker.java | 43 int rowStride = plane.getRowStride(); in validatePlane() local 62 buffer.position(rowStride * row + boundsToCheck.left * PIXEL_STRIDE); in validatePlane()
|
D | RectChecker.java | 63 int rowStride = plane.getRowStride(); in validatePlaneForTarget() local 84 buffer.position(rowStride * row + startX); in validatePlaneForTarget()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 249 final int rowStride = plane.getRowStride(); in scanImage() local 250 final int rowPadding = rowStride - pixelStride * width; in scanImage() 253 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 245 int rowStride = planes[i].getRowStride(); in getDataFromImage() local 251 format, i, width, height, rowStride, pixelStride, bytesPerPixel)); in getDataFromImage() 262 buffer.position(buffer.position() + rowStride - length); in getDataFromImage() 271 int readSize = rowStride; in getDataFromImage()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 422 EXPECT_TRUE(planes.planes[0].rowStride >= 16); in TEST() 426 EXPECT_TRUE(planes.planes[1].rowStride >= 8); in TEST() 430 EXPECT_TRUE(planes.planes[2].rowStride >= 8); in TEST() 470 EXPECT_TRUE(planes.planes[0].rowStride >= 64); in TEST()
|
D | AHardwareBufferGLTest.cpp | 627 ptrdiff_t y_offset = golden.y * planes[0].rowStride in CheckCpuGoldenPixelsYuv() 629 ptrdiff_t u_offset = (golden.y / 2) * planes[1].rowStride in CheckCpuGoldenPixelsYuv() 631 ptrdiff_t v_offset = (golden.y / 2) * planes[2].rowStride in CheckCpuGoldenPixelsYuv() 793 ptrdiff_t y_offset = golden.y * planes[0].rowStride in WriteGoldenPixelsYuv() 795 ptrdiff_t u_offset = (golden.y / 2) * planes[1].rowStride in WriteGoldenPixelsYuv() 797 ptrdiff_t v_offset = (golden.y / 2) * planes[2].rowStride in WriteGoldenPixelsYuv()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 386 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1178 int width, height, rowStride, pixelStride, x, y; in getImageMD5Checksum() local 1179 rowStride = planes[i].getRowStride(); in getImageMD5Checksum() 1195 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); in getImageMD5Checksum() 1200 int lineOffset = offs + y * rowStride; in getImageMD5Checksum() 1210 buf.position(pos + y * rowStride); in getImageMD5Checksum() 1215 byte[] lb = new byte[rowStride]; in getImageMD5Checksum() 1218 buf.position(pos + y * rowStride); in getImageMD5Checksum()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareRendererTests.kt | 90 assertTrue((ActivityTestBase.TEST_WIDTH * 4) <= plane.rowStride) in <lambda>() 105 val result = CaptureResult(pixels, 0, plane.rowStride / plane.pixelStride, in <lambda>() 178 assertTrue((TEST_WIDTH * 4) <= plane.rowStride) in testBasicDrawCpuConsumer() 460 assertTrue((TEST_WIDTH * 4) <= plane.rowStride) in testLotsOfBuffers()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1171 int width, height, rowStride, pixelStride, x, y, top, left; in getImageMD5Checksum() local 1172 rowStride = planes[i].getRowStride(); in getImageMD5Checksum() 1192 System.arraycopy(bb, y * width, b, (top + y) * rowStride + offs, width); in getImageMD5Checksum() 1197 int lineOffset = offs + (top + y) * rowStride; in getImageMD5Checksum() 1207 buf.position(pos + left + (top + y) * rowStride); in getImageMD5Checksum() 1212 byte[] lb = new byte[rowStride]; in getImageMD5Checksum() 1215 buf.position(pos + left * pixelStride + (top + y) * rowStride); in getImageMD5Checksum()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1026 int rowStride, pixelStride; in getDataFromImage() local 1063 rowStride = planes[i].getRowStride(); in getDataFromImage() 1068 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage() 1075 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage() 1096 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
|