MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Struct Argb32VideoFrame

    Single video frame encoded in ARGB interleaved format (32 bits per pixel).

    The ARGB components are in the order of a little endian 32-bit integer, so 0xAARRGGBB, or (B, G, R, A) as a sequence of bytes in memory with B first and A last.

    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public ref struct Argb32VideoFrame
    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
    In This Article
    • Fields
      • data
      • height
      • stride
      • width
    Back to top Generated by DocFX