| Package | Description |
|---|---|
| org.freedesktop.gstreamer | |
| org.freedesktop.gstreamer.device | |
| org.freedesktop.gstreamer.elements | |
| org.freedesktop.gstreamer.event | |
| org.freedesktop.gstreamer.query |
| Modifier and Type | Method and Description |
|---|---|
static Caps |
Caps.anyCaps()
Creates a new Caps that indicates that it is compatible with any media
format.
|
Caps |
Caps.copy()
Create a new Caps as a copy of the this caps.
|
static Caps |
Caps.emptyCaps()
Creates a new Caps that is empty.
|
static Caps |
Caps.fromString(String caps)
Construct a new Caps from a string representation.
|
Caps |
Pad.getAllowedCaps()
Gets the capabilities of the allowed media types that can flow through
this pad and its peer.
|
Caps |
BufferPool.getCaps()
Query the
Caps configured on the BufferPool. |
Caps |
Sample.getCaps()
Get the
Caps associated with sample, or NULL when there is no caps. |
Caps |
StaticPadTemplate.getCaps()
Get the
Caps of the template. |
Caps |
PadTemplate.getCaps()
Gets the
Caps set on this PadTemplate |
Caps |
Pad.getCurrentCaps()
Gets the capabilities currently configured on pad with the last
GST_EVENT_CAPS event.
|
Caps |
Caps.intersect(Caps other)
Creates a new
Caps that contains all the formats that are common
to both this Caps and the other Caps. |
Caps |
Caps.makeWritable()
Returns a writable copy of this caps.
|
static Caps |
Caps.merge(Caps caps1,
Caps caps2)
Merge two
Caps together. |
Caps |
Caps.normalize()
Normalize the Caps.
|
Caps |
Pad.peerQueryCaps(Caps filter)
Get the capabilities of the peer connected to this pad.
|
Caps |
Pad.queryCaps(Caps filter)
Gets the capabilities this pad can produce or consume.
|
Caps |
Caps.simplify()
Modifies this caps inplace into a representation that represents the same
set of formats, but in a simpler form.
|
Caps |
Caps.subtract(Caps subtrahend)
Subtracts the subtrahend Caps from this Caps.
|
Caps |
Caps.truncate()
Destructively discard all but the first structure from this caps.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Caps.append(Caps caps)
Append the structures contained in caps to this caps object.
|
Caps |
Caps.intersect(Caps other)
Creates a new
Caps that contains all the formats that are common
to both this Caps and the other Caps. |
boolean |
Caps.isAlwaysCompatible(Caps other)
Check if this caps is always compatible with another caps.
|
boolean |
Caps.isEqual(Caps other)
Checks if the given caps represent the same set of caps.
|
boolean |
Caps.isEqualFixed(Caps other)
Tests if two Caps are equal.
|
boolean |
Caps.isSubset(Caps superset)
Checks if all caps represented by this caps are also represented by
superset.
|
boolean |
Element.linkFiltered(Element dest,
Caps filter)
Links this element to another element using the given caps as filtercaps.
|
static boolean |
Element.linkPadsFiltered(Element src,
String srcPadName,
Element dest,
String destPadName,
Caps caps)
Link together source and destination pads of two elements.
|
static List<ElementFactory> |
ElementFactory.listGetElementsFilter(ElementFactory.ListType type,
PluginFeature.Rank minrank,
Caps caps,
PadDirection direction,
boolean subsetonly)
Get a list of factories that match the given parameter.
|
static Caps |
Caps.merge(Caps caps1,
Caps caps2)
Merge two
Caps together. |
boolean |
Pad.peerQueryAcceptCaps(Caps caps)
Check if the peer of this pad accepts the caps.
|
Caps |
Pad.peerQueryCaps(Caps filter)
Get the capabilities of the peer connected to this pad.
|
boolean |
Pad.queryAcceptCaps(Caps caps)
Check if the pad accepts the given caps.
|
Caps |
Pad.queryCaps(Caps filter)
Gets the capabilities this pad can produce or consume.
|
void |
Sample.setCaps(Caps caps)
Set the
Caps associated with sample. |
void |
Element.setCaps(Caps caps)
Sets the
Caps on this Element. |
void |
BufferPool.setParams(Caps caps,
int size,
int min_buffers,
int max_buffers)
Configure the BufferPool with the given parameters.
|
Caps |
Caps.subtract(Caps subtrahend)
Subtracts the subtrahend Caps from this Caps.
|
| Constructor and Description |
|---|
Caps(Caps caps)
Create a caps that is a copy of another caps.
|
PadTemplate(String nameTemplate,
PadDirection direction,
Caps caps)
Creates a new pad template with a name according to the given template,
with the given arguments and
PadPresence.ALWAYS |
PadTemplate(String nameTemplate,
PadDirection direction,
PadPresence presence,
Caps caps)
Creates a new pad template with a name according to the given template
and with the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Caps |
Device.getCaps()
Get the
Caps that this device supports. |
| Modifier and Type | Method and Description |
|---|---|
int |
DeviceMonitor.addFilter(String classes,
Caps caps)
Adds a filter for which devices will be monitored, any device that
matches all these classes and the
Caps will be returned. |
| Modifier and Type | Method and Description |
|---|---|
Caps |
AppSrc.getCaps()
Get the configured Caps on the AppSrc.
|
Caps |
AppSink.getCaps()
Gets the
Caps configured on this AppSink |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DecodeBin.AUTOPLUG_CONTINUE.autoplugContinue(DecodeBin element,
Pad pad,
Caps caps)
Autoplug continue signal.
|
boolean |
URIDecodeBin.AUTOPLUG_CONTINUE.autoplugContinue(URIDecodeBin element,
Pad pad,
Caps caps)
Autoplug continue signal.
|
Optional<List<ElementFactory>> |
DecodeBin.AUTOPLUG_FACTORIES.autoplugFactories(DecodeBin element,
Pad pad,
Caps caps) |
Optional<List<ElementFactory>> |
URIDecodeBin.AUTOPLUG_FACTORIES.autoplugFactories(URIDecodeBin element,
Pad pad,
Caps caps) |
DecodeBin.AutoplugSelectResult |
DecodeBin.AUTOPLUG_SELECT.autoplugSelect(DecodeBin element,
Pad pad,
Caps caps,
ElementFactory factory) |
URIDecodeBin.AutoplugSelectResult |
URIDecodeBin.AUTOPLUG_SELECT.autoplugSelect(URIDecodeBin element,
Pad pad,
Caps caps,
ElementFactory factory) |
Optional<List<ElementFactory>> |
DecodeBin.AUTOPLUG_SORT.autoplugSort(DecodeBin element,
Pad pad,
Caps caps,
List<ElementFactory> factories)
Autoplug sort
|
Optional<List<ElementFactory>> |
URIDecodeBin.AUTOPLUG_SORT.autoplugSort(URIDecodeBin element,
Pad pad,
Caps caps,
List<ElementFactory> factories)
Autoplug sort
|
void |
AppSrc.setCaps(Caps caps)
Set the capabilities on the appsrc element.
|
void |
AppSink.setCaps(Caps caps)
Sets the
Caps on the AppSink. |
void |
DecodeBin.UNKNOWN_TYPE.unknownType(DecodeBin element,
Pad pad,
Caps caps) |
void |
URIDecodeBin.UNKNOWN_TYPE.unknownType(URIDecodeBin element,
Pad pad,
Caps caps) |
| Constructor and Description |
|---|
CapsEvent(Caps caps)
Creates a new caps event.
|
| Modifier and Type | Method and Description |
|---|---|
Caps |
AllocationQuery.getCaps()
Get the requested
Caps |
| Constructor and Description |
|---|
AllocationQuery(Caps caps,
boolean need_pool)
Create a new allocation query.
|
Copyright © 2021 gstreamer-java. All rights reserved.