AVFilter

public struct AVFilter

Undocumented

  • Get a filter definition matching the given name.

    Declaration

    Swift

    public init?(name: String)

    Parameters

    name

    the filter name to find

    Return Value

    the filter definition, or nil if none found

  • The name of the filter.

    Declaration

    Swift

    public var name: String { get }
  • The inputs of the filter.

    nil if there are no (static) inputs. Instances of filters with AVFilter.Flag.dynamicInputs set may have more inputs than present in this list.

    Declaration

    Swift

    public var inputs: [AVFilterPad]? { get }
  • The outputs of the filter.

    nil if there are no (static) outputs. Instances of filters with AVFilter.Flag.dynamicOutputs set may have more outputs than present in this list.

    Declaration

    Swift

    public var outputs: [AVFilterPad]? { get }
  • The flags of the filter.

    Declaration

    Swift

    public var flags: Flag { get }
  • Get all registered filters.

    Declaration

    Swift

    public static var supportedFilters: [AVFilter] { get }
  • Declaration

    Swift

    public var description: String { get }
  • Undocumented

    See more

    Declaration

    Swift

    public struct Flag : OptionSet
  • Undocumented

    Declaration

    Swift

    public func withUnsafeObjectPointer<T>(_ body: (UnsafeMutableRawPointer) throws -> T) rethrows -> T