Class Utility
Utility methods.
Inheritance
System.Object
Utility
Namespace: FM.LiveSwitch.Vp9
Assembly: FM.LiveSwitch.dll
Syntax
public class Utility : object
Methods
DeriveHeight(DataBuffer)
Derives the height.
Declaration
public static int DeriveHeight(DataBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBuffer | buffer | The buffer. |
Returns
| Type | Description |
|---|---|
| System.Int32 |
DeriveWidth(DataBuffer)
Derives the width.
Declaration
public static int DeriveWidth(DataBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBuffer | buffer | The buffer. |
Returns
| Type | Description |
|---|---|
| System.Int32 |
IsKeyFrame(DataBuffer)
Determines whether the buffer holds a keyframe.
Declaration
public static bool IsKeyFrame(DataBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBuffer | buffer | The buffer. |
Returns
| Type | Description |
|---|---|
| System.Boolean |