Class AMFH264EncoderPage
Interaction logic for AMFH264EncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class AMFH264EncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
AMFH264EncoderPage()
Initializes a new instance of the AMFH264EncoderPage class.
Declaration
public AMFH264EncoderPage()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public uint Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| uint | The bitrate. |
CABAC
Gets or sets a value indicating whether CABAC is enabled.
Declaration
public bool CABAC { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
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 AMFH264EncoderLevel Level { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFH264EncoderLevel |
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 AMFH264EncoderPreset Preset { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFH264EncoderPreset | 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 AMFH264EncoderProfile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFH264EncoderProfile | 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> |
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 AMFH264EncoderRateControl RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFH264EncoderRateControl | 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. |
Usage
Gets or sets the usage.
Declaration
public AMFH264EncoderUsage Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| AMFH264EncoderUsage | 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 AMFH264EncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref AMFH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| AMFH264EncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(AMFH264EncoderSettings)
Initializes the specified settings.
Declaration
public void Init(AMFH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| AMFH264EncoderSettings | 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 |