Enum CodecHWConfigMethod
Enum representing the hardware configuration methods supported by the codec.
Namespace: FFmpeg.HW
Assembly: FFmpeg.dll
Syntax
[Flags]
public enum CodecHWConfigMethod
Fields
| Name | Description |
|---|---|
| AdHoc | The codec supports this format by some ad-hoc method. Additional settings and/or function calls are required. These methods are deprecated, and alternatives should be used. |
| HwDeviceContext | The codec supports this format via the hw_device_ctx interface. When selecting this format, CodecContext.HwDeviceContext should be set to a device of the specified type before calling CodecOpen(). |
| HwFramesContext | The codec supports this format via the hw_frames_ctx interface. For decoders: When selecting this format, CodecContext.HwFramesContext should be set to a suitable frames context within the GetFormat() callback. The frames context must have been created on a device of the specified type. For encoders: CodecContext.HwFramesContext should be set to the context which will be used for the input frames before calling CodecOpen(). |
| Internal | 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. |
| None | None |