public MmalComponentType( IntPtr priv, IntPtr userData, char *name, uint isEnabled, MmalPortType *control, uint inputNum, MmalPortType **input, uint outputNum, MmalPortType **output, uint clockNum, MmalPortType **clock, uint portNum, MmalPortType **port, uint id) { Priv = priv; UserData = userData; Name = name; IsEnabled = isEnabled; Control = control; InputNum = inputNum; Input = input; OutputNum = outputNum; Output = output; ClockNum = clockNum; Clock = clock; PortNum = portNum; Port = port; Id = id; }
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 MmalStatusEnum SendBuffer(MmalPortType *port, MmalBufferHeader *header);
public static extern unsafe MmalStatusEnum GetParameter(MmalPortType *port, MmalParameterHeaderType *header);
public static extern unsafe MmalStatusEnum Flush(MmalPortType *port);
public static extern unsafe MmalStatusEnum Disable(MmalPortType *port);
public static extern unsafe MmalStatusEnum Enable(MmalPortType *port, IntPtr cb);
public static extern unsafe MmalStatusEnum Commit(MmalPortType *port);
public static extern unsafe MmalPoolType *PoolCreate(MmalPortType *port, int headers, int payload_size);
public static extern unsafe MmalStatusEnum SetString(MmalPortType *port, uint id, [MarshalAs(UnmanagedType.LPTStr)] string value);
public static extern unsafe MmalStatusEnum GetRational(MmalPortType *port, uint id, ref MmalRational value);
public static extern unsafe MmalStatusEnum GetInt32(MmalPortType *port, uint id, ref int value);
public static extern unsafe MmalStatusEnum SetUint32(MmalPortType *port, uint id, uint value);
public static extern unsafe MmalStatusEnum GetInt64(MmalPortType *port, uint id, ref long value);
public static extern unsafe MmalStatusEnum SetBoolean(MmalPortType *port, uint id, int value);
public static extern unsafe MmalStatusEnum Create(IntPtr *connection, MmalPortType *output, MmalPortType *input, uint flags);