示例#1
0
 private void UpdateFPS()
 {
     if (InvokeRequired)
     {
         Invoke(new Action(UpdateFPS)); return;
     }
     cameraStats_label.Text = String.Format("UP:   {0:D2} Got {2:D2} Drop Exp:{6} ({11}) Bright:{8} ({10}\n" +
                                            "DOWN: {3:D2} Got {5:D2} Drop Exp:{7} ({13}) Bright:{9} ({12}\n",
                                            upVideoCapture.FPSReceived, upVideoCapture.FPSProcessed, upVideoCapture.FPSDropped,
                                            downVideoCapture.FPSReceived, downVideoCapture.FPSProcessed, downVideoCapture.FPSDropped,
                                            upVideoCapture.GetExposure(), downVideoCapture.GetExposure(),
                                            upVideoCapture.GetBrightness(), downVideoCapture.GetBrightness(),
                                            upVideoCapture.BrightnessRange, upVideoCapture.ExposureRange,
                                            downVideoCapture.BrightnessRange, downVideoCapture.ExposureRange);
 }