public class ProgressOutput extends java.lang.Object implements IVideoEffectListener
Constructor and Description |
---|
ProgressOutput() |
Modifier and Type | Method and Description |
---|---|
void |
endedProperly()
Prints a finish notification.
|
void |
interrupted(java.lang.String pReason)
Prints a notification that the processing has been interrupted.
|
void |
processingStarted()
Inits the timing variables when the video processing starts.
|
void |
setCurrentVideoFrame(java.awt.image.BufferedImage pCurrentFrame,
int iFrameId,
int iFrameNumber)
Prints a status notification with a progress percentag, rendering time and a remaining time.
|
void |
setProgressStatus(double dProgress,
java.lang.String pCurrentWork)
Not used.
|
public void processingStarted()
processingStarted
in interface IVideoEffectListener
public void setProgressStatus(double dProgress, java.lang.String pCurrentWork)
setProgressStatus
in interface IThreadListener
dProgress
- The percentage of the progress as double value.pCurrentWork
- The description of the current task as string.public void endedProperly()
endedProperly
in interface IThreadListener
public void interrupted(java.lang.String pReason)
interrupted
in interface IThreadListener
pReason
- The reason for the interruption as string.public void setCurrentVideoFrame(java.awt.image.BufferedImage pCurrentFrame, int iFrameId, int iFrameNumber)
setCurrentVideoFrame
in interface IVideoEffectListener
pCurrentFrame
- The video frame that is currently processed as BufferedImage
object.iFrameId
- The id of the current frame as integer.iFrameNumber
- The total number of frames as integer.