AVBSFList
public final class AVBSFList
Structure for chain/list of bitstream filters.
-
Create an empty list of bitstream filters.
Declaration
Swift
public init()
-
Append bitstream filter to the list of bitstream filters.
Declaration
Swift
public func append(_ bsf: AVBSFContext)
Parameters
bsf
The filter context to be appended.
-
Create a new bitstream filter context with the given name and options, and append it to the list of bitstream filters.
Declaration
Swift
public func append(_ bsfName: String, options: [String: String]? = nil)
Parameters
bsfName
The name of the bitstream filter.
options
The options for the bitstream filter.
-
Finalize list of bitstream filters.
This function will transform
AVBSFList
to singleAVBSFContext
, so the whole chain of bitstream filters can be treated as single filter freshly created byAVBSFContext.init(filter:)
.Declaration
Swift
public func finalize() -> AVBSFContext
Return Value
The newly created
AVBSFContext
representing the chain of bitstream filters.