public class KateDec extends Element implements OggPayload
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESSOBJECT_FLAG_LAST| Constructor and Description |
|---|
KateDec() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, toStringpublic boolean isType(com.jcraft.jogg.Packet op)
OggPayloadisType in interface OggPayloadpublic boolean isKeyFrame(com.jcraft.jogg.Packet op)
OggPayloadisKeyFrame in interface OggPayloadpublic boolean isDiscontinuous()
isDiscontinuous in interface OggPayloadpublic int takeHeader(com.jcraft.jogg.Packet op)
OggPayloadtakeHeader in interface OggPayloadpublic boolean isHeader(com.jcraft.jogg.Packet op)
OggPayloadisHeader in interface OggPayloadpublic long getFirstTs(java.util.Vector packets)
OggPayloadgetFirstTs in interface OggPayloadpublic long granuleToTime(long gp)
granuleToTime in interface OggPayloadpublic long granuleToDuration(long gp)
public java.lang.Object getProperty(java.lang.String name)
getProperty in class Objectpublic java.lang.String getFactoryName()
getFactoryName in class Elementpublic java.lang.String getMime()
OggPayloadgetMime in interface OggPayloadgetMime in class Elementpublic java.lang.String getMime(com.jcraft.jogg.Packet op)
OggPayloadgetMime in interface OggPayload