Editor/Inference/DecodedVideoFrame.cs

A small record type in the Editor assembly that represents a decoded video frame. It stores an RGBA byte array, width, height and a timestamp.

using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;

namespace HumanoidMocap.EditorTools.Inference;

public sealed record DecodedVideoFrame(byte[] Rgba,int Width,int Height,double Time);