Table of Contents

Class AMAHEVCDecoderSettings

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

AMD AMA (Alveo MA35D) hardware H.265/HEVC decoder settings (ama_h265dec).

public class AMAHEVCDecoderSettings : IHEVCDecoderSettings

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 HEVC decoder block with these settings.

public MediaBlock CreateBlock()

Returns

MediaBlock

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

GetDecoderType()

Gets the decoder type.

public HEVCDecoderType GetDecoderType()

Returns

HEVCDecoderType

The VisioForge.Core.Types.X.VideoDecoders.HEVCDecoderType value for the AMA H265/HEVC decoder.

IsAvailable()

Checks if the AMD AMA H265/HEVC decoder is available on the system.

public static bool IsAvailable()

Returns

bool

true if the ama_h265dec 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.