Searched refs:mPixelBuf (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 118 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayTest 498 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrame() 499 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrame() 500 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrame() 501 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrame()
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 107 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayWithCompositionTestImpl 385 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkRotatedFrameQuadrants() 386 int r = mPixelBuf.get(0) & 0xff; in checkRotatedFrameQuadrants() 387 int g = mPixelBuf.get(1) & 0xff; in checkRotatedFrameQuadrants() 388 int b = mPixelBuf.get(2) & 0xff; in checkRotatedFrameQuadrants() 409 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrameColor() 410 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrameColor() 411 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrameColor() 412 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrameColor()
|