namespace DragonISO.Engine.Pipeline;

/// <summary>
/// A frame as captured from an NDI receiver. Pixel buffer is opaque to the engine â€” its
/// shape is determined by the NDI receive format. Timestamp is the source's reported time.
/// </summary>
public sealed record RawFrame(
    int Width,
    int Height,
    long TimestampTicks,
    ReadOnlyMemory<byte> Pixels,
    PixelFormat Format);

public enum PixelFormat
{
    Bgra,
    Uyvy,
    Rgba
}
