29 lines
565 B
C#
29 lines
565 B
C#
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 = "",
|
|
string ResourceKey = "",
|
|
ulong ProducerFenceHandle = 0,
|
|
ulong ProducerFenceValue = 0,
|
|
int UnavoidableCopyCount = 0);
|