Class AMFHEVCEncoderPage
Interaction logic for AMFHEVCEncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class AMFHEVCEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
AMFHEVCEncoderPage()
Initializes a new instance of the AMFHEVCEncoderPage class.
Declaration
public AMFHEVCEncoderPage()
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. |
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public uint MaxBitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The maximum bitrate. |
Preset
Gets or sets the preset.
Declaration
public AMFHEVCEncoderPreset Preset { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFHEVCEncoderPreset | 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> |
QPI
Gets or sets the QP I.
Declaration
public double QPI { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The QP I. |
QPP
Gets or sets the QP P.
Declaration
public double QPP { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The QP P. |
RateControl
Gets or sets the rate control.
Declaration
public AMFHEVCEncoderRateControl RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFHEVCEncoderRateControl | 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 coder mode (as string).
Declaration
public string RateControlStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The coder mode. |
Usage
Gets or sets the usage.
Declaration
public AMFHEVCEncoderUsage Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFHEVCEncoderUsage | The usage. |
UsageStr
Gets or sets the usage (as string).
Declaration
public string UsageStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The usage. |
Usages
Gets or sets the usage list.
Declaration
public ObservableCollection<string> Usages { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
Methods
Fill(ref AMFHEVCEncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref AMFHEVCEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| AMFHEVCEncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(AMFHEVCEncoderSettings)
Initializes the specified settings.
Declaration
public void Init(AMFHEVCEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| AMFHEVCEncoderSettings | 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 |