/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | SurfaceTextureHelperTest.java | 115 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testThreeConstantColorFrames() local 116 eglBase.createPbufferSurface(width, height); in testThreeConstantColorFrames() 121 "SurfaceTextureHelper test" /* threadName */, eglBase.getEglBaseContext()); in testThreeConstantColorFrames() 128 final EglBase eglOesBase = EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testThreeConstantColorFrames() 147 eglBase.makeCurrent(); in testThreeConstantColorFrames() 170 eglBase.release(); in testThreeConstantColorFrames() 184 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testLateReturnFrame() local 185 eglBase.createPbufferSurface(width, height); in testLateReturnFrame() 189 "SurfaceTextureHelper test" /* threadName */, eglBase.getEglBaseContext()); in testLateReturnFrame() 196 final EglBase eglOesBase = EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testLateReturnFrame() [all …]
|
D | GlRectDrawerTest.java | 101 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testRgbRendering() local 102 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testRgbRendering() 103 eglBase.makeCurrent(); in testRgbRendering() 133 eglBase.release(); in testRgbRendering() 142 EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testYuvRendering() local 143 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testYuvRendering() 144 eglBase.makeCurrent(); in testYuvRendering() 211 eglBase.release(); in testYuvRendering() 237 private final EglBase eglBase; 243 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PLAIN); [all …]
|
D | AndroidVideoDecoderInstrumentationTest.java | 126 private EglBase14 eglBase; field in AndroidVideoDecoderInstrumentationTest 134 createDecoderFactory(useEglContext ? eglBase.getEglBaseContext() : null); in createDecoder() 140 eglBase.getEglBaseContext(), ENABLE_INTEL_VP8_ENCODER, ENABLE_H264_HIGH_PROFILE); in encodeTestFrames() 165 eglBase = EglBase.createEgl14(EglBase.CONFIG_PLAIN); in setUp() 166 eglBase.createDummyPbufferSurface(); in setUp() 167 eglBase.makeCurrent(); in setUp() 174 eglBase.release(); in tearDown()
|
D | VideoFrameBufferTest.java | 146 final EglBase eglBase = EglBase.create(eglContext, EglBase.CONFIG_PIXEL_BUFFER); in createRgbTextureBuffer() 147 eglBase.createDummyPbufferSurface(); in createRgbTextureBuffer() 148 eglBase.makeCurrent(); in createRgbTextureBuffer() 164 eglBase.release(); in createRgbTextureBuffer() 190 final EglBase eglBase = EglBase.create(eglContext, EglBase.CONFIG_PLAIN); 191 eglBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); 192 eglBase.makeCurrent(); 193 assertEquals(width, eglBase.surfaceWidth()); 194 assertEquals(height, eglBase.surfaceHeight()); 202 eglBase.swapBuffers();
|
D | HardwareVideoEncoderTest.java | 286 private EglBase14 eglBase; field in HardwareVideoEncoderTest 297 createEncoderFactory(useEglContext ? eglBase.getEglBaseContext() : null); in createEncoder() 359 eglBase = EglBase.createEgl14(EglBase.CONFIG_PLAIN); in setUp() 360 eglBase.createDummyPbufferSurface(); in setUp() 361 eglBase.makeCurrent(); in setUp() 367 eglBase.release(); in tearDown()
|
D | VideoFileRendererTest.java | 37 EglBase eglBase = EglBase.create(); in testYuvRenderingToFile() local 43 new VideoFileRenderer(videoOutPath, frameWidth, frameHeight, eglBase.getEglBaseContext()); in testYuvRenderingToFile()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | EglRenderer.java | 74 if (surface != null && eglBase != null && !eglBase.hasSurface()) { in run() 76 eglBase.createSurface((Surface) surface); in run() 78 eglBase.createSurface((SurfaceTexture) surface); in run() 82 eglBase.makeCurrent(); in run() 133 @Nullable private EglBase eglBase; field in EglRenderer 238 eglBase = EglBase.createEgl10(configAttributes); in init() 241 eglBase = EglBase.create(sharedContext, configAttributes); in init() 302 if (eglBase != null) { in release() 304 eglBase.detachCurrent(); in release() 305 eglBase.release(); in release() [all …]
|
D | VideoFileRenderer.java | 37 private EglBase eglBase; field in VideoFileRenderer 70 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_BUFFER); in VideoFileRenderer() 71 eglBase.createDummyPbufferSurface(); in VideoFileRenderer() 72 eglBase.makeCurrent(); in VideoFileRenderer() 138 eglBase.release(); in release()
|
D | SurfaceTextureHelper.java | 143 private final EglBase eglBase; 187 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_BUFFER); 190 eglBase.createDummyPbufferSurface(); 191 eglBase.makeCurrent(); 194 eglBase.release(); 394 eglBase.release();
|
/external/webrtc/examples/androidnativeapi/java/org/webrtc/examples/androidnativeapi/ |
D | MainActivity.java | 30 private @Nullable EglBase eglBase; field in MainActivity 63 eglBase = EglBase.create(null /* sharedContext */, EglBase.CONFIG_PLAIN); in onStart() 67 localRenderer.init(eglBase.getEglBaseContext(), null /* rendererEvents */, EglBase.CONFIG_PLAIN, in onStart() 69 remoteRenderer.init(eglBase.getEglBaseContext(), null /* rendererEvents */, in onStart() 73 SurfaceTextureHelper.create("VideoCapturerThread", eglBase.getEglBaseContext()); in onStart() 83 eglBase.release(); in onStop() 88 eglBase = null; in onStop()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CallActivity.java | 233 final EglBase eglBase = EglBase.create(); in onCreate() local 236 pipRenderer.init(eglBase.getEglBaseContext(), null); in onCreate() 246 saveRemoteVideoToFile, videoOutWidth, videoOutHeight, eglBase.getEglBaseContext()); in onCreate() 253 fullscreenRenderer.init(eglBase.getEglBaseContext(), null); in onCreate() 373 getApplicationContext(), eglBase, peerConnectionParameters, CallActivity.this); in onCreate()
|
D | PeerConnectionClient.java | 325 public PeerConnectionClient(Context appContext, EglBase eglBase, in PeerConnectionClient() argument 327 this.rootEglBase = eglBase; in PeerConnectionClient()
|
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/ |
D | PeerConnectionClientTest.java | 279 final EglBase eglBase = EglBase.create(); in createPeerConnectionClient() local 281 new PeerConnectionClient(InstrumentationRegistry.getTargetContext(), eglBase, in createPeerConnectionClient()
|