Table of Contents

Class AMAAV1DecoderSettings

Namespace
VisioForge.Core.Types.X.VideoDecoders
Assembly
VisioForge.Core.dll

AMD AMA (Alveo MA35D) hardware AV1 decoder settings (ama_av1dec).

public class AMAAV1DecoderSettings : IAV1DecoderSettings

Inheritance

Implements

Inherited Members

Remarks

Available on Linux only and requires the AMD AMA Video SDK. The decoder produces frames in device memory; when it feeds a system-memory consumer, the SDK inserts an ama_download element after it automatically.

Fields

Name

The name.

public static readonly string Name

Field Value

string

Properties

AllowDownscaling

Gets or sets a value indicating whether decoder-level downscaling may be performed. Default false.

public bool AllowDownscaling { get; set; }

Property Value

bool

Device

Gets or sets the numeric ID of the MA35D device to decode on. -1 (default) auto-selects a card.

public int Device { get; set; }

Property Value

int

LatencyLogging

Gets or sets a value indicating whether to log latency information to syslog. Default false.

public bool LatencyLogging { get; set; }

Property Value

bool

LowLatency

Gets or sets a value indicating whether to enable low-latency decoding. Default false.

public bool LowLatency { get; set; }

Property Value

bool

Methods

CreateBlock()

Creates a new AV1 decoder block with these settings.

public MediaBlock CreateBlock()

Returns

MediaBlock

A configured VisioForge.Core.MediaBlocks.MediaBlock instance for AV1 decoding.

GetDecoderType()

Gets the decoder type.

public AV1DecoderType GetDecoderType()

Returns

AV1DecoderType

The VisioForge.Core.Types.X.VideoDecoders.AV1DecoderType value for the AMA AV1 decoder.

IsAvailable()

Checks if the AMD AMA AV1 decoder is available on the system.

public static bool IsAvailable()

Returns

bool

true if the ama_av1dec and ama_download elements are present; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.