Searched refs:bytesPerPixel (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PixelFormatTest.java | 44 assertEquals(4, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 48 assertEquals(4, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 52 assertEquals(3, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 56 assertEquals(2, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 60 assertEquals(2, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 64 assertEquals(2, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 68 assertEquals(1, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 72 assertEquals(1, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 76 assertEquals(2, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 80 assertEquals(1, mPixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 201 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 209 if (pixelStride == bytesPerPixel) { in getDataFromImage() 211 int length = w * bytesPerPixel; in getDataFromImage()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 199 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth(); in createFromUncompressedETC1() local 203 bytesPerPixel, in createFromUncompressedETC1()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 792 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 794 if (pixelStride == bytesPerPixel) { in getDataFromImage() 796 length = w * bytesPerPixel; in getDataFromImage() 803 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 857 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 859 if (pixelStride == bytesPerPixel) { in getDataFromImage() 861 length = w * bytesPerPixel; in getDataFromImage() 868 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
|