/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | SurfaceTextureHelperTest.java | 120 final SurfaceTextureHelper surfaceTextureHelper = SurfaceTextureHelper.create( in testThreeConstantColorFrames() local 123 surfaceTextureHelper.startListening(listener); in testThreeConstantColorFrames() 124 surfaceTextureHelper.setTextureSize(width, height); in testThreeConstantColorFrames() 129 eglOesBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); in testThreeConstantColorFrames() 169 surfaceTextureHelper.dispose(); in testThreeConstantColorFrames() 188 final SurfaceTextureHelper surfaceTextureHelper = SurfaceTextureHelper.create( in testLateReturnFrame() local 191 surfaceTextureHelper.startListening(listener); in testLateReturnFrame() 192 surfaceTextureHelper.setTextureSize(width, height); in testLateReturnFrame() 197 eglOesBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); in testLateReturnFrame() 215 surfaceTextureHelper.dispose(); in testLateReturnFrame() [all …]
|
D | GlRectDrawerTest.java | 242 SurfaceTextureHelper surfaceTextureHelper, int width, int height) { 244 surfaceTextureHelper.setTextureSize(width, height); 245 eglBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); 282 final SurfaceTextureHelper surfaceTextureHelper = SurfaceTextureHelper.create( 285 eglBase.getEglBaseContext(), surfaceTextureHelper, WIDTH, HEIGHT); 288 surfaceTextureHelper.startListening(listener); 318 surfaceTextureHelper.dispose();
|
D | CameraVideoCapturerTestFixtures.java | 257 public SurfaceTextureHelper surfaceTextureHelper; field in CameraVideoCapturerTestFixtures.CapturerInstance 268 public SurfaceTextureHelper surfaceTextureHelper; field in CameraVideoCapturerTestFixtures.VideoTrackWithRenderer 347 instance.surfaceTextureHelper = SurfaceTextureHelper.create( in createCapturer() 352 instance.surfaceTextureHelper, testObjectFactory.getAppContext(), instance.observer); in createCapturer() 380 instance.surfaceTextureHelper.dispose(); in disposeCapturer() 386 videoTrackWithRenderer.surfaceTextureHelper = SurfaceTextureHelper.create( in createVideoTrackWithRenderer() 390 capturer.initialize(videoTrackWithRenderer.surfaceTextureHelper, in createVideoTrackWithRenderer() 423 capturerInstance.surfaceTextureHelper.getHandler().post(new Runnable() { in waitUntilIdle()
|
D | VideoFrameBufferTest.java | 180 final SurfaceTextureHelper surfaceTextureHelper = 182 surfaceTextureHelper.setTextureSize(width, height); 191 eglBase.createSurface(surfaceTextureHelper.getSurfaceTexture()); 198 surfaceTextureHelper.startListening(listener); 204 surfaceTextureHelper.stopListening(); 205 surfaceTextureHelper.dispose();
|
D | PeerConnectionEndToEndTest.java | 695 final SurfaceTextureHelper surfaceTextureHelper = in testCompleteSession() local 698 videoCapturer.initialize(surfaceTextureHelper, InstrumentationRegistry.getTargetContext(), in testCompleteSession() 923 surfaceTextureHelper.dispose(); in testCompleteSession() 1190 final SurfaceTextureHelper surfaceTextureHelper = in testTrackRemovalAndAddition() local 1193 videoCapturer.initialize(surfaceTextureHelper, InstrumentationRegistry.getTargetContext(), in testTrackRemovalAndAddition() 1353 surfaceTextureHelper.dispose(); in testTrackRemovalAndAddition() 1430 final SurfaceTextureHelper surfaceTextureHelper = in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() local 1433 videoCapturer.initialize(surfaceTextureHelper, InstrumentationRegistry.getTargetContext(), in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1487 surfaceTextureHelper.dispose(); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | CameraVideoCapturer.java | 114 private final SurfaceTextureHelper surfaceTextureHelper; field in CameraVideoCapturer.CameraStatistics 129 if (surfaceTextureHelper.isTextureInUse()) { 141 surfaceTextureHelper.getHandler().postDelayed(this, CAMERA_OBSERVER_PERIOD_MS); 146 SurfaceTextureHelper surfaceTextureHelper, CameraEventsHandler eventsHandler) { in CameraStatistics() argument 147 if (surfaceTextureHelper == null) { in CameraStatistics() 150 this.surfaceTextureHelper = surfaceTextureHelper; in CameraStatistics() 154 surfaceTextureHelper.getHandler().postDelayed(cameraObserver, CAMERA_OBSERVER_PERIOD_MS); in CameraStatistics() 158 if (Thread.currentThread() != surfaceTextureHelper.getHandler().getLooper().getThread()) { in checkThread() 169 surfaceTextureHelper.getHandler().removeCallbacks(cameraObserver); in release()
|
D | ScreenCapturerAndroid.java | 50 @Nullable private SurfaceTextureHelper surfaceTextureHelper; field in ScreenCapturerAndroid 81 public synchronized void initialize(final SurfaceTextureHelper surfaceTextureHelper, in initialize() argument 90 if (surfaceTextureHelper == null) { in initialize() 93 this.surfaceTextureHelper = surfaceTextureHelper; in initialize() 113 mediaProjection.registerCallback(mediaProjectionCallback, surfaceTextureHelper.getHandler()); in startCapture() 117 surfaceTextureHelper.startListening(ScreenCapturerAndroid.this); in startCapture() 125 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in stopCapture() 128 surfaceTextureHelper.stopListening(); in stopCapture() 180 ThreadUtils.invokeAtFrontUninterruptibly(surfaceTextureHelper.getHandler(), new Runnable() { in changeCaptureFormat() 190 surfaceTextureHelper.setTextureSize(width, height); in createVirtualDisplay() [all …]
|
D | Camera1Capturer.java | 28 SurfaceTextureHelper surfaceTextureHelper, String cameraName, int width, int height, in createCameraSession() argument 31 surfaceTextureHelper, Camera1Enumerator.getCameraIndex(cameraName), width, height, in createCameraSession()
|
D | Camera2Capturer.java | 33 SurfaceTextureHelper surfaceTextureHelper, String cameraName, int width, int height, in createCameraSession() argument 36 surfaceTextureHelper, cameraName, width, height, framerate); in createCameraSession()
|
D | VideoCapturer.java | 28 void initialize(SurfaceTextureHelper surfaceTextureHelper, Context applicationContext, in initialize() argument
|
D | FileVideoCapturer.java | 172 public void initialize(SurfaceTextureHelper surfaceTextureHelper, Context applicationContext, in initialize() argument
|
/external/webrtc/examples/unityplugin/java/src/org/webrtc/ |
D | UnityUtility.java | 20 final SurfaceTextureHelper surfaceTextureHelper = in LoadSurfaceTextureHelper() local 22 return surfaceTextureHelper; in LoadSurfaceTextureHelper() 46 long nativeTrackSource, SurfaceTextureHelper surfaceTextureHelper) { in LinkCamera() argument 52 capturer.initialize(surfaceTextureHelper, ContextUtils.getApplicationContext(), in LinkCamera()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | Camera1Session.java | 40 private final SurfaceTextureHelper surfaceTextureHelper; field in Camera1Session 55 final SurfaceTextureHelper surfaceTextureHelper, final int cameraId, final int width, in create() argument 76 camera.setPreviewTexture(surfaceTextureHelper.getSurfaceTexture()); in create() 110 surfaceTextureHelper, cameraId, camera, info, captureFormat, constructionTimeNs)); in create() 158 SurfaceTextureHelper surfaceTextureHelper, int cameraId, android.hardware.Camera camera, in Camera1Session() argument 167 this.surfaceTextureHelper = surfaceTextureHelper; in Camera1Session() 174 surfaceTextureHelper.setTextureSize(captureFormat.width, captureFormat.height); in Camera1Session() 238 surfaceTextureHelper.stopListening(); in stopInternal() 249 surfaceTextureHelper.startListening((VideoFrame frame) -> { in listenForTextureFrames()
|
D | Camera2Session.java | 50 private final SurfaceTextureHelper surfaceTextureHelper; field in Camera2Session 122 surfaceTextureHelper.setTextureSize(captureFormat.width, captureFormat.height); in onOpened() 123 surface = new Surface(surfaceTextureHelper.getSurfaceTexture()); in onOpened() 183 surfaceTextureHelper.startListening((VideoFrame frame) -> { in onConfigured() 272 SurfaceTextureHelper surfaceTextureHelper, String cameraId, int width, int height, in create() argument 274 new Camera2Session(callback, events, applicationContext, cameraManager, surfaceTextureHelper, in create() 279 CameraManager cameraManager, SurfaceTextureHelper surfaceTextureHelper, String cameraId, in Camera2Session() argument 290 this.surfaceTextureHelper = surfaceTextureHelper; in Camera2Session() 375 surfaceTextureHelper.stopListening(); in stopInternal()
|
D | AndroidVideoDecoder.java | 107 @Nullable private SurfaceTextureHelper surfaceTextureHelper; field in AndroidVideoDecoder 153 surfaceTextureHelper = createSurfaceTextureHelper(); in initDecode() 154 surface = new Surface(surfaceTextureHelper.getSurfaceTexture()); in initDecode() 155 surfaceTextureHelper.startListening(this); in initDecode() 318 surfaceTextureHelper.stopListening(); in release() 319 surfaceTextureHelper.dispose(); in release() 320 surfaceTextureHelper = null; in release() 410 if (surfaceTextureHelper != null) { 436 surfaceTextureHelper.setTextureSize(width, height); 437 surfaceTextureHelper.setFrameRotation(rotation); [all …]
|
D | CameraCapturer.java | 236 public void initialize(SurfaceTextureHelper surfaceTextureHelper, Context applicationContext, in initialize() argument 240 this.surfaceHelper = surfaceTextureHelper; in initialize() 241 this.cameraThreadHandler = surfaceTextureHelper.getHandler(); in initialize() 456 Context applicationContext, SurfaceTextureHelper surfaceTextureHelper, String cameraName, in createCameraSession() argument
|
/external/webrtc/examples/androidnativeapi/java/org/webrtc/examples/androidnativeapi/ |
D | CallClient.java | 32 private SurfaceTextureHelper surfaceTextureHelper; field in CallClient
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | PeerConnectionClient.java | 135 @Nullable private SurfaceTextureHelper surfaceTextureHelper; field in PeerConnectionClient 721 if (surfaceTextureHelper != null) { in closeInternal() 722 surfaceTextureHelper.dispose(); in closeInternal() 723 surfaceTextureHelper = null; in closeInternal() 940 surfaceTextureHelper = in createVideoTrack() 943 capturer.initialize(surfaceTextureHelper, appContext, videoSource.getCapturerObserver()); in createVideoTrack()
|