public MMAL_PORT_T(IntPtr priv, char *name, MMALPort.MMAL_PORT_TYPE_T type, ushort index, ushort indexAll, int isEnabled, MMAL_ES_FORMAT_T *format, int bufferNumMin, int bufferSizeMin, int bufferAlignmentMin, int bufferNumRecommended, int bufferSizeRecommended, int bufferNum, int bufferSize, MMAL_COMPONENT_T *component, IntPtr userData, uint capabilities) { this.priv = priv; this.name = name; this.type = type; this.index = index; this.indexAll = indexAll; this.isEnabled = isEnabled; this.format = format; this.bufferNumMin = bufferNumMin; this.bufferSizeMin = bufferSizeMin; this.bufferAlignmentMin = bufferAlignmentMin; this.bufferNumRecommended = bufferNumRecommended; this.bufferSizeRecommended = bufferSizeRecommended; this.bufferNum = bufferNum; this.bufferSize = bufferSize; this.component = component; this.userData = userData; this.capabilities = capabilities; }
public static extern unsafe MMAL_PORT_T mmal_util_get_port(MMAL_COMPONENT_T *comp, MMALPort.MMAL_PORT_TYPE_T pType, uint index);
public static extern string mmal_port_type_to_string(MMALPort.MMAL_PORT_TYPE_T pType);
public MMAL_EVENT_END_OF_STREAM_T(MMALPort.MMAL_PORT_TYPE_T portType, uint portIndex) { this.portType = portType; this.portIndex = portIndex; }