Mimir/src/Mimir.Runtime/Synchronization/MimirVideoFrameDescriptor.cs

25 lines
433 B
C#
Raw Normal View History

namespace Mimir.Runtime.Synchronization;
public enum MimirVideoPixelFormat
{
Unknown,
Gray8,
R8,
Rg8,
Bayer8,
Yuy2,
Mjpg,
H264,
Bgra8,
Nv12,
LeapStereoIr,
}
public sealed record MimirVideoFrameDescriptor(
int Width,
int Height,
MimirVideoPixelFormat PixelFormat,
int StrideBytes,
long DeviceTimestampNs,
ulong NativeHandle = 0,
string NativeHandleKind = "");