Home
last modified time | relevance | path

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

/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java73 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView
181 releaseSurface(surfaceTexture, surface); in onDetachedFromWindow()
182 surfaceTexture = null; in onDetachedFromWindow()
188 private void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture) { in onSurfaceTextureAvailable() argument
191 SurfaceTexture oldSurfaceTexture = this.surfaceTexture; in onSurfaceTextureAvailable()
193 this.surfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
194 this.surface = new Surface(surfaceTexture); in onSurfaceTextureAvailable()
219 @Nullable private SurfaceTexture surfaceTexture; field in VideoProcessingGLSurfaceView.VideoRenderer
237 surfaceTexture = new SurfaceTexture(texture); in onSurfaceCreated()
238 surfaceTexture.setOnFrameAvailableListener( in onSurfaceCreated()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurface.java13 private SurfaceTexture surfaceTexture; field in ShadowSurface
17 protected void __constructor__(SurfaceTexture surfaceTexture) { in __constructor__() argument
18 this.surfaceTexture = surfaceTexture; in __constructor__()
20 Surface.class, realSurface, ClassParameter.from(SurfaceTexture.class, surfaceTexture)); in __constructor__()
24 return surfaceTexture; in getSurfaceTexture()
/external/webrtc/sdk/android/api/org/webrtc/
DSurfaceTextureHelper.java144 private final SurfaceTexture surfaceTexture;
200 surfaceTexture = new SurfaceTexture(oesTextureId);
201 setOnFrameAvailableListener(surfaceTexture, (SurfaceTexture st) -> {
208 private static void setOnFrameAvailableListener(SurfaceTexture surfaceTexture,
211 surfaceTexture.setOnFrameAvailableListener(listener, handler);
217 surfaceTexture.setOnFrameAvailableListener(listener);
258 surfaceTexture.setDefaultBufferSize(textureWidth, textureHeight);
287 return surfaceTexture;
344 surfaceTexture.updateTexImage();
367 surfaceTexture.getTransformMatrix(transformMatrix);
[all …]
DEglBase.java230 void createSurface(SurfaceTexture surfaceTexture); in createSurface() argument
DEglRenderer.java266 public void createEglSurface(SurfaceTexture surfaceTexture) { in createEglSurface() argument
267 createEglSurfaceInternal(surfaceTexture); in createEglSurface()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSceneRenderer.java54 private @MonotonicNonNull SurfaceTexture surfaceTexture; field in SceneRenderer
98 surfaceTexture = new SurfaceTexture(textureId); in init()
99 surfaceTexture.setOnFrameAvailableListener(surfaceTexture -> frameAvailable.set(true)); in init()
100 return surfaceTexture; in init()
117 Assertions.checkNotNull(surfaceTexture).updateTexImage(); in drawFrame()
122 long lastFrameTimestampNs = surfaceTexture.getTimestamp(); in drawFrame()
DSphericalGLSurfaceView.java72 @Nullable private SurfaceTexture surfaceTexture; field in SphericalGLSurfaceView
184 releaseSurface(surfaceTexture, surface); in onDetachedFromWindow()
185 surfaceTexture = null; in onDetachedFromWindow()
206 private void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture) { in onSurfaceTextureAvailable() argument
209 SurfaceTexture oldSurfaceTexture = this.surfaceTexture; in onSurfaceTextureAvailable()
211 this.surfaceTexture = surfaceTexture; in onSurfaceTextureAvailable()
212 this.surface = new Surface(surfaceTexture); in onSurfaceTextureAvailable()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java71 public SkottieAnimation createAnimation(SurfaceTexture surfaceTexture, InputStream is) { in createAnimation() argument
72 return new SkottieAnimationImpl(surfaceTexture, is); in createAnimation()
79 public void updateAnimationSurface(Animatable animation, SurfaceTexture surfaceTexture, in updateAnimationSurface() argument
81 ((SkottieAnimationImpl) animation).updateSurface(surfaceTexture, width, height); in updateAnimationSurface()
271 SkottieAnimationImpl(SurfaceTexture surfaceTexture, InputStream is) { in SkottieAnimationImpl() argument
272 init(surfaceTexture, is); in SkottieAnimationImpl()
280 private void init(SurfaceTexture surfaceTexture, InputStream is) { in init() argument
285 mSurfaceTexture = surfaceTexture; in init()
301 public void updateSurface(SurfaceTexture surfaceTexture, int width, int height) { in updateSurface() argument
304 mSurfaceTexture = surfaceTexture; in updateSurface()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustrationVideoView.java250 SurfaceTexture surfaceTexture = getSurfaceTexture(); in createSurface() local
251 if (surfaceTexture != null) { in createSurface()
253 surface = new Surface(surfaceTexture); in createSurface()
328 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
334 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) {} in onSurfaceTextureSizeChanged() argument
337 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
343 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) {} in onSurfaceTextureUpdated() argument
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
DSkottieRunner.java74 public SkottieAnimation createAnimation(SurfaceTexture surfaceTexture, InputStream is) { in createAnimation() argument
75 return new SkottieAnimation(surfaceTexture, is); in createAnimation()
90 public void updateAnimationSurface(Animatable animation, SurfaceTexture surfaceTexture, in updateAnimationSurface() argument
94 ((SkottieAnimation) animation).setSurfaceTexture(surfaceTexture); in updateAnimationSurface()
DSkottieAnimation.java49 SkottieAnimation(SurfaceTexture surfaceTexture, InputStream is) { in SkottieAnimation() argument
51 mSurfaceTexture = surfaceTexture; in SkottieAnimation()
432 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DEglRendererTest.java111 SurfaceTexture surfaceTexture; field in EglRendererTest
122 surfaceTexture = new SurfaceTexture(oesTextureId); in setUp()
123 surfaceTexture.setDefaultBufferSize(1 /* width */, 1 /* height */); in setUp()
124 eglRenderer.createEglSurface(surfaceTexture); in setUp()
129 surfaceTexture.release(); in tearDown()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DDummySurface.java88 private DummySurface(DummySurfaceThread thread, SurfaceTexture surfaceTexture, boolean secure) { in DummySurface() argument
89 super(surfaceTexture); in DummySurface()
/external/webrtc/sdk/android/src/java/org/webrtc/
DEglBase14Impl.java89 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument
90 createSurfaceInternal(surfaceTexture); in createSurface()
DEglBase10Impl.java146 public void createSurface(SurfaceTexture surfaceTexture) { in createSurface() argument
147 createSurfaceInternal(surfaceTexture); in createSurface()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp112 IDirect3DTexture9 *surfaceTexture = swapchain->getOffscreenTexture(); in TextureStorage9_2D() local
113 mTexture = surfaceTexture; in TextureStorage9_2D()
114 mMipLevels = surfaceTexture->GetLevelCount(); in TextureStorage9_2D()
119 surfaceTexture->GetLevelDesc(0, &surfaceDesc); in TextureStorage9_2D()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java634 SurfaceTexture surfaceTexture = in setVideoTextureView() local
636 if (surfaceTexture == null) { in setVideoTextureView()
640 setVideoSurfaceInternal(new Surface(surfaceTexture), /* ownsSurface= */ true); in setVideoTextureView()
2189 public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureAvailable() argument
2190 setVideoSurfaceInternal(new Surface(surfaceTexture), /* ownsSurface= */ true); in onSurfaceTextureAvailable()
2195 public void onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) { in onSurfaceTextureSizeChanged() argument
2200 public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) { in onSurfaceTextureDestroyed() argument
2207 public void onSurfaceTextureUpdated(SurfaceTexture surfaceTexture) { in onSurfaceTextureUpdated() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEGLSurfaceTexture.java179 public void onFrameAvailable(SurfaceTexture surfaceTexture) { in onFrameAvailable() argument