internal static void SetRawCapture(this MMALPortImpl port, bool raw)
 {
     port.SetParameter(MMAL_PARAMETER_ENABLE_RAW_CAPTURE, raw);
 }
 internal static void SetImageCapture(this MMALPortImpl port, bool enable)
 {
     port.SetParameter(MMAL_PARAMETER_CAPTURE, enable);
 }