Searched refs:surfaceTextureHelper (Results 1 – 3 of 3) sorted by relevance
123 final SurfaceTextureHelper surfaceTextureHelper = in testThreeConstantColorFrames() local126 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() local193 surfaceTextureHelper.setListener(listener); in testLateReturnFrame()194 surfaceTextureHelper.getSurfaceTexture().setDefaultBufferSize(width, height); in testLateReturnFrame()200 eglOesBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); in testLateReturnFrame()[all …]
270 final SurfaceTextureHelper surfaceTextureHelper =273 eglBase.getEglBaseContext(), surfaceTextureHelper.getSurfaceTexture(), WIDTH, HEIGHT);276 surfaceTextureHelper.setListener(listener);302 surfaceTextureHelper.returnTextureFrame();304 surfaceTextureHelper.disconnect();
232 VideoCodecType type, int width, int height, SurfaceTextureHelper surfaceTextureHelper) { in initDecode() argument236 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.TextureListener445 public TextureListener(SurfaceTextureHelper surfaceTextureHelper) { in TextureListener() argument446 this.surfaceTextureHelper = surfaceTextureHelper; in TextureListener()447 surfaceTextureHelper.setListener(this); in TextureListener()505 surfaceTextureHelper.disconnect(); in release()508 surfaceTextureHelper.returnTextureFrame(); in release()