Class AV1DecoderSettings
- Assembly
- VisioForge.Core.dll
Configuration settings for AV1 video decoder. Supports multiple decoder implementations including software (dav1d, av1dec) and hardware accelerated decoders (NVIDIA, D3D11, VAAPI).
public class AV1DecoderSettings : IAV1DecoderSettingsInheritance
Implements
Inherited Members
Properties
DecoderType
Gets or sets the type of decoder to use. Default is Auto which selects the best available decoder.
public AV1DecoderType DecoderType { get; set; }Property Value
EnableFilmGrain
Gets or sets whether to enable film grain synthesis. Some AV1 streams include film grain parameters that can be applied during decoding.
public bool EnableFilmGrain { get; set; }Property Value
MaxFrameSize
Gets or sets the maximum frame size to decode. Frames larger than this will be dropped. 0 = no limit. Useful for limiting memory usage with high resolution content.
public int MaxFrameSize { get; set; }Property Value
Threads
Gets or sets the number of threads to use for software decoding. Only applies to software decoders (dav1d, av1dec). 0 = auto-detect based on CPU cores.
public int Threads { get; set; }Property Value
Methods
GetDecoderType()
Gets the decoder type.
public AV1DecoderType GetDecoderType()Returns
- AV1DecoderType
-
The configured decoder type.