Show / Hide Table of Contents

Class FilterInOutList

Represents a collection of filter graph input and output entries.

Inheritance
object
FilterInOutList
Implements
IDisposable
IReadOnlyList<FilterInOutEntry>
IReadOnlyCollection<FilterInOutEntry>
IEnumerable<FilterInOutEntry>
IEnumerable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: FFmpeg.Filters
Assembly: FFmpeg.dll
Syntax
public class FilterInOutList : IDisposable, IReadOnlyList<FilterInOutEntry>, IReadOnlyCollection<FilterInOutEntry>, IEnumerable<FilterInOutEntry>, IEnumerable
Remarks

FilterInOutList wraps FFmpeg's linked list of AVFilterInOut structures. It is typically used to specify named inputs and outputs when parsing filter graph descriptions.

Constructors

View Source

FilterInOutList()

Initializes an empty FilterInOutList.

Declaration
public FilterInOutList()

Properties

View Source

Count

Gets the number of entries in the list.

Declaration
public int Count { get; }
Property Value
Type Description
int
View Source

this[int]

Gets the entry at the specified index.

Declaration
public FilterInOutEntry this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based index of the entry to retrieve.

Property Value
Type Description
FilterInOutEntry

The entry at the specified index.

Exceptions
Type Condition
IndexOutOfRangeException

index is less than zero or greater than or equal to Count.

Methods

View Source

Add(string, FilterContext, int)

Adds a new filter input or output entry to the list.

Declaration
public FilterInOutEntry Add(string linkName, FilterContext filter, int filterPadIndex)
Parameters
Type Name Description
string linkName

The name of the filter graph link.

FilterContext filter

The filter associated with the link.

int filterPadIndex

The zero-based index of the filter pad.

Returns
Type Description
FilterInOutEntry

The newly created FilterInOutEntry.

View Source

Clear()

Removes all entries from the list and releases the associated unmanaged resources.

Declaration
public void Clear()
View Source

Dispose()

Releases the unmanaged resources used by this list.

Declaration
public void Dispose()
View Source

Dispose(bool)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing
View Source

~FilterInOutList()

Declaration
protected ~FilterInOutList()
View Source

GetEnumerator()

Returns an enumerator that iterates through the entries in the list.

Declaration
public IEnumerator<FilterInOutEntry> GetEnumerator()
Returns
Type Description
IEnumerator<FilterInOutEntry>

An enumerator for the collection.

Implements

IDisposable
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
  • View Source
In this article
Back to top Generated by DocFX