Accord.Video.DirectShow.VideoCaptureDevice.OnNewFrame C# (CSharp) Метод

OnNewFrame() приватный Метод

Notifies clients about new frame.
private OnNewFrame ( Bitmap image ) : void
image System.Drawing.Bitmap New frame's image.
Результат void
        private void OnNewFrame(Bitmap image)
        {
            framesReceived++;
            bytesReceived += image.Width * image.Height * (Bitmap.GetPixelFormatSize(image.PixelFormat) >> 3);

            if ((!stopEvent.WaitOne(0, false)) && (NewFrame != null))
                NewFrame(this, new NewFrameEventArgs(image));
        }