public class TranscoderVideoOverlayFrame
extends Object
TranscoderVideoOverlayFrame: Video overlay frame.
| Modifier and Type | Field | Description |
|---|---|---|
boolean |
enabled |
|
String |
imagePath |
|
int |
index |
|
long |
lastModDate |
|
static int |
LOADSTATE_FAILURE |
|
static int |
LOADSTATE_INIT |
|
static int |
LOADSTATE_SUCCESS |
|
int |
opacity |
|
TranscoderNativeVideoFrame |
videoFrame |
| Constructor | Description |
|---|---|
TranscoderVideoOverlayFrame() |
|
TranscoderVideoOverlayFrame(int width,
int height,
byte[] buffer) |
|
TranscoderVideoOverlayFrame(String imagePath) |
|
TranscoderVideoOverlayFrame(String imagePath,
int opacity) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getDstAlign() |
|
int |
getDstHeight() |
|
int |
getDstWidth() |
|
int |
getDstX() |
|
int |
getDstY() |
|
String |
getImagePath() |
Get the path to the overlay image.
|
int |
getIndex() |
Get overlay index (z-order)
|
long |
getLastModDate() |
|
int |
getOpacity() |
|
TranscoderNativeVideoFrame |
getVideoFrame() |
Get the video frame.
|
boolean |
isCheckForUpdates() |
|
boolean |
isEnabled() |
Is this overlay enabled.
|
boolean |
isGood() |
|
boolean |
isImageFileUpdated(IApplicationInstance appInstance) |
|
boolean |
isTransparent() |
|
boolean |
loadImage(IApplicationInstance appInstance,
boolean reload) |
If you set a path to an image file (JPG, PNG, BMP...) this will load the image into this object.
|
void |
setCheckForUpdates(boolean checkForUpdates) |
|
void |
setDstAlign(int align) |
|
void |
setDstHeight(int height) |
|
void |
setDstWidth(int width) |
|
void |
setDstX(int x) |
|
void |
setDstY(int y) |
|
void |
setEnabled(boolean enabled) |
Set is this overlay enabled.
|
void |
setImagePath(String imagePath) |
Set the path to the overlay image.
|
void |
setIndex(int index) |
Set overlay index (z-order)
|
void |
setLastModDate(long lastModDate) |
|
void |
setOpacity(int opacity) |
public boolean enabled
public String imagePath
public int index
public long lastModDate
public static final int LOADSTATE_FAILURE
public static final int LOADSTATE_INIT
public static final int LOADSTATE_SUCCESS
public int opacity
public TranscoderNativeVideoFrame videoFrame
public TranscoderVideoOverlayFrame()
public TranscoderVideoOverlayFrame(int width,
int height,
byte[] buffer)
public TranscoderVideoOverlayFrame(String imagePath)
public TranscoderVideoOverlayFrame(String imagePath,
int opacity)
public int getDstAlign()
public int getDstHeight()
public int getDstWidth()
public int getDstX()
public int getDstY()
public String getImagePath()
public int getIndex()
public long getLastModDate()
public int getOpacity()
public TranscoderNativeVideoFrame getVideoFrame()
public boolean isCheckForUpdates()
public boolean isEnabled()
public boolean isGood()
public boolean isImageFileUpdated(IApplicationInstance appInstance)
public boolean isTransparent()
public boolean loadImage(IApplicationInstance appInstance, boolean reload)
appInstance - application instancereload - is it an image reloadpublic void setCheckForUpdates(boolean checkForUpdates)
public void setDstAlign(int align)
public void setDstHeight(int height)
public void setDstWidth(int width)
public void setDstX(int x)
public void setDstY(int y)
public void setEnabled(boolean enabled)
enabled - overlay enabledpublic void setImagePath(String imagePath)
imagePath - path to the overlay imagepublic void setIndex(int index)
index - overlay index (z-order)public void setLastModDate(long lastModDate)
public void setOpacity(int opacity)