Add native video frame ingest descriptor
This commit is contained in:
parent
a22fa0745c
commit
493b9ac3c7
14 changed files with 89 additions and 5 deletions
|
|
@ -0,0 +1,21 @@
|
|||
namespace Mimir.Runtime.Synchronization;
|
||||
|
||||
public enum MimirVideoPixelFormat
|
||||
{
|
||||
Unknown,
|
||||
Gray8,
|
||||
R8,
|
||||
Rg8,
|
||||
Bgra8,
|
||||
Nv12,
|
||||
LeapStereoIr,
|
||||
}
|
||||
|
||||
public sealed record MimirVideoFrameDescriptor(
|
||||
int Width,
|
||||
int Height,
|
||||
MimirVideoPixelFormat PixelFormat,
|
||||
int StrideBytes,
|
||||
long DeviceTimestampNs,
|
||||
ulong NativeHandle = 0,
|
||||
string NativeHandleKind = "");
|
||||
Loading…
Reference in a new issue