public MmalBufferHeader(MmalBufferHeader *next, IntPtr priv, uint cmd, byte *data, uint allocSize, uint length, uint offset, uint flags, long pts, long dts, IntPtr type, IntPtr userData) { Next = next; Priv = priv; Cmd = cmd; Data = data; AllocSize = allocSize; Length = length; Offset = offset; Flags = flags; Pts = pts; Dts = dts; Type = type; UserData = userData; }
public MmalBuffer(MmalBufferHeader *ptr) { Ptr = ptr; Properties = new List <MmalBufferProperties>(); Events = new List <int>(); }
public static extern unsafe MmalStatusEnum SendBuffer(MmalPortType *port, MmalBufferHeader *header);
public static extern unsafe void Put(MmalQueueType *ptr, MmalBufferHeader *header);
public MmalQueueType(uint length, MmalBufferHeader *first, MmalBufferHeader **last) { Length = length; First = first; Last = last; }
public static extern unsafe void HeaderAcquire(MmalBufferHeader *header);
public static extern unsafe void MemUnlock(MmalBufferHeader *header);
public static extern unsafe MmalStatusEnum MemLock(MmalBufferHeader *header);
public static extern unsafe void HeaderRelease(MmalBufferHeader *header);