FileDocCategorySizeDatePackage
IdentityEffect.javaAPI DocAndroid 5.1 API1619Thu Mar 12 22:22:30 GMT 2015android.media.effect.effects

IdentityEffect

public class IdentityEffect extends android.media.effect.FilterEffect
hide

Fields Summary
Constructors Summary
public IdentityEffect(android.media.effect.EffectContext context, String name)

        super(context, name);
    
Methods Summary
public voidapply(int inputTexId, int width, int height, int outputTexId)

        beginGLEffect();

        Frame inputFrame = frameFromTexture(inputTexId, width, height);
        Frame outputFrame = frameFromTexture(outputTexId, width, height);

        outputFrame.setDataFromFrame(inputFrame);

        inputFrame.release();
        outputFrame.release();

        endGLEffect();
    
public voidrelease()

    
public voidsetParameter(java.lang.String parameterKey, java.lang.Object value)

        throw new IllegalArgumentException("Unknown parameter " + parameterKey
            + " for IdentityEffect!");