Class JNIDecoder
- java.lang.Object
-
- net.sf.fmj.media.AbstractControls
-
- net.sf.fmj.media.AbstractPlugIn
-
- net.sf.fmj.media.AbstractCodec
-
- org.jitsi.impl.neomedia.codec.AbstractCodec2
-
- org.jitsi.impl.neomedia.codec.audio.AbstractFFmpegAudioCodec
-
- org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder
-
- org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder
-
- All Implemented Interfaces:
javax.media.Codec,javax.media.Controls,javax.media.PlugIn
public class JNIDecoder extends FFmpegAudioDecoder
Implements an Adaptive Multi-Rate Wideband (AMR-WB) decoder using FFmpeg.- Author:
- Lyubomir Marinov
-
-
Field Summary
-
Fields inherited from class org.jitsi.impl.neomedia.codec.audio.AbstractFFmpegAudioCodec
avctx, codecID, frameSizeInBytes
-
Fields inherited from class org.jitsi.impl.neomedia.codec.AbstractCodec2
BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN
-
-
Constructor Summary
Constructors Constructor Description JNIDecoder()Initializes a new JNIDecoder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intdoProcess(javax.media.Buffer inBuf, javax.media.Buffer outBuf)javax.media.FormatsetInputFormat(javax.media.Format format)Additionally, determines whether this JNIDecoder is to perform RTP depacketization.-
Methods inherited from class org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder
assertFindAVCodec, doClose, doOpen, findAVCodec, getAVCodecContextFormat
-
Methods inherited from class org.jitsi.impl.neomedia.codec.audio.AbstractFFmpegAudioCodec
codecIDToString, configureAVCodecContext
-
Methods inherited from class org.jitsi.impl.neomedia.codec.AbstractCodec2
calculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySize
-
Methods inherited from class net.sf.fmj.media.AbstractCodec
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM
-
Methods inherited from class net.sf.fmj.media.AbstractControls
addControl, getControl, getControls, removeControl
-
-
-
-
Method Detail
-
doProcess
protected int doProcess(javax.media.Buffer inBuf, javax.media.Buffer outBuf)- Overrides:
doProcessin classFFmpegAudioDecoder
-
setInputFormat
public javax.media.Format setInputFormat(javax.media.Format format)
Additionally, determines whether this JNIDecoder is to perform RTP depacketization.- Specified by:
setInputFormatin interfacejavax.media.Codec- Overrides:
setInputFormatin classAbstractCodec2
-
-