com.fluendo.plugin

Class KateDec

public class KateDec extends Element implements OggPayload

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.
Constructor Summary
KateDec()
Method Summary
StringgetFactoryName()
longgetFirstTs(Vector packets)
StringgetMime()
StringgetMime(Packet op)
ObjectgetProperty(String name)
longgranuleToDuration(long gp)
Converts a granule position to its duration equivalent
longgranuleToTime(long gp)
Converts a granule position to its time equivalent
booleanisDiscontinuous()
A discontinuous codec will not cause the pipeline to wait for data if starving
booleanisHeader(Packet op)
booleanisKeyFrame(Packet op)
booleanisType(Packet op)
inttakeHeader(Packet op)
inttypeFind(byte[] data, int offset, int length)

Constructor Detail

KateDec

public KateDec()

Method Detail

getFactoryName

public String getFactoryName()

getFirstTs

public long getFirstTs(Vector packets)

getMime

public String getMime()

getMime

public String getMime(Packet op)

getProperty

public Object getProperty(String name)

granuleToDuration

public long granuleToDuration(long gp)
Converts a granule position to its duration equivalent

granuleToTime

public long granuleToTime(long gp)
Converts a granule position to its time equivalent

isDiscontinuous

public boolean isDiscontinuous()
A discontinuous codec will not cause the pipeline to wait for data if starving

isHeader

public boolean isHeader(Packet op)

isKeyFrame

public boolean isKeyFrame(Packet op)

isType

public boolean isType(Packet op)

takeHeader

public int takeHeader(Packet op)

typeFind

public int typeFind(byte[] data, int offset, int length)