Class MFH264EncoderPage
Interaction logic for MFH264EncoderPage.xaml.
Inheritance
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.UI.WPF.dll
Syntax
public class MFH264EncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
MFH264EncoderPage()
Initializes a new instance of the MFH264EncoderPage class.
Declaration
public MFH264EncoderPage()
Properties
BFrames
Gets or sets the B frames.
Declaration
public uint BFrames { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt32 | The B frames. |
Bitrate
Gets or sets the bitrate.
Declaration
public uint Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt32 | The bitrate. |
CABAC
Gets or sets a value indicating whether CABAC is enabled.
Declaration
public bool CABAC { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
GOPSize
Gets or sets the size of the GOP.
Declaration
public int GOPSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The size of the GOP. |
Level
Gets or sets the profile.
Declaration
public MFH264EncoderLevel Level { get; set; }
Property Value
| Type | Description |
|---|---|
| MFH264EncoderLevel |
Levels
Gets or sets the levels.
Declaration
public ObservableCollection<string> Levels { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<String> | The levels. |
LevelStr
Gets or sets the level (as string).
Declaration
public string LevelStr { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
LowLatency
Gets or sets a value indicating whether Low Latency is enabled.
Declaration
public bool LowLatency { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public uint MaxBitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt32 | The maximum bitrate. |
Profile
Gets or sets the profile.
Declaration
public MFH264EncoderProfile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| MFH264EncoderProfile | The profile. |
Profiles
Gets or sets the profiles.
Declaration
public ObservableCollection<string> Profiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<String> |
ProfileStr
Gets or sets the coder mode (as string).
Declaration
public string ProfileStr { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The coder mode. |
QP
Gets or sets the QP.
Declaration
public double QP { get; set; }
Property Value
| Type | Description |
|---|---|
| Double | The QP. |
QPB
Gets or sets the QPB.
Declaration
public double QPB { get; set; }
Property Value
| Type | Description |
|---|---|
| Double | The QPB. |
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 MFH264EncoderRCMode RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| MFH264EncoderRCMode | 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. |
Methods
Fill(ref MFH264EncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref MFH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| MFH264EncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(MFH264EncoderSettings)
Initializes the specified settings.
Declaration
public void Init(MFH264EncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| MFH264EncoderSettings | 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 |
|---|---|
| Boolean |
|
Type Parameters
| Name | Description |
|---|---|
| T | Type. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |