Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceTextureHelperTest.java123 final SurfaceTextureHelper surfaceTextureHelper = in testThreeConstantColorFrames() local
126 surfaceTextureHelper.setListener(listener); in testThreeConstantColorFrames()
127 surfaceTextureHelper.getSurfaceTexture().setDefaultBufferSize(width, height); in testThreeConstantColorFrames()
133 eglOesBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); in testThreeConstantColorFrames()
154 surfaceTextureHelper.returnTextureFrame(); in testThreeConstantColorFrames()
172 surfaceTextureHelper.disconnect(); in testThreeConstantColorFrames()
190 final SurfaceTextureHelper surfaceTextureHelper = in testLateReturnFrame() local
193 surfaceTextureHelper.setListener(listener); in testLateReturnFrame()
194 surfaceTextureHelper.getSurfaceTexture().setDefaultBufferSize(width, height); in testLateReturnFrame()
200 eglOesBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); in testLateReturnFrame()
[all …]
DGlRectDrawerTest.java270 final SurfaceTextureHelper surfaceTextureHelper =
273 eglBase.getEglBaseContext(), surfaceTextureHelper.getSurfaceTexture(), WIDTH, HEIGHT);
276 surfaceTextureHelper.setListener(listener);
302 surfaceTextureHelper.returnTextureFrame();
304 surfaceTextureHelper.disconnect();
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoDecoder.java232 VideoCodecType type, int width, int height, SurfaceTextureHelper surfaceTextureHelper) { in initDecode() argument
236 useSurface = (surfaceTextureHelper != null); in initDecode()
267 textureListener = new TextureListener(surfaceTextureHelper); in initDecode()
268 surface = new Surface(surfaceTextureHelper.getSurfaceTexture()); in initDecode()
437 private final SurfaceTextureHelper surfaceTextureHelper; field in MediaCodecVideoDecoder.TextureListener
445 public TextureListener(SurfaceTextureHelper surfaceTextureHelper) { in TextureListener() argument
446 this.surfaceTextureHelper = surfaceTextureHelper; in TextureListener()
447 surfaceTextureHelper.setListener(this); in TextureListener()
505 surfaceTextureHelper.disconnect(); in release()
508 surfaceTextureHelper.returnTextureFrame(); in release()