javax.media
Class Buffer
java.lang.Object
javax.media.Buffer
public class Buffer
- extends java.lang.Object
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeStamp
protected long timeStamp
duration
protected long duration
format
protected Format format
flags
protected int flags
data
protected java.lang.Object data
header
protected java.lang.Object header
length
protected int length
offset
protected int offset
sequenceNumber
protected long sequenceNumber
FLAG_EOM
public static final int FLAG_EOM
- See Also:
- Constant Field Values
FLAG_DISCARD
public static final int FLAG_DISCARD
- See Also:
- Constant Field Values
FLAG_SILENCE
public static final int FLAG_SILENCE
- See Also:
- Constant Field Values
FLAG_SID
public static final int FLAG_SID
- See Also:
- Constant Field Values
FLAG_KEY_FRAME
public static final int FLAG_KEY_FRAME
- See Also:
- Constant Field Values
FLAG_NO_DROP
public static final int FLAG_NO_DROP
- See Also:
- Constant Field Values
FLAG_NO_WAIT
public static final int FLAG_NO_WAIT
- See Also:
- Constant Field Values
FLAG_NO_SYNC
public static final int FLAG_NO_SYNC
- See Also:
- Constant Field Values
FLAG_SYSTEM_TIME
public static final int FLAG_SYSTEM_TIME
- See Also:
- Constant Field Values
FLAG_RELATIVE_TIME
public static final int FLAG_RELATIVE_TIME
- See Also:
- Constant Field Values
FLAG_FLUSH
public static final int FLAG_FLUSH
- See Also:
- Constant Field Values
FLAG_SYSTEM_MARKER
public static final int FLAG_SYSTEM_MARKER
- See Also:
- Constant Field Values
FLAG_RTP_MARKER
public static final int FLAG_RTP_MARKER
- See Also:
- Constant Field Values
FLAG_RTP_TIME
public static final int FLAG_RTP_TIME
- See Also:
- Constant Field Values
FLAG_BUF_OVERFLOWN
public static final int FLAG_BUF_OVERFLOWN
- See Also:
- Constant Field Values
FLAG_BUF_UNDERFLOWN
public static final int FLAG_BUF_UNDERFLOWN
- See Also:
- Constant Field Values
FLAG_LIVE_DATA
public static final int FLAG_LIVE_DATA
- See Also:
- Constant Field Values
TIME_UNKNOWN
public static final long TIME_UNKNOWN
- See Also:
- Constant Field Values
SEQUENCE_UNKNOWN
public static final long SEQUENCE_UNKNOWN
- See Also:
- Constant Field Values
Buffer
public Buffer()
getFormat
public Format getFormat()
setFormat
public void setFormat(Format format)
getFlags
public int getFlags()
setFlags
public void setFlags(int flags)
isEOM
public boolean isEOM()
setEOM
public void setEOM(boolean eom)
isDiscard
public boolean isDiscard()
setDiscard
public void setDiscard(boolean discard)
getData
public java.lang.Object getData()
setData
public void setData(java.lang.Object data)
getHeader
public java.lang.Object getHeader()
setHeader
public void setHeader(java.lang.Object header)
getLength
public int getLength()
setLength
public void setLength(int length)
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)
getTimeStamp
public long getTimeStamp()
setTimeStamp
public void setTimeStamp(long timeStamp)
getDuration
public long getDuration()
setDuration
public void setDuration(long duration)
setSequenceNumber
public void setSequenceNumber(long number)
getSequenceNumber
public long getSequenceNumber()
copy
public void copy(Buffer buffer)
copy
public void copy(Buffer buffer,
boolean swapData)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object