Ejemplo n.º 1
0
 public MMAL_VIDEO_FORMAT_T(int width, int height, MMAL_RECT_T crop, MMAL_RATIONAL_T frameRate,
                            MMAL_RATIONAL_T par, int colorSpace)
 {
     this.Width      = width;
     this.Height     = height;
     this.Crop       = crop;
     this.FrameRate  = frameRate;
     this.Par        = par;
     this.ColorSpace = colorSpace;
 }
Ejemplo n.º 2
0
 public MMAL_CLOCK_EVENT_DATA(int enable, MMAL_RATIONAL_T scale, MMAL_CLOCK_UPDATE_THRESHOLD_T updateThreshold,
                              MMAL_CLOCK_DISCONT_THRESHOLD_T discontThreshold, MMAL_CLOCK_REQUEST_THRESHOLD_T requestThreshold,
                              MMAL_CLOCK_BUFFER_INFO_T buffer, MMAL_CLOCK_LATENCY_T latency)
 {
     this.enable           = enable;
     this.scale            = scale;
     this.updateThreshold  = updateThreshold;
     this.discontThreshold = discontThreshold;
     this.requestThreshold = requestThreshold;
     this.buffer           = buffer;
     this.latency          = latency;
 }
Ejemplo n.º 3
0
 public static extern unsafe MMAL_STATUS_T mmal_port_parameter_get_rational(MMAL_PORT_T *port, uint id, ref MMAL_RATIONAL_T value);
Ejemplo n.º 4
0
 public static unsafe extern MMAL_STATUS_T mmal_port_parameter_set_rational(MMAL_PORT_T *port, uint id, MMAL_RATIONAL_T value);