|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vixid.library.Track
public class Track
Constructor Summary | |
---|---|
Track(Vixid v,
int nb,
boolean[] videoIn)
|
Method Summary | |
---|---|
void |
getGain()
|
void |
getOpacity()
|
void |
reset()
Reset the track to it's default values. |
void |
selectVideoInput(int inputId)
Select the video input for this track if there is video feed in. |
void |
setBCS(int b,
int c,
int s)
Set brightness, contrast and saturation in the BCS effects. |
void |
setBkgAlpha(boolean transparent)
|
void |
setBkgAlphaOff()
|
void |
setBkgAlphaOn()
|
void |
setBlackAndWhite(boolean bw)
|
void |
setBlackAndWhiteOff()
|
void |
setBlackAndWhiteOn()
|
void |
setBlendMode(int mode)
Set blend mode to be normal, additive, average,... |
void |
setBlueGain(int value)
Set the blue gain in the RGB effects. |
void |
setBlueOffset(int value)
Set the blue offset in the RGB effects. |
void |
setBrightness(int value)
Set the brightness in the BCS effects. |
void |
setContrast(int value)
Set the contrast in the BCS effects. |
void |
setCrop(boolean crop)
|
void |
setCrop(float left,
float right,
float up,
float down)
Set crop to these L, R, U, D values between 0 and 100% |
void |
setCrop(float left,
float right,
float up,
float down,
int type)
Set crop and crop type together. |
void |
setCropD(float value)
|
void |
setCropL(float value)
|
void |
setCropOff()
|
void |
setCropOn()
|
void |
setCropR(float value)
|
void |
setCropType(int type)
|
void |
setCropU(float value)
|
void |
setFx(boolean fx)
|
void |
setFxOff()
|
void |
setFxOn()
|
void |
setFxType(int type)
Set the effects to be type of: |
void |
setGain()
|
void |
setGreenGain(int value)
Set the green gain in the RGB effects. |
void |
setGreenOffset(int value)
Set the green offset in the RGB effects. |
void |
setInverse(boolean inverse)
|
void |
setInverseOff()
Switch off the keyer inverse |
void |
setInverseOn()
Switch on the keyer inverse |
void |
setKeyer(boolean keyer)
|
void |
setKeyerOff()
|
void |
setKeyerOn()
|
void |
setKeyerType(int type)
Set the keyer type. |
void |
setLayer(int layerId)
|
void |
setMosaicZoomX(int zoom)
Set the x parameter for the mosaic zoom effect |
void |
setMosaicZoomXY(int x,
int y)
|
void |
setMosaicZoomY(int zoom)
Set the y parameter for the mosaic zoom effect |
void |
setMute(boolean mute)
|
void |
setMuteOff()
|
void |
setMuteOn()
|
void |
setNegative(boolean negative)
|
void |
setNegativeOff()
|
void |
setNegativeOn()
|
void |
setOpacity()
|
void |
setPickerState(boolean pickerState)
|
void |
setPickerStateOff()
Disable the keyer picker state |
void |
setPickerStateOn()
Enable the keyer picker state |
void |
setPickMode(int mode)
Set the keyer pick mode |
void |
setPrePost(int pp)
Set Pre or Post Fx for the Keyer |
void |
setRedGain(int value)
Set the red gain in the RGB effects. |
void |
setRedOffset(int value)
Set the red offset in the RGB effects. |
void |
setRGBGain(int r,
int g,
int b)
Set the RGB gain in the RGB effects. |
void |
setRGBOffset(int r,
int g,
int b)
Set the RGB offset in the RGB effects. |
void |
setSaturation(int value)
Set the saturation in the BCS effects. |
void |
setScrollX(int value)
|
void |
setScrollXY(int x,
int y)
|
void |
setScrollY(int value)
|
void |
setSolo(boolean solo)
|
void |
setSoloOff()
|
void |
setSoloOn()
|
void |
setTolerance(int value)
|
void |
setTrackIn(int trackId)
Set the Track number for the keyer input |
void |
setTransition(int value)
|
void |
setZoomX(int zoom)
Set the x parameter for the zoom effect |
void |
setZoomXY(int x,
int y)
|
void |
setZoomY(int zoom)
Set the y parameter for the zoom effect |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Track(Vixid v, int nb, boolean[] videoIn)
Method Detail |
---|
public void setCropL(float value)
public void setCropR(float value)
public void setCropU(float value)
public void setCropD(float value)
public void setScrollX(int value)
public void setScrollY(int value)
public void setScrollXY(int x, int y)
public void setTolerance(int value)
public void setTransition(int value)
public void selectVideoInput(int inputId)
inputId
- 0 : input1 (COMP), 1 : input2 (COMP), 2 : input3 (S-VIDEO), 3 : input4 (S-VIDEO)public void setSoloOn()
public void setSoloOff()
public void setSolo(boolean solo)
public void setMuteOn()
public void setMuteOff()
public void setMute(boolean mute)
public void setNegativeOn()
public void setNegativeOff()
public void setNegative(boolean negative)
public void setBlackAndWhiteOn()
public void setBlackAndWhiteOff()
public void setBlackAndWhite(boolean bw)
public void setBkgAlphaOn()
public void setBkgAlphaOff()
public void setBkgAlpha(boolean transparent)
public void setOpacity()
public void getOpacity()
public void setGain()
public void getGain()
public void setBlendMode(int mode)
mode
- 0 : normal, 1 : additive, 2 : average, 3 : darken, 4 : lighten, 5 : stamp, 6 : diff, 7 : substract, 8 : negation, 9 : xor, 10 : red, 11 : green, 12 : blue public void setLayer(int layerId)
public void setRedGain(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setGreenGain(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setBlueGain(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setRGBGain(int r, int g, int b)
r
- g
- b
- public void setRedOffset(int value)
value
- set it to be between -255 and 255 or it will do nothingpublic void setGreenOffset(int value)
value
- set it to be between -255 and 255 or it will do nothingpublic void setBlueOffset(int value)
value
- set it to be between -255 and 255 or it will do nothingpublic void setRGBOffset(int r, int g, int b)
r
- g
- b
- public void setBrightness(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setContrast(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setSaturation(int value)
value
- set it to be between 0 and 255 or it will do nothingpublic void setBCS(int b, int c, int s)
b
- c
- s
- public void setCrop(float left, float right, float up, float down)
left
- right
- up
- down
- public void setCrop(float left, float right, float up, float down, int type)
left
- right
- up
- down
- type
- 0 : crop, 1 : crop centerpublic void setCropOn()
public void setCropOff()
public void setCrop(boolean crop)
public void setCropType(int type)
public void setKeyerOn()
public void setKeyerOff()
public void setKeyer(boolean keyer)
public void setKeyerType(int type)
type
- 0 : color key, 1 : chroma key, 2 : luma key, 3 : red key, 4 : green key, 5 : blue keypublic void setTrackIn(int trackId)
trackId
- 0 : track 1, 1 : track 2, 2 : track 3, 3 : track 4public void setPrePost(int pp)
pp
- 0 : Pre Fx, 1 : Post Fxpublic void setInverseOn()
public void setInverseOff()
public void setInverse(boolean inverse)
public void setPickMode(int mode)
mode
- 0 : Map mode, 1 : Picker Modepublic void setPickerStateOn()
public void setPickerStateOff()
public void setPickerState(boolean pickerState)
public void setFxOn()
public void setFxOff()
public void setFx(boolean fx)
public void setFxType(int type)
type
- 0 : MirrorL, 1 : MirrorR, 2 : MirrorU, 3 : MirrorD, 4: FlipH, 5 : FlipV, 6 : Rot180, 7 : Blow, 8 : Scroll, 9 : Scrollwrap, 10 : ScrollX, 11 : ScrollY, 12 : ScrollXWrap, 13 : ScrollYWrap, 14 : Mosaicpublic void setZoomX(int zoom)
zoom
- values are between 1 and 63public void setZoomY(int zoom)
zoom
- values are between 1 and 63public void setZoomXY(int x, int y)
public void setMosaicZoomX(int zoom)
zoom
- values are between 1 and 63public void setMosaicZoomY(int zoom)
zoom
- values are between 1 and 63public void setMosaicZoomXY(int x, int y)
public void reset()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |