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 | 
|---|---|
| SampleAspectRatio | 
AspectRatioExtHeight
Gets or sets a value that maps to "sAspectRatioExtHeight".
Declaration
public int AspectRatioExtHeight { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
AspectRatioExtWidth
Gets or sets a value that maps to "sAspectRatioExtWidth".
Declaration
public int AspectRatioExtWidth { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
AspectRatioPresent
Gets or sets a value that maps to "bAspectRatioPresent".
Declaration
public bool AspectRatioPresent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
ColorDescriptionPresent
Gets or sets a value that maps to "bColorDescriptionPresent".
Declaration
public bool ColorDescriptionPresent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
ColorMatrix
Gets or sets a value that maps to "uiColorMatrix".
Declaration
public ColorMatrix ColorMatrix { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ColorMatrix | 
ColorPrimaries
Gets or sets a value that maps to "uiColorPrimaries".
Declaration
public ColorPrimaries ColorPrimaries { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ColorPrimaries | 
DLayerQp
Gets or sets a value that maps to "iDLayerQp".
Declaration
public int DLayerQp { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
FrameRate
Gets or sets a value that maps to "fFrameRate".
Declaration
public float FrameRate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Single | 
FullRange
Gets or sets a value that maps to "bFullRange".
Declaration
public bool FullRange { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
LevelIdc
Gets or sets a value that maps to "uiLevelIdc".
Declaration
public LevelIdc LevelIdc { get; set; }
  Property Value
| Type | Description | 
|---|---|
| LevelIdc | 
ProfileIdc
Gets or sets a value that maps to "uiProfileIdc".
Declaration
public ProfileIdc ProfileIdc { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ProfileIdc | 
SliceMBNum
Gets or sets a value that maps to "sSliceArgument.uiSliceMbNum".
Declaration
public int[] SliceMBNum { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32[] | 
SliceMode
Gets or sets a value that maps to "sSliceArgument.uiSliceMode".
Declaration
public SliceMode SliceMode { get; set; }
  Property Value
| Type | Description | 
|---|---|
| SliceMode | 
SliceNum
Gets or sets a value that maps to "sSliceArgument.uiSliceNum".
Declaration
public int SliceNum { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
SliceSizeConstraint
Gets or sets a value that maps to "sSliceArgument.uiSliceSizeConstraint".
Declaration
public int SliceSizeConstraint { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
TransferCharacteristics
Gets or sets a value that maps to "uiTransferCharacteristics".
Declaration
public TransferCharacteristics TransferCharacteristics { get; set; }
  Property Value
| Type | Description | 
|---|---|
| TransferCharacteristics | 
VideoFormat
Gets or sets a value that maps to "uiVideoFormatSPS".
Declaration
public VideoFormatSPS VideoFormat { get; set; }
  Property Value
| Type | Description | 
|---|---|
| VideoFormatSPS | 
VideoSignalTypePresent
Gets or sets a value that maps to "bVideoSignalTypePresent".
Declaration
public bool VideoSignalTypePresent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
DeepCopy()
Gets a deep copy of this configuration.
Declaration
public EncoderSpatialLayerConfig DeepCopy()
  Returns
| Type | Description | 
|---|---|
| EncoderSpatialLayerConfig |