Exemple #1
0
 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;
 }
Exemple #2
0
 public static extern unsafe MMAL_PORT_T mmal_util_get_port(MMAL_COMPONENT_T *comp, MMALPort.MMAL_PORT_TYPE_T pType, uint index);
Exemple #3
0
 public static extern string mmal_port_type_to_string(MMALPort.MMAL_PORT_TYPE_T pType);
Exemple #4
0
 public MMAL_EVENT_END_OF_STREAM_T(MMALPort.MMAL_PORT_TYPE_T portType, uint portIndex)
 {
     this.portType  = portType;
     this.portIndex = portIndex;
 }