Home
last modified time | relevance | path

Searched refs:mSurfaceTexture (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java34 private SurfaceTexture mSurfaceTexture; field in RSTextureView
71 mSurfaceTexture = surface; in onSurfaceTextureAvailable()
74 mRS.setSurfaceTexture(mSurfaceTexture, width, height); in onSurfaceTextureAvailable()
84 mSurfaceTexture = surface; in onSurfaceTextureSizeChanged()
87 mRS.setSurfaceTexture(mSurfaceTexture, width, height); in onSurfaceTextureSizeChanged()
97 mSurfaceTexture = surface; in onSurfaceTextureDestroyed()
112 mSurfaceTexture = surface; in onSurfaceTextureUpdated()
155 if (mSurfaceTexture != null) { in createRenderScriptGL()
156 mRS.setSurfaceTexture(mSurfaceTexture, getWidth(), getHeight()); in createRenderScriptGL()
180 if (mSurfaceTexture != null) { in setRenderScriptGL()
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DGpuVideoTrackDecoder.java73 mSurfaceTexture = new SurfaceTexture(mTextureSource.getTextureId()); in GpuVideoTrackDecoder()
74 mSurfaceTexture.detachFromGLContext(); in GpuVideoTrackDecoder()
75 mSurfaceTexture.setOnFrameAvailableListener(new OnFrameAvailableListener() { in GpuVideoTrackDecoder()
99 Surface surface = new Surface(mSurfaceTexture); in initMediaCodec()
135 mSurfaceTexture.attachToGLContext(mTextureSource.getTextureId()); in updateTexture()
136 mSurfaceTexture.updateTexImage(); in updateTexture()
137 mSurfaceTexture.detachFromGLContext(); in updateTexture()
148 mSurfaceTexture.attachToGLContext(targetTexture.getTextureId()); in copyFrameDataTo()
149 mSurfaceTexture.getTransformMatrix(mTransformMatrix); in copyFrameDataTo()
174 mSurfaceTexture.detachFromGLContext(); in copyFrameDataTo()
[all …]
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java104 private SurfaceTexture mSurfaceTexture; field in SurfaceTextureSource
171 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open()
173 mSurfaceTexture.setOnFrameAvailableListener(onFrameAvailableListener); in open()
175 mSourceListener.onSurfaceTextureSourceReady(mSurfaceTexture); in open()
204 mSurfaceTexture.updateTexImage(); in process()
206 mSurfaceTexture.getTransformMatrix(mFrameTransform); in process()
218 output.setTimestamp(mSurfaceTexture.getTimestamp()); in process()
228 mSurfaceTexture.release(); in close()
229 mSurfaceTexture = null; in close()
H A DCameraSource.java72 private SurfaceTexture mSurfaceTexture; field in CameraSource
149 mSurfaceTexture = new SurfaceTexture(mCameraFrame.getTextureId()); in open()
151 mCamera.setPreviewTexture(mSurfaceTexture); in open()
158 mSurfaceTexture.setOnFrameAvailableListener(onCameraFrameAvailableListener); in open()
184 mSurfaceTexture.updateTexImage(); in process()
187 mSurfaceTexture.getTransformMatrix(mCameraTransform); in process()
199 long timestamp = mSurfaceTexture.getTimestamp(); in process()
217 mSurfaceTexture.release(); in close()
218 mSurfaceTexture = null; in close()
H A DSurfaceTextureTarget.java52 private SurfaceTexture mSurfaceTexture; field in SurfaceTextureTarget
105 if (mSurfaceTexture == null) { in setupPorts()
155 if (mSurfaceTexture == null) { in open()
157 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture); in open()
160 mSurfaceTexture, mScreenWidth, mScreenHeight); in open()
162 throw new RuntimeException("Could not register SurfaceTexture: " + mSurfaceTexture); in open()
187 if (mSurfaceTexture == null) { in disconnect()
191 mSurfaceTexture = null; in disconnect()
H A DMediaSource.java99 private SurfaceTexture mSurfaceTexture; field in MediaSource
211 mSurfaceTexture = new SurfaceTexture(mMediaFrame.getTextureId()); in open()
287 mSurfaceTexture.updateTexImage(); in process()
292 mSurfaceTexture.getTransformMatrix(surfaceTransform); in process()
335 long timestamp = mSurfaceTexture.getTimestamp(); in process()
359 mSurfaceTexture.release(); in close()
360 mSurfaceTexture = null; in close()
492 Surface surface = new Surface(mSurfaceTexture); in setupMediaPlayer()
503 mSurfaceTexture.setOnFrameAvailableListener(onMediaFrameAvailableListener); in setupMediaPlayer()
/aosp14/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp41 , mSurfaceTexture(nullptr, [](ASurfaceTexture*) {}) in DeferredLayerUpdater()
56 mSurfaceTexture = std::move(consumer); in setSurfaceTexture()
58 GLenum target = ASurfaceTexture_getCurrentTextureTarget(mSurfaceTexture.get()); in setSurfaceTexture()
72 if (mSurfaceTexture.get() && mGLContextAttached) { in destroyLayer()
73 ASurfaceTexture_releaseConsumerOwnership(mSurfaceTexture.get()); in destroyLayer()
142 if (mSurfaceTexture.get()) { in apply()
146 ASurfaceTexture_takeConsumerOwnership(mSurfaceTexture.get()); in apply()
163 mSurfaceTexture.get(), &slot, &dataspace, &hdrMetadataType, &cta861_3, in apply()
221 if (mSurfaceTexture.get()) { in detachSurfaceTexture()
223 mSurfaceTexture = nullptr; in detachSurfaceTexture()
H A DDeferredLayerUpdater.h152 AutoTextureRelease mSurfaceTexture; variable
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayAdapter.java277 private SurfaceTexture mSurfaceTexture; field in OverlayDisplayAdapter.OverlayDisplayDevice
293 mSurfaceTexture = surfaceTexture; in OverlayDisplayDevice()
305 mSurfaceTexture = null; in destroyLocked()
320 if (mSurfaceTexture != null) { in performTraversalLocked()
322 mSurface = new Surface(mSurfaceTexture); in performTraversalLocked()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java82 private long mSurfaceTexture; field in SurfaceTexture
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt46653 Landroid/renderscript/RSTextureView;->mSurfaceTexture:Landroid/graphics/SurfaceTexture;