
public class FilterType extends RefCounted
| Modifier and Type | Class and Description |
|---|---|
static class |
FilterType.Flag
Flags that show features different FilterType object support.
|
| Modifier and Type | Method and Description |
|---|---|
FilterType |
copyReference()
Create a new FilterType 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.
|
static FilterType |
findFilterType(String name)
Find a given filter by name.
|
String |
getDescription() |
static FilterType |
getFilterType(int index) |
boolean |
getFlag(FilterType.Flag flag) |
int |
getFlags() |
String |
getInputName(int index) |
MediaDescriptor.Type |
getInputType(int index) |
String |
getName() |
static int |
getNumFilterTypes() |
int |
getNumInputs() |
int |
getNumOutputs() |
String |
getOutputName(int index) |
MediaDescriptor.Type |
getOutputType(int index) |
int |
hashCode()
Get a hashable value for this object.
|
delete, getCurrentRefCountpublic FilterType copyReference()
copyReference in class RefCountedpublic boolean equals(Object obj)
public int hashCode()
public String getName()
public String getDescription()
public int getFlags()
public boolean getFlag(FilterType.Flag flag)
flag - flag to check setting of.public int getNumInputs()
public String getInputName(int index)
index - which input to get name ofInvalidArgument - if index < 0 || index > #getNumInputs().public MediaDescriptor.Type getInputType(int index)
index - which input to get type ofInvalidArgument - if index < 0 || index > #getNumInputs().public int getNumOutputs()
public String getOutputName(int index)
index - which output to get name ofInvalidArgument - if index < 0 || index > #getNumOutputs().public MediaDescriptor.Type getOutputType(int index)
index - which output to get type ofInvalidArgument - if index < 0 || index > #getNumOutputs().public static FilterType findFilterType(String name)
name - name of filter.public static int getNumFilterTypes()
public static FilterType getFilterType(int index)
index - the position in the list of installed filters to get. Useindex position in the installed filters.InvalidArgument - if index < 0 || index >= #getNumFilterTypes().Copyright © 2018 Humble Software. All rights reserved.