/// <summary> /// Create a one pass stabilizer /// </summary> /// <param name="baseFrameSource">The capture object to be stabalized</param> public OnePassStabilizer(FrameSource baseFrameSource) { _baseFrameSource = baseFrameSource; _ptr = VideoStabInvoke.OnePassStabilizerCreate(baseFrameSource.FrameSourcePtr, ref _stabilizerBase, ref FrameSourcePtr); }
/// <summary> /// Create a one pass stabilizer /// </summary> /// <param name="capture">The capture object to be stabalized</param> public OnePassStabilizer(Capture capture) { _captureFrameSource = new CaptureFrameSource(capture); _ptr = VideoStabInvoke.OnePassStabilizerCreate(_captureFrameSource, ref _stabilizerBase, ref _frameSourcePtr); }