Esempio n. 1
0
        public void Dispose()
        {
            var h = _handle;

            _handle = IntPtr.Zero;
            OeipCApi.CloseVideo(h);
            _cb_output = null;
        }
Esempio n. 2
0
        protected PipelineDemoSession(IntPtr handle)
        {
            _handle  = handle;
            _outputs = new Dictionary <Stage, Bitmap>();

            // "Pinneljuk" a delegate-et hogy ne GC-zodjon mikozben a lib meg pointert tarol ra
            _cb_output = StageOutputCallback;
            OeipCApi.RegisterStageOutputCallback(_handle, _cb_output);
        }