FileDocCategorySizeDatePackage
FrameSource.javaAPI DocAndroid 5.1 API1716Thu Mar 12 22:22:30 GMT 2015android.filterpacks.base

FrameSource

public class FrameSource extends android.filterfw.core.Filter
hide

Fields Summary
private android.filterfw.core.FrameFormat
mFormat
private android.filterfw.core.Frame
mFrame
private boolean
mRepeatFrame
Constructors Summary
public FrameSource(String name)


       
        super(name);
    
Methods Summary
public voidprocess(android.filterfw.core.FilterContext context)

        if (mFrame != null) {
            // Push output
            pushOutput("frame", mFrame);
        }

        if (!mRepeatFrame) {
            // Close output port as we are done here
            closeOutputPort("frame");
        }
    
public voidsetupPorts()

        addOutputPort("frame", mFormat);