Searched refs:bytesPerPixel (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PixelFormatTest.java | 43 assertEquals(4, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 47 assertEquals(4, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 51 assertEquals(3, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 55 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 59 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 63 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 67 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 71 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 75 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo() 79 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 231 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 235 format, i, width, height, rowStride, pixelStride, bytesPerPixel)); in getDataFromImage() 240 if (pixelStride == bytesPerPixel) { in getDataFromImage() 242 int length = w * bytesPerPixel; in getDataFromImage()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanTestHelpers.h | 86 VkFormat format, uint32_t bytesPerPixel);
|
D | VulkanTestHelpers.cpp | 446 VkFormat format, uint32_t bytesPerPixel) in VkImageRenderer() argument 448 mResultBufferSize(width * height * bytesPerPixel) {} in VkImageRenderer()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 187 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth(); in createFromUncompressedETC1() local 191 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/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1040 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local 1042 if (pixelStride == bytesPerPixel) { in getDataFromImage() 1044 length = w * bytesPerPixel; in getDataFromImage() 1051 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
|