Show / Hide Table of Contents

    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 Source

    data

    Pointer to the data buffer containing the ARBG data for each pixel.

    Declaration
    public IntPtr data
    Field Value
    Type Description
    IntPtr
    | Improve this Doc View Source

    height

    Frame height, in pixels.

    Declaration
    public uint height
    Field Value
    Type Description
    UInt32
    | Improve this Doc View Source

    stride

    Stride in bytes between the ARGB rows.

    Declaration
    public int stride
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    width

    Frame width, in pixels.

    Declaration
    public uint width
    Field Value
    Type Description
    UInt32
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX