Searched refs:mPixelBuf (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 108 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayTest 487 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrame() 488 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrame() 489 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrame() 490 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrame()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 110 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayWithCompositionTest 461 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkRotatedFrameQuadrants() 462 int r = mPixelBuf.get(0) & 0xff; in checkRotatedFrameQuadrants() 463 int g = mPixelBuf.get(1) & 0xff; in checkRotatedFrameQuadrants() 464 int b = mPixelBuf.get(2) & 0xff; in checkRotatedFrameQuadrants() 485 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrameColor() 486 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrameColor() 487 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrameColor() 488 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrameColor()
|