예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public static extern unsafe MmalStatusEnum SendBuffer(MmalPortType *port, MmalBufferHeader *header);
예제 #4
0
 public static extern unsafe MmalStatusEnum GetParameter(MmalPortType *port, MmalParameterHeaderType *header);
예제 #5
0
 public static extern unsafe MmalStatusEnum Flush(MmalPortType *port);
예제 #6
0
 public static extern unsafe MmalStatusEnum Disable(MmalPortType *port);
예제 #7
0
 public static extern unsafe MmalStatusEnum Enable(MmalPortType *port, IntPtr cb);
예제 #8
0
 public static extern unsafe MmalStatusEnum Commit(MmalPortType *port);
예제 #9
0
 public static extern unsafe MmalPoolType *PoolCreate(MmalPortType *port, int headers, int payload_size);
예제 #10
0
 public static extern unsafe MmalStatusEnum SetString(MmalPortType *port, uint id, [MarshalAs(UnmanagedType.LPTStr)] string value);
예제 #11
0
 public static extern unsafe MmalStatusEnum GetRational(MmalPortType *port, uint id, ref MmalRational value);
예제 #12
0
 public static extern unsafe MmalStatusEnum GetInt32(MmalPortType *port, uint id, ref int value);
예제 #13
0
 public static extern unsafe MmalStatusEnum SetUint32(MmalPortType *port, uint id, uint value);
예제 #14
0
 public static extern unsafe MmalStatusEnum GetInt64(MmalPortType *port, uint id, ref long value);
예제 #15
0
 public static extern unsafe MmalStatusEnum SetBoolean(MmalPortType *port, uint id, int value);
예제 #16
0
 public static extern unsafe MmalStatusEnum Create(IntPtr *connection, MmalPortType *output, MmalPortType *input, uint flags);