public class JavaOverlayFilter extends DSFilter
DSFilter.DSPin
Modifier and Type | Field and Description |
---|---|
static int |
BLOCKING
Setup flags for use in DSFiltergraph.insertOverlayFilter(...)
|
static int |
CALLBACK
Setup flags for use in DSFiltergraph.insertOverlayFilter(...)
|
static int |
FORCE_CAPTURE_BRANCH
Setup flags for use in DSFiltergraph.insertOverlayFilter(...)
|
static int |
RUNNING
Setup flags for use in DSFiltergraph.insertOverlayFilter(...)
|
static int |
STATIC |
static int |
STATIC_ADD |
PINDIR_INPUT, PINDIR_OUTPUT
Modifier and Type | Method and Description |
---|---|
byte |
getAlpha() |
int |
getBitDepth()
Returns the bitdepth of the drawing graphics
|
java.awt.Graphics2D |
getDrawingSurface()
Returns the Graphics2D an application draws into.
|
int |
getHeight()
Returns the height of the drawing graphics
|
java.awt.Color |
getKeyColor() |
int |
getWidth()
Returns the width of the drawing graphics
|
void |
setAlpha(float a)
Sets the degree in which none keyed pixels will be blended with the underlying video (0 - fully transparent, 1.0 - fully opaque (default)).
|
void |
setKeyColor(java.awt.Color kc)
Sets the keycolor.
|
int |
submitFrame()
Submits a frame to the filter for compositing.
|
int |
submitFrame(int flags)
Submits a frame to the filter for compositing and eventually - with the STATIC bit set in the flags argument -
marks this frame as "static", that is: not to be changed until the next frame with that bit unset is submitted.
|
void |
submitPartialFrame(java.awt.Rectangle r,
int flags)
Submits only the region denoted by the Rectangle argument for compositing.
|
applyPropPageSettings, closePropPage, connectDownstream, connectWithFormat, disconnect, dumpConnections, embedPropertiesPage, getCLSID, getFiltergraph, getFilterInfo, getFilterState, getID, getInputs, getName, getOutputs, getPin, getPin, getPin, getPins, getPropPageCount, getPropPageSize, getPropPageTitles, loadFilterState, renderEx, renderPin, saveFilterState, setParameter, showPropertiesDialog, toString
public static final int RUNNING
public static final int BLOCKING
public static final int CALLBACK
public static final int FORCE_CAPTURE_BRANCH
public static final int STATIC
public static final int STATIC_ADD
public void setKeyColor(java.awt.Color kc)
public java.awt.Color getKeyColor()
public void setAlpha(float a)
public byte getAlpha()
public int getBitDepth()
public int getWidth()
public int getHeight()
public java.awt.Graphics2D getDrawingSurface()
public int submitFrame() throws java.lang.ArrayIndexOutOfBoundsException, DSJException
java.lang.ArrayIndexOutOfBoundsException
DSJException
public int submitFrame(int flags) throws java.lang.ArrayIndexOutOfBoundsException, DSJException
java.lang.ArrayIndexOutOfBoundsException
DSJException
public void submitPartialFrame(java.awt.Rectangle r, int flags) throws java.lang.ArrayIndexOutOfBoundsException, DSJException
java.lang.ArrayIndexOutOfBoundsException
DSJException