|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.agent.ItemFrame
public class ItemFrame
Item video frame. This class is used to store the frame extracted from a video file. The fixed number of frames (typically key frames) are usually extracted.
Constructor Summary | |
---|---|
ItemFrame(byte[] frame,
int sampleTime)
Constructor. |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns the frame data in bytes; |
int |
getSampleTime()
Gets time in milliseconds from the beginning of the video file when this frame was taken. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemFrame(byte[] frame, int sampleTime)
frame
- an array of bytes costituting a framesampleTime
- time in milliseconds from the beginning of the video file
when this frame was taken.Method Detail |
---|
public byte[] getBytes()
public int getSampleTime()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |