|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.rc.RendererControls
public class RendererControls
Base class for all renderer control classes.
To construct instances of this class's sublasses call getRendererControls() on DSFiltergraph
which will return the appropriate subclass according to the flags it has been set
up with (or null if the rendering mode does not expose controls).
You then cast the returned instance to the appropriate subclass or use the superclass methods directly.
Renderers that can be controlled and allow for graphics overlays are.
- the DirectDraw renderer (DD7 / RENDER_NATIVE)
- the Java2D renderer (J2D / JAVA_AUTODRAW)
- the VideoMixingRenderer (VMR9 / VMR_EMBED)
The DSRendererControls subclass, while not really controlling anything, can be used to get statistics
from the DirectShow video renderer filter in VMR7 and HEADLESS modes.
| Field Summary | |
|---|---|
static int |
BRIGHTNESS
|
static int |
CONTRAST
|
static int |
D3D9
|
static int |
DDR
|
static int |
EVR
|
static int |
HUE
|
static int |
IMG
|
static int |
J2D
|
static int |
NVR
|
static int |
SATURATION
|
int |
type
|
static int |
VMR
|
| Method Summary | |
|---|---|
void |
displayResized(int x,
int y,
int w,
int h)
See subclass documentation for implementation specific details |
static RendererControls |
getControls(DSFiltergraph graph)
|
int |
getFlags()
|
int[] |
getRendererStatistics()
See subclass documentation for implementation specific details |
void |
setFlags(int rendererFlags)
See subclass documentation for implementation specific details |
void |
setOutputRect(int stream,
int oX,
int oY,
int oW,
int oH)
See subclass documentation for implementation specific details |
boolean |
setOverlayImage(java.awt.image.BufferedImage image,
int[] dest,
java.awt.Color keyColor,
float alpha)
See subclass documentation for implementation specific details |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CONTRAST
public static final int BRIGHTNESS
public static final int HUE
public static final int SATURATION
public static int IMG
public static final int DDR
public static final int D3D9
public static final int J2D
public static final int VMR
public static final int NVR
public static final int EVR
public int type
| Method Detail |
|---|
public static RendererControls getControls(DSFiltergraph graph)
public void setFlags(int rendererFlags)
public int getFlags()
public boolean setOverlayImage(java.awt.image.BufferedImage image,
int[] dest,
java.awt.Color keyColor,
float alpha)
throws DSJException
DSJException
public void setOutputRect(int stream,
int oX,
int oY,
int oW,
int oH)
throws DSJException
DSJException
public void displayResized(int x,
int y,
int w,
int h)
public int[] getRendererStatistics()
throws DSJException
DSJException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||