
public class FilterLink extends RefCounted
| Modifier and Type | Method and Description |
|---|---|
FilterLink |
copyReference()
Create a new FilterLink object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
AudioChannel.Layout |
getChannelLayout() |
FilterGraph |
getFilterGraph()
Get the FilterGraph this FilterLink belongs to.
|
int |
getHeight() |
Filter |
getInputFilter() |
String |
getInputPadName() |
MediaDescriptor.Type |
getInputPadType() |
MediaDescriptor.Type |
getMediaType() |
Filter |
getOutputFilter() |
String |
getOutputPadName() |
MediaDescriptor.Type |
getOutputPadType() |
Rational |
getPixelAspectRatio() |
PixelFormat.Type |
getPixelFormat() |
AudioFormat.Type |
getSampleFormat() |
int |
getSampleRate() |
Rational |
getTimeBase()
Define the time base used by the PTS of the frames/samples
which will pass through this link. During the configuration stage, each filter is supposed to change only the output timebase, while the timebase of the input link is assumed to be an unchangeable property. |
int |
getWidth() |
int |
hashCode()
Get a hashable value for this object.
|
void |
insertFilter(Filter filter,
int srcPadIndex,
int dstPadIndex)
Insert a filter into this link between the current input and output.
|
delete, getCurrentRefCountpublic FilterLink copyReference()
copyReference in class RefCountedpublic boolean equals(Object obj)
public int hashCode()
public FilterGraph getFilterGraph()
public Filter getInputFilter()
public String getInputPadName()
public MediaDescriptor.Type getInputPadType()
public Filter getOutputFilter()
public String getOutputPadName()
public MediaDescriptor.Type getOutputPadType()
public MediaDescriptor.Type getMediaType()
public int getWidth()
public int getHeight()
public PixelFormat.Type getPixelFormat()
public Rational getPixelAspectRatio()
public AudioChannel.Layout getChannelLayout()
public int getSampleRate()
public AudioFormat.Type getSampleFormat()
public Rational getTimeBase()
public void insertFilter(Filter filter, int srcPadIndex, int dstPadIndex)
filter - filter to insertsrcPadIndex - the index of the pad on filter to connect the output of the start of the prior link to.dstPadIndex - the index of the pad on filter to connect the input of the end of the prior link to.Copyright © 2018 Humble Software. All rights reserved.