public static Pixels CreateFromBitmap(Bitmap bmp, PixelPool pool) { Pixels pix = pool.Alloc(bmp.Width, bmp.Height); pix.LoadFromBitmap(bmp); return(pix); }
public VideoCapture() { pixelPool = new PixelPool(10); }
public static Pixels CreateFromBitmap(Bitmap bmp, PixelPool pool) { Pixels pix = pool.Alloc(bmp.Width, bmp.Height); pix.LoadFromBitmap(bmp); return pix; }