HomeSort by relevance Sort by last modified time
    Searched refs:TextureSource (Results 1 - 9 of 9) sorted by null

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
TextureSource.java 25 public class TextureSource {
32 public static TextureSource fromTexture(int texId, int target) {
33 return new TextureSource(texId, target, false);
36 public static TextureSource fromTexture(int texId) {
37 return new TextureSource(texId, GLES20.GL_TEXTURE_2D, false);
40 public static TextureSource newTexture() {
41 return new TextureSource(GLToolbox.generateTexture(), GLES20.GL_TEXTURE_2D, true);
44 public static TextureSource newExternalTexture() {
45 return new TextureSource(GLToolbox.generateTexture(),
64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + ".")
    [all...]
TransformUtils.java 22 import androidx.media.filterfw.TextureSource;
67 TextureSource texture = frame.lockTextureSource();
73 TextureSource texture = frame.lockTextureSource();
CameraStreamer.java 89 protected HashMap<EGLContext, TextureSource> mTargetTextures
90 = new HashMap<EGLContext, TextureSource>();
154 TextureSource texture = mTargetTextures.get(context);
165 protected TextureSource textureForContext(EGLContext context) {
166 TextureSource texture = mTargetTextures.get(context);
187 protected TextureSource createClientTexture() {
213 TextureSource targetTex = TextureSource.newExternalTexture();
280 protected TextureSource mPreviewTexture = null;
317 TextureSource clientTex = textureForContext(context)
    [all...]
FrameImage2D.java 29 * Access frame's data using a TextureSource.
33 * @return The TextureSource instance holding the Frame's data.
35 public TextureSource lockTextureSource() {
36 return (TextureSource)mBackingStore.lockData(MODE_READ, BackingStore.ACCESS_TEXTURE);
ImageShader.java 242 public static void renderTextureToTarget(TextureSource texture,
251 TextureSource texSource = input.lockTextureSource();
253 processMulti(new TextureSource[] { texSource },
262 TextureSource[] texSources = new TextureSource[inputs.length];
277 public void process(TextureSource texture, RenderTarget target, int width, int height) {
278 processMulti(new TextureSource[] { texture }, target, width, height);
281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) {
298 processMulti(new TextureSource[] {}, target, width, height);
610 private void bindInputTextures(TextureSource[] sources)
    [all...]
BackingStore.java 37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */
583 private TextureSource mTexture = null;
588 mTexture = TextureSource.newTexture();
611 TextureSource texture = (TextureSource) backing.lock(ACCESS_TEXTURE);
676 private TextureSource getTexture() {
RenderTarget.java 103 public RenderTarget forTexture(TextureSource texture, int width, int height) {
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
GpuVideoTrackDecoder.java 29 import androidx.media.filterfw.TextureSource;
56 private final TextureSource mTextureSource;
72 mTextureSource = TextureSource.newExternalTexture();
147 TextureSource targetTexture = TextureSource.newExternalTexture();
  /external/drm_hwcomposer/
glworker.cpp 280 struct TextureSource {
288 TextureSource textures[MAX_OVERLAPPING_LAYERS];
335 RenderingCommand::TextureSource &src = cmd.textures[cmd.texture_count];
623 const RenderingCommand::TextureSource &src = cmd.textures[src_index];

Completed in 101 milliseconds