public MmalPoolImpl(MmalPoolType *ptr) { MmalLog.Logger.LogDebug($"Creating buffer pool from existing instance."); Ptr = ptr; Queue = new MmalQueueImpl((*Ptr).Queue); }
public MmalConnectionType(IntPtr userData, IntPtr callback, uint isEnabled, uint flags, MmalPortType *input, MmalPortType *output, MmalPoolType *pool, MmalQueueType *queue, char *name, long timeSetup, long timeEnable, long timeDisable) { UserData = userData; Callback = callback; IsEnabled = isEnabled; Flags = flags; Input = input; Output = output; Pool = pool; Queue = queue; Name = name; TimeSetup = timeSetup; TimeEnable = timeEnable; TimeDisable = timeDisable; }
public static extern unsafe void Destroy(MmalPoolType *pool);
public static extern unsafe MmalStatusEnum Resize(MmalPoolType *pool, uint headers, uint payload_size);