Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPixelFormatTest.java43 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/
DItsUtils.java231 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/
DVulkanTestHelpers.h86 VkFormat format, uint32_t bytesPerPixel);
DVulkanTestHelpers.cpp446 VkFormat format, uint32_t bytesPerPixel) in VkImageRenderer() argument
448 mResultBufferSize(width * height * bytesPerPixel) {} in VkImageRenderer()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java187 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth(); in createFromUncompressedETC1() local
191 bytesPerPixel, in createFromUncompressedETC1()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java792 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/
DCameraTestUtils.java1040 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()