Class EncoderSpatialLayerConfig
Configuration for OpenH264 encoder spatial layers. Properties map to OpenH264 properties defined in "SSpatialLayerConfig".
Inheritance
Inherited Members
Namespace: FM.LiveSwitch.OpenH264
Assembly: FM.LiveSwitch.OpenH264.dll
Syntax
public sealed class EncoderSpatialLayerConfig
Constructors
EncoderSpatialLayerConfig()
Configuration for an OpenH264 spatial layer.
Declaration
public EncoderSpatialLayerConfig()
Properties
AspectRatio
Gets or sets a value that maps to "eAspectRatio".
Declaration
public SampleAspectRatio AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
Sample |
AspectRatioExtHeight
Gets or sets a value that maps to "sAspectRatioExtHeight".
Declaration
public int AspectRatioExtHeight { get; set; }
Property Value
Type | Description |
---|---|
System. |
AspectRatioExtWidth
Gets or sets a value that maps to "sAspectRatioExtWidth".
Declaration
public int AspectRatioExtWidth { get; set; }
Property Value
Type | Description |
---|---|
System. |
AspectRatioPresent
Gets or sets a value that maps to "bAspectRatioPresent".
Declaration
public bool AspectRatioPresent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ColorDescriptionPresent
Gets or sets a value that maps to "bColorDescriptionPresent".
Declaration
public bool ColorDescriptionPresent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ColorMatrix
Gets or sets a value that maps to "uiColorMatrix".
Declaration
public ColorMatrix ColorMatrix { get; set; }
Property Value
Type | Description |
---|---|
Color |
ColorPrimaries
Gets or sets a value that maps to "uiColorPrimaries".
Declaration
public ColorPrimaries ColorPrimaries { get; set; }
Property Value
Type | Description |
---|---|
Color |
DLayerQp
Gets or sets a value that maps to "iDLayerQp".
Declaration
public int DLayerQp { get; set; }
Property Value
Type | Description |
---|---|
System. |
FrameRate
Gets or sets a value that maps to "fFrameRate".
Declaration
public float FrameRate { get; set; }
Property Value
Type | Description |
---|---|
System. |
FullRange
Gets or sets a value that maps to "bFullRange".
Declaration
public bool FullRange { get; set; }
Property Value
Type | Description |
---|---|
System. |
LevelIdc
Gets or sets a value that maps to "uiLevelIdc".
Declaration
public LevelIdc LevelIdc { get; set; }
Property Value
Type | Description |
---|---|
Level |
ProfileIdc
Gets or sets a value that maps to "uiProfileIdc".
Declaration
public ProfileIdc ProfileIdc { get; set; }
Property Value
Type | Description |
---|---|
Profile |
SliceMBNum
Gets or sets a value that maps to "sSliceArgument.uiSliceMbNum".
Declaration
public int[] SliceMBNum { get; set; }
Property Value
Type | Description |
---|---|
System. |
SliceMode
Gets or sets a value that maps to "sSliceArgument.uiSliceMode".
Declaration
public SliceMode SliceMode { get; set; }
Property Value
Type | Description |
---|---|
Slice |
SliceNum
Gets or sets a value that maps to "sSliceArgument.uiSliceNum".
Declaration
public int SliceNum { get; set; }
Property Value
Type | Description |
---|---|
System. |
SliceSizeConstraint
Gets or sets a value that maps to "sSliceArgument.uiSliceSizeConstraint".
Declaration
public int SliceSizeConstraint { get; set; }
Property Value
Type | Description |
---|---|
System. |
TransferCharacteristics
Gets or sets a value that maps to "uiTransferCharacteristics".
Declaration
public TransferCharacteristics TransferCharacteristics { get; set; }
Property Value
Type | Description |
---|---|
Transfer |
VideoFormat
Gets or sets a value that maps to "uiVideoFormatSPS".
Declaration
public VideoFormatSPS VideoFormat { get; set; }
Property Value
Type | Description |
---|---|
Video |
VideoSignalTypePresent
Gets or sets a value that maps to "bVideoSignalTypePresent".
Declaration
public bool VideoSignalTypePresent { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
DeepCopy()
Gets a deep copy of this configuration.
Declaration
public EncoderSpatialLayerConfig DeepCopy()
Returns
Type | Description |
---|---|
Encoder |