public class DirectDrawControls extends RendererControls
| Modifier and Type | Field and Description |
|---|---|
int |
type |
static int |
VERTICAL_SYNC |
BRIGHTNESS, CONTRAST, D3D9, DDR, EVR, HUE, IMG, J2D, NVR, SATURATION, VMR| Modifier and Type | Method and Description |
|---|---|
void |
displayResized(int x,
int y,
int w,
int h)
When you resize the display, you should redraw any overlay, that has been set.
|
void |
setFlags(int rendererFlags)
Allows to control further aspects of rendering by setting / clearing bits in the flags parameter.
|
void |
setOutputRect(int streamID,
int oX,
int oY,
int oW,
int oH)
Provides scaling functionality for the videostream (stream 0) and an eventual overlay image (stream 1 or RenderControls.IMG).
|
boolean |
setOverlayImage(java.awt.image.BufferedImage image,
int[] dest,
java.awt.Color keyColor,
float alpha)
Installs a BufferedImage object to be rendered over the running video.
|
getControls, getFlags, getRendererStatisticspublic static final int VERTICAL_SYNC
public int type
public void setOutputRect(int streamID,
int oX,
int oY,
int oW,
int oH)
throws DSJException
setOutputRect in class RendererControlsDSJExceptionpublic boolean setOverlayImage(java.awt.image.BufferedImage image,
int[] dest,
java.awt.Color keyColor,
float alpha)
throws DSJException
setOverlayImage in class RendererControlsDSJExceptionpublic void displayResized(int x,
int y,
int w,
int h)
displayResized in class RendererControlspublic void setFlags(int rendererFlags)
setFlags in class RendererControls