|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fluendo.jst.Object
com.fluendo.jst.Element
com.fluendo.plugin.KateDec
public class KateDec
Katedec is a decoder element for the Kate stream format. See http://wiki.xiph.org/index.php/OggKate for more information. Kate streams may be multiplexed in Ogg. The Katedec element accepts Kate packets (presumably demultiplexed by an Ogg demuxer element) on its sink, and generates Kate events on its source. Kate events are Kate specific structures, which may then be interpreted by a renderer.
Field Summary |
---|
Fields inherited from class com.fluendo.jst.Element |
---|
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESS |
Fields inherited from class com.fluendo.jst.Object |
---|
OBJECT_FLAG_LAST |
Constructor Summary | |
---|---|
KateDec()
|
Method Summary | |
---|---|
java.lang.String |
getFactoryName()
|
long |
getFirstTs(java.util.Vector packets)
Get the first timestamp of the list of packets |
java.lang.String |
getMime()
Get mime type |
java.lang.String |
getMime(com.jcraft.jogg.Packet op)
Get mime type from the given packet |
java.lang.Object |
getProperty(java.lang.String name)
|
long |
granuleToDuration(long gp)
Converts a granule position to its duration equivalent |
long |
granuleToTime(long gp)
Converts a granule position to its time equivalent |
boolean |
isDiscontinuous()
A discontinuous codec will not cause the pipeline to wait for data if starving |
boolean |
isHeader(com.jcraft.jogg.Packet op)
Check if the packet contains a header packet |
boolean |
isKeyFrame(com.jcraft.jogg.Packet op)
Check if the packet contains a keyframe |
boolean |
isType(com.jcraft.jogg.Packet op)
Check if the packet contains the signature of the payload. |
int |
takeHeader(com.jcraft.jogg.Packet op)
Initialize the payload with a header packet. |
int |
typeFind(byte[] data,
int offset,
int length)
|
Methods inherited from class com.fluendo.jst.Element |
---|
abortState, addPad, addPadListener, continueState, enumPads, getBus, getClock, getPad, getState, getStateName, getStateNext, getStateReturnName, getTransition, getTransitionCurrent, getTransitionNext, lostState, noMorePads, postMessage, query, removePad, removePadListener, requestSinkPad, sendEvent, setBus, setClock, setState, toString |
Methods inherited from class com.fluendo.jst.Object |
---|
getName, getParent, isFlagSet, setFlag, setName, setParent, setProperty, unParent, unsetFlag |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KateDec()
Method Detail |
---|
public boolean isType(com.jcraft.jogg.Packet op)
OggPayload
isType
in interface OggPayload
public boolean isKeyFrame(com.jcraft.jogg.Packet op)
OggPayload
isKeyFrame
in interface OggPayload
public boolean isDiscontinuous()
isDiscontinuous
in interface OggPayload
public int takeHeader(com.jcraft.jogg.Packet op)
OggPayload
takeHeader
in interface OggPayload
public boolean isHeader(com.jcraft.jogg.Packet op)
OggPayload
isHeader
in interface OggPayload
public long getFirstTs(java.util.Vector packets)
OggPayload
getFirstTs
in interface OggPayload
public long granuleToTime(long gp)
granuleToTime
in interface OggPayload
public long granuleToDuration(long gp)
public java.lang.Object getProperty(java.lang.String name)
getProperty
in class Object
public java.lang.String getFactoryName()
getFactoryName
in class Element
public java.lang.String getMime()
OggPayload
getMime
in interface OggPayload
getMime
in class Element
public java.lang.String getMime(com.jcraft.jogg.Packet op)
OggPayload
getMime
in interface OggPayload
public int typeFind(byte[] data, int offset, int length)
typeFind
in class Element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |