Class NVENCHEVCEncoderPage
Interaction logic for NVENCHEVCEncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class NVENCHEVCEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
NVENCHEVCEncoderPage()
Initializes a new instance of the NVENCHEVCEncoderPage class.
Declaration
public NVENCHEVCEncoderPage()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public uint Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The bitrate. |
GOPSize
Gets or sets the size of the GOP.
Declaration
public int GOPSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The size of the GOP. |
Level
Gets or sets the profile.
Declaration
public NVENCHEVCLevel Level { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCHEVCLevel |
LevelStr
Gets or sets the level (as string).
Declaration
public string LevelStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Levels
Gets or sets the levels.
Declaration
public ObservableCollection<string> Levels { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> | The levels. |
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public uint MaxBitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The maximum bitrate. |
MaxQP
Gets or sets the maximum QP.
Declaration
public double MaxQP { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The maximum QP. |
MinQP
Gets or sets the minimum QP.
Declaration
public double MinQP { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The minimum QP. |
Preset
Gets or sets the preset.
Declaration
public NVENCPreset Preset { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCPreset | The preset. |
PresetStr
Gets or sets the preset (as string).
Declaration
public string PresetStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The preset. |
Presets
Gets or sets the preset list.
Declaration
public ObservableCollection<string> Presets { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
Profile
Gets or sets the profile.
Declaration
public NVENCHEVCProfile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCHEVCProfile | The profile. |
ProfileStr
Gets or sets the coder mode (as string).
Declaration
public string ProfileStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The coder mode. |
Profiles
Gets or sets the profiles.
Declaration
public ObservableCollection<string> Profiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
QP
Gets or sets the QP.
Declaration
public double QP { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The QP. |
RateControl
Gets or sets the rate control.
Declaration
public NVENCRateControl RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCRateControl | The rate control. |
RateControlModes
Gets or sets the rate control mode list.
Declaration
public ObservableCollection<string> RateControlModes { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
RateControlStr
Gets or sets the rate control (as string).
Declaration
public string RateControlStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The rate control. |
ZeroLatency
Gets or sets a value indicating whether zero latency is enabled.
Declaration
public bool ZeroLatency { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Methods
Fill(ref NVENCHEVCEncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref NVENCHEVCEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| NVENCHEVCEncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(NVENCHEVCEncoderSettings)
Initializes the specified settings.
Declaration
public void Init(NVENCHEVCEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| NVENCHEVCEncoderSettings | settings | The settings. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
SetProperty<T>(ref T, T, string)
Sets the property.
Declaration
protected bool SetProperty<T>(ref T field, T newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | field | The field. |
| T | newValue | The new value. |
| string | propertyName | Name of the property. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | Type. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |