Table of Contents

Enum UniversalDecoderBlock.DecoderStrategy

Namespace
VisioForge.Core.MediaBlocks.Special
Assembly
VisioForge.Core.dll

Decoder selection strategy.

public enum UniversalDecoderBlock.DecoderStrategy

Fields

PreferHardware = 0

Prefer hardware decoders when available. It can still pick a Direct3D 11, NVDEC H.264/HEVC, Quick Sync, VideoToolbox, VA-API, V4L2 or OMX decoder that MediaBlocksPipeline.ForceGPUDecodersUsage(false) disabled process-wide. On Android it picks a hardware MediaCodec decoder although the SDK ranks them below the software decoders by default and a source's DisableHWDecoders disables them; use VisioForge.Core.MediaBlocks.Special.UniversalDecoderBlock.DecoderStrategy.Auto or VisioForge.Core.MediaBlocks.Special.UniversalDecoderBlock.DecoderStrategy.ForceSoftware to honour that.

ForceSoftware = 1

Always use software decoders.

Auto = 2

The highest-ranked decoder that accepts the stream.