Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public MmalBuffer(MmalBufferHeader *ptr)
 {
     Ptr        = ptr;
     Properties = new List <MmalBufferProperties>();
     Events     = new List <int>();
 }
Esempio n. 3
0
 public static extern unsafe MmalStatusEnum SendBuffer(MmalPortType *port, MmalBufferHeader *header);
Esempio n. 4
0
 public static extern unsafe void Put(MmalQueueType *ptr, MmalBufferHeader *header);
Esempio n. 5
0
 public MmalQueueType(uint length, MmalBufferHeader *first, MmalBufferHeader **last)
 {
     Length = length;
     First  = first;
     Last   = last;
 }
Esempio n. 6
0
 public static extern unsafe void HeaderAcquire(MmalBufferHeader *header);
Esempio n. 7
0
 public static extern unsafe void MemUnlock(MmalBufferHeader *header);
Esempio n. 8
0
 public static extern unsafe MmalStatusEnum MemLock(MmalBufferHeader *header);
Esempio n. 9
0
 public static extern unsafe void HeaderRelease(MmalBufferHeader *header);