FileDocCategorySizeDatePackage
BlendFilter.javaAPI DocAndroid 5.1 API2033Thu Mar 12 22:22:30 GMT 2015android.filterpacks.imageproc

BlendFilter

public class BlendFilter extends ImageCombineFilter
The filter linearly blends "left" and "right" frames. The blending weight is the multiplication of parameter "blend" and the alpha value in "right" frame.
hide

Fields Summary
private final String
mBlendShader
Constructors Summary
public BlendFilter(String name)


       
        super(name, new String[] { "left", "right" }, "blended", "blend");
    
Methods Summary
protected android.filterfw.core.ProgramgetNativeProgram(android.filterfw.core.FilterContext context)

        throw new RuntimeException("TODO: Write native implementation for Blend!");
    
protected android.filterfw.core.ProgramgetShaderProgram(android.filterfw.core.FilterContext context)

        return new ShaderProgram(context, mBlendShader);