Searched refs:TextureSource (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TextureSource.java | 25 public class TextureSource { class 32 public static TextureSource fromTexture(int texId, int target) { in fromTexture() 33 return new TextureSource(texId, target, false); in fromTexture() 36 public static TextureSource fromTexture(int texId) { in fromTexture() 37 return new TextureSource(texId, GLES20.GL_TEXTURE_2D, false); in fromTexture() 40 public static TextureSource newTexture() { in newTexture() 41 return new TextureSource(GLToolbox.generateTexture(), GLES20.GL_TEXTURE_2D, true); in newTexture() 44 public static TextureSource newExternalTexture() { in newExternalTexture() 45 return new TextureSource(GLToolbox.generateTexture(), in newExternalTexture() 115 private TextureSource(int texId, int target, boolean isOwner) { in TextureSource() method in TextureSource
|
D | TransformUtils.java | 22 import androidx.media.filterfw.TextureSource; 67 TextureSource texture = frame.lockTextureSource(); in generateMipMaps() 73 TextureSource texture = frame.lockTextureSource(); in setTextureParameter()
|
D | CameraStreamer.java | 89 protected HashMap<EGLContext, TextureSource> mTargetTextures 90 = new HashMap<EGLContext, TextureSource>(); 154 TextureSource texture = mTargetTextures.get(context); in onCleanupContext() 165 protected TextureSource textureForContext(EGLContext context) { in textureForContext() 166 TextureSource texture = mTargetTextures.get(context); in textureForContext() 187 protected TextureSource createClientTexture() { in createClientTexture() 213 TextureSource targetTex = TextureSource.newExternalTexture(); in grabFrame() 280 protected TextureSource mPreviewTexture = null; 317 TextureSource clientTex = textureForContext(context); in onRegisterClient() 336 TextureSource clientTex = textureForContext(clientContext); in grabFrame() [all …]
|
D | ImageShader.java | 242 public static void renderTextureToTarget(TextureSource texture, in renderTextureToTarget() 251 TextureSource texSource = input.lockTextureSource(); in process() 253 processMulti(new TextureSource[] { texSource }, in process() 262 TextureSource[] texSources = new TextureSource[inputs.length]; in processMulti() 277 public void process(TextureSource texture, RenderTarget target, int width, int height) { in process() 278 processMulti(new TextureSource[] { texture }, target, width, height); in process() 281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) { in processMulti() 298 processMulti(new TextureSource[] {}, target, width, height); in processNoInput() 610 private void bindInputTextures(TextureSource[] sources) { in bindInputTextures()
|
D | FrameImage2D.java | 35 public TextureSource lockTextureSource() { in lockTextureSource() 36 return (TextureSource)mBackingStore.lockData(MODE_READ, BackingStore.ACCESS_TEXTURE); in lockTextureSource()
|
D | BackingStore.java | 583 private TextureSource mTexture = null; 588 mTexture = TextureSource.newTexture(); in allocate() 611 TextureSource texture = (TextureSource) backing.lock(ACCESS_TEXTURE); in syncTo() 676 private TextureSource getTexture() { in getTexture()
|
D | RenderTarget.java | 103 public RenderTarget forTexture(TextureSource texture, int width, int height) { in forTexture()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | GpuVideoTrackDecoder.java | 29 import androidx.media.filterfw.TextureSource; 56 private final TextureSource mTextureSource; 72 mTextureSource = TextureSource.newExternalTexture(); in GpuVideoTrackDecoder() 147 TextureSource targetTexture = TextureSource.newExternalTexture(); in copyFrameDataTo()
|