DESY ACOP Beans Home
de.desy.acop.video.displayer
Class ImageCounter
java.lang.Object
de.desy.acop.video.displayer.ImageCounter
public class ImageCounter
- extends java.lang.Object
Images counter. Calculates dropped frames and dropped frames percentage for
each new subsequent incoming frame
- Author:
- sweisse, mdavid
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCounter
public ImageCounter()
getLastFrameNumber
public long getLastFrameNumber()
setLastFrameNumber
public void setLastFrameNumber(long lastFrameNumber)
calculate
public void calculate(long frameNumber)
getDroppedFrames
public long getDroppedFrames()
getReceivedFrames
public long getReceivedFrames()
getRatio
public double getRatio()
getDroppedPercent
public double getDroppedPercent()
reset
public void reset()
- Resets image counter
Copyright © 2010. All Rights Reserved.