public class JNIDecoder
extends net.sf.fmj.media.AbstractCodec
| Constructor and Description |
|---|
JNIDecoder()
Initializes a new JNIDecoder instance which is to decode H.264
NAL units into frames in YUV format.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFormat(javax.media.Format format)
Check Format.
|
void |
close()
Close Codec.
|
protected javax.media.Format[] |
getMatchingOutputFormats(javax.media.Format inputFormat)
Get matching outputs for a specified input Format.
|
String |
getName()
Get plugin name.
|
javax.media.Format[] |
getSupportedOutputFormats(javax.media.Format inputFormat)
Get all supported output Formats.
|
void |
open()
Inits the codec instances.
|
int |
process(javax.media.Buffer in,
javax.media.Buffer out)
Decodes H.264 media data read from a specific input Buffer into
a specific output Buffer.
|
javax.media.Format |
setInputFormat(javax.media.Format format)
Sets the Format of the media data to be input for processing in
this Codec.
|
void |
setKeyFrameControl(KeyFrameControl keyFrameControl)
Sets the KeyFrameControl to be used by this
DePacketizer as a means of control over its key frame-related
logic.
|
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM, setOutputFormataddControl, getControl, getControls, removeControlpublic JNIDecoder()
public boolean checkFormat(javax.media.Format format)
format - Format to checkpublic void close()
close in interface javax.media.PlugInclose in class net.sf.fmj.media.AbstractPlugInprotected javax.media.Format[] getMatchingOutputFormats(javax.media.Format inputFormat)
inputFormat - input Formatpublic String getName()
getName in interface javax.media.PlugIngetName in class net.sf.fmj.media.AbstractPlugInpublic javax.media.Format[] getSupportedOutputFormats(javax.media.Format inputFormat)
getSupportedOutputFormats in interface javax.media.CodecgetSupportedOutputFormats in class net.sf.fmj.media.AbstractCodecinputFormat - input Format to determine corresponding
output Formatspublic void open()
throws javax.media.ResourceUnavailableException
open in interface javax.media.PlugInopen in class net.sf.fmj.media.AbstractPlugInjavax.media.ResourceUnavailableException - if codec initialization failedpublic int process(javax.media.Buffer in,
javax.media.Buffer out)
process in interface javax.media.Codecprocess in class net.sf.fmj.media.AbstractCodecin - input Bufferout - output Bufferpublic javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat in interface javax.media.CodecsetInputFormat in class net.sf.fmj.media.AbstractCodecformat - the Format of the media data to be input for
processing in this Codecpublic void setKeyFrameControl(KeyFrameControl keyFrameControl)
keyFrameControl - the KeyFrameControl to be used by this
DePacketizer as a means of control over its key frame-related
logicCopyright © 2021 jitsi.org. All rights reserved.