Class VideoFrameInfoX
Video frame info (X-engines).
Inherited Members
Namespace: VisioForge.Core.Types.X
Assembly: VisioForge.Core.dll
Syntax
public class VideoFrameInfoX
Constructors
VideoFrameInfoX()
Initializes a new instance of the VideoFrameInfoX class.
Declaration
public VideoFrameInfoX()
VideoFrameInfoX(int, int, VideoFrameRate)
Initializes a new instance of the VideoFrameInfoX class.
Declaration
public VideoFrameInfoX(int width, int height, VideoFrameRate frameRate)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | The width. |
| int | height | The height. |
| VideoFrameRate | frameRate | The frame rate. |
VideoFrameInfoX(int, int, VideoFormatX, VideoFrameRate, int)
Initializes a new instance of the VideoFrameInfoX class.
Declaration
public VideoFrameInfoX(int width, int height, VideoFormatX format, VideoFrameRate frameRate, int stride = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | The width. |
| int | height | The height. |
| VideoFormatX | format | The format. |
| VideoFrameRate | frameRate | The frame rate. |
| int | stride | The stride. |
Properties
Format
The format.
Declaration
public VideoFormatX Format { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoFormatX |
FrameRate
The frame rate.
Declaration
public VideoFrameRate FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoFrameRate |
Height
The height.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Offsets
Gets or sets the offsets for each plane. Optional.
Declaration
public ulong[] Offsets { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong[] |
PlaneCount
Gets or sets the number of planes. Optional.
Declaration
public int PlaneCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Stride
The stride.
Declaration
public int Stride { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Strides
Gets or sets the strides for each plane. Optional.
Declaration
public int[] Strides { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Width
The width.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |