Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java80 private static ByteBuffer stripAlphaChannel(ByteBuffer rgbaBuffer) { in stripAlphaChannel() argument
81 rgbaBuffer.rewind(); in stripAlphaChannel()
82 assertEquals(rgbaBuffer.remaining() % 4, 0); in stripAlphaChannel()
83 final int numberOfPixels = rgbaBuffer.remaining() / 4; in stripAlphaChannel()
85 while (rgbaBuffer.hasRemaining()) { in stripAlphaChannel()
88 rgbBuffer.put(rgbaBuffer.get()); in stripAlphaChannel()
91 rgbaBuffer.get(); in stripAlphaChannel()