Struct ARGBVideoFrame
Single video frame encoded in ARGB interleaved format (32 bits per pixel).
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public struct ARGBVideoFrame
Remarks
The use of ref struct
is an optimization to avoid heap allocation on each frame while
having a nicer-to-use container to pass a frame accross methods.
Fields
| Improve this Doc View Sourcedata
Pointer to the data buffer containing the ARBG data for each pixel.
Declaration
public IntPtr data
Field Value
Type | Description |
---|---|
IntPtr |
height
Frame height, in pixels.
Declaration
public uint height
Field Value
Type | Description |
---|---|
UInt32 |
stride
Stride in bytes between the ARGB rows.
Declaration
public int stride
Field Value
Type | Description |
---|---|
Int32 |
width
Frame width, in pixels.
Declaration
public uint width
Field Value
Type | Description |
---|---|
UInt32 |