Class HFlip
- 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.video.HFlip
-
- All Implemented Interfaces:
javax.media.Codec,javax.media.Controls,javax.media.Effect,javax.media.PlugIn
public class HFlip extends AbstractCodec2 implements javax.media.Effect
Implements a video Effect which horizontally flips AVFrames.- Author:
- Sebastien Vincent, Lyubomir Marinov
-
-
Field Summary
-
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 HFlip()Initializes a new HFlip instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoClose()Closes this Effect.protected voiddoOpen()Opens this Effect.protected intdoProcess(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)Performs the media processing defined by this Effect.voidreset()Resets the state of this PlugIn.-
Methods inherited from class org.jitsi.impl.neomedia.codec.AbstractCodec2
calculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
doClose
protected void doClose()
Closes this Effect.- Specified by:
doClosein classAbstractCodec2- See Also:
AbstractCodec2.doClose()
-
doOpen
protected void doOpen() throws javax.media.ResourceUnavailableExceptionOpens this Effect.- Specified by:
doOpenin classAbstractCodec2- Throws:
javax.media.ResourceUnavailableException- if any of the required resource cannot be allocated- See Also:
AbstractCodec2.doOpen()
-
doProcess
protected int doProcess(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)Performs the media processing defined by this Effect.- Specified by:
doProcessin classAbstractCodec2- Parameters:
inputBuffer- the Buffer that contains the media data to be processedoutputBuffer- the Buffer in which to store the processed media data- Returns:
- BUFFER_PROCESSED_OK if the processing is successful
- See Also:
AbstractCodec2.doProcess(Buffer, Buffer)
-
reset
public void reset()
Resets the state of this PlugIn.- Specified by:
resetin interfacejavax.media.PlugIn- Overrides:
resetin classnet.sf.fmj.media.AbstractPlugIn
-
-