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