Class I420AVideoFrameStorage
Storage for a video frame encoded in I420+Alpha format.
Implements
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public class I420AVideoFrameStorage : object, IVideoFrameStorage
Properties
| Improve this Doc View SourceBuffer
Raw byte buffer containing the frame data.
Declaration
public byte[] Buffer { get; }
Property Value
Type | Description |
---|---|
Byte[] |
Capacity
Total capacity of the storage, in bytes. This can be assigned to resize the storage.
Declaration
public ulong Capacity { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
Remarks
Reading this property is equivalent to reading the
Height
Frame height, in pixels.
Declaration
public uint Height { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
Width
Frame width, in pixels.
Declaration
public uint Width { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |