public class VPXEncoder extends AbstractCodec2
BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN| Constructor and Description |
|---|
VPXEncoder()
Initializes a new VPXEncoder instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doOpen()
Opens this Codec and acquires the resources that it needs to
operate.
|
protected int |
doProcess(javax.media.Buffer inputBuffer,
javax.media.Buffer outputBuffer)
Encodes the frame in inputBuffer (in YUVFormat) into
a VP8 frame (in outputBuffer)
|
protected javax.media.Format[] |
getMatchingOutputFormats(javax.media.Format inputFormat)
Gets the matching output formats for a specific format.
|
javax.media.Format |
setInputFormat(javax.media.Format format)
Sets the input format.
|
javax.media.Format |
setOutputFormat(javax.media.Format format)
Sets the Format in which this Codec is to output media
data.
|
calculateLostSeqNoCount, close, discardOutputBuffer, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, specialize, updateOutput, validateByteArraySize, validateShortArraySizecheckInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOMaddControl, getControl, getControls, removeControlprotected void doClose()
doClose in class AbstractCodec2protected void doOpen()
throws javax.media.ResourceUnavailableException
PlugIn.open() on this instance will result in
a call to doOpen only if AbstractCodec.opened is
false. All required input and/or output formats are assumed to
have been set on this Codec before doOpen is called.doOpen in class AbstractCodec2javax.media.ResourceUnavailableExceptionprotected int doProcess(javax.media.Buffer inputBuffer,
javax.media.Buffer outputBuffer)
doProcess in class AbstractCodec2inputBuffer - input BufferoutputBuffer - output Bufferprotected javax.media.Format[] getMatchingOutputFormats(javax.media.Format inputFormat)
getMatchingOutputFormats in class AbstractCodec2inputFormat - input formatpublic javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat in interface javax.media.CodecsetInputFormat in class AbstractCodec2format - format to setpublic javax.media.Format setOutputFormat(javax.media.Format format)
setOutputFormat in interface javax.media.CodecsetOutputFormat in class AbstractCodec2format - the Format in which this Codec is to
output media dataCopyright © 2021 jitsi.org. All rights reserved.