Class Utility
Utility methods.
Inheritance
System.Object
Utility
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch.Vp9
Assembly: FM.LiveSwitch.dll
Syntax
public class Utility
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 |