Home
last modified time | relevance | path

Searched refs:mPixelBuf (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java103 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayTest
482 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrame()
483 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrame()
484 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrame()
485 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrame()
DEncodeVirtualDisplayWithCompositionTest.java109 private final ByteBuffer mPixelBuf = ByteBuffer.allocateDirect(4); field in EncodeVirtualDisplayWithCompositionTest
380 GLES20.glReadPixels(x, y, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, mPixelBuf); in checkSurfaceFrameColor()
381 int r = mPixelBuf.get(0) & 0xff; in checkSurfaceFrameColor()
382 int g = mPixelBuf.get(1) & 0xff; in checkSurfaceFrameColor()
383 int b = mPixelBuf.get(2) & 0xff; in checkSurfaceFrameColor()