Class MaxineSuperResSettings
Nvidia Maxine super resolution effect settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types
Assembly: VisioForge.Core.dll
Syntax
public class MaxineSuperResSettings : IVideoResizeSettings
Constructors
MaxineSuperResSettings(string, int)
Initializes a new instance of the MaxineSuperResSettings class.
Declaration
public MaxineSuperResSettings(string modelsDir, int height)
Parameters
Type | Name | Description |
---|---|---|
string | modelsDir | The models directory of Nvidia Maxine SDK. |
int | height | The height. |
Properties
Height
Gets or sets the height.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
int | The height. |
Mode
Gets or sets the mode.
Declaration
public MaxineSuperResolutionEffectMode Mode { get; set; }
Property Value
Type | Description |
---|---|
MaxineSuperResolutionEffectMode | The mode. |
ModelsDir
Gets or sets the models directory of Nvidia Maxine SDK.
Declaration
public string ModelsDir { get; set; }
Property Value
Type | Description |
---|---|
string | The models dir. |
Methods
CalculateWidth(Size)
Calculates the width based on height and source resolution.
Declaration
public int CalculateWidth(Size sourceSize)
Parameters
Type | Name | Description |
---|---|---|
Size | sourceSize | Size of the source. |
Returns
Type | Description |
---|---|
int | System.Int32. |
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |