-
The codec supports this format via the
AVCodecContext.hwDeviceContextinterface.When selecting this format,
AVCodecContext.hwDeviceContextshould have been set to a device of the specified type before callingAVCodecContext.openCodec(options:).Declaration
Swift
public static let hwDeviceContext: AVCodecHWConfig.Method -
The codec supports this format via the
AVCodecContext.hwFramesContextinterface.When selecting this format for a decoder,
AVCodecContext.hwFramesContextshould be set to a suitable frames context inside theAVCodecContext.getFormatcallback. The frames context must have been created on a device of the specified type.Declaration
Swift
public static let hwFramesContext: AVCodecHWConfig.Method -
The codec supports this format by some internal method.
This format can be selected without any additional configuration - no device or frames context is required.
Declaration
Swift
public static let `internal`: AVCodecHWConfig.Method -
The codec supports this format by some ad-hoc method.
Additional settings and/or function calls are required. See the codec-specific documentation for details. (Methods requiring this sort of configuration are deprecated and others should be used in preference.)
Declaration
Swift
public static let adHoc: AVCodecHWConfig.Method -
Declaration
Swift
public let rawValue: Int32 -
Declaration
Swift
public init(rawValue: Int32)
-
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
Method Structure Reference