Searched refs:pixelStride (Results 1 – 7 of 7) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 200 int pixelStride = planes[i].getPixelStride(); in getDataFromImage() local 204 format, i, width, height, rowStride, pixelStride)); in getDataFromImage() 209 if (pixelStride == bytesPerPixel) { in getDataFromImage() 229 if (pixelStride >= 1) { in getDataFromImage() 231 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 240 final int pixelStride = plane.getPixelStride(); in scanImage() local 242 final int rowPadding = rowStride - pixelStride * width; in scanImage() 245 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage() 268 offset += pixelStride; in scanImage()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 757 int rowStride, pixelStride; in getDataFromImage() local 778 pixelStride = planes[i].getPixelStride(); in getDataFromImage() 779 assertTrue("pixel stride " + pixelStride + " is invalid", pixelStride > 0); in getDataFromImage() 781 Log.v(TAG, "pixelStride " + pixelStride); in getDataFromImage() 789 buffer.position(rowStride * (crop.top >> shift) + pixelStride * (crop.left >> shift)); in getDataFromImage() 794 if (pixelStride == bytesPerPixel) { in getDataFromImage() 803 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage() 806 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|
D | DecoderTest.java | 1774 int width, height, rowStride, pixelStride, x, y; in checksum() local 1776 pixelStride = planes[i].getPixelStride(); in checksum() 1789 if (pixelStride == 1) { in checksum() 1798 bb[y * width + x] = b[lineOffset + x * pixelStride]; in checksum() 1804 if (pixelStride == 1) { in checksum() 1816 buf.get(lb, 0, pixelStride * (width - 1) + 1); in checksum() 1818 bb[y * width + x] = lb[x * pixelStride]; in checksum()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 385 final int pixelStride = plane.getPixelStride(); in scanImage() local 387 final int rowPadding = rowStride - pixelStride * width; in scanImage() 390 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage() 416 offset += pixelStride; in scanImage()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 808 int rowStride, pixelStride; in getDataFromImage() local 844 pixelStride = planes[i].getPixelStride(); in getDataFromImage() 845 assertTrue("pixel stride " + pixelStride + " is invalid", pixelStride > 0); in getDataFromImage() 847 Log.v(TAG, "pixelStride " + pixelStride); in getDataFromImage() 859 if (pixelStride == bytesPerPixel) { in getDataFromImage() 868 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage() 871 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 835 YUVPlane(int w, int h, int rowStride, int pixelStride, in YUVPlane() argument 838 mPixelStride = pixelStride; in YUVPlane() 841 int length = (h - 1) * rowStride + (w - 1) * pixelStride + 1; in YUVPlane()
|