Method | Description | |
---|---|---|
AsyncVideoSource ( IVideoSource nestedVideoSource ) : System |
Initializes a new instance of the AsyncVideoSource class.
|
|
AsyncVideoSource ( IVideoSource nestedVideoSource, bool skipFramesIfBusy ) : System |
Initializes a new instance of the AsyncVideoSource class.
|
|
SignalToStop ( ) : void |
Signal video source to stop its work. Signals video source to stop its background thread, stop to provide new frames and free resources. |
|
Start ( ) : void |
Start video source. Starts the nested video source and returns execution to caller. This object creates an extra thread which is used to fire NewFrame events, so the image processing could be done on another thread without blocking video acquisition thread. |
|
Stop ( ) : void |
Stop video source. Stops nested video source by calling its IVideoSource.Stop method. See documentation of the particular video source for additional details. |
|
WaitForStop ( ) : void |
Wait for video source has stopped. Waits for video source stopping after it was signalled to stop using SignalToStop method. |
Method | Description | |
---|---|---|
CloneImage ( |
||
CloneImage ( |
||
Free ( ) : void | ||
imageProcessingThread_Worker ( ) : void | ||
nestedVideoSource_NewFrame ( object sender, |
public AsyncVideoSource ( IVideoSource nestedVideoSource ) : System | ||
nestedVideoSource | IVideoSource | Nested video source which is the target for asynchronous processing. |
return | System |
public AsyncVideoSource ( IVideoSource nestedVideoSource, bool skipFramesIfBusy ) : System | ||
nestedVideoSource | IVideoSource | Nested video source which is the target for asynchronous processing. |
skipFramesIfBusy | bool | Specifies if the object should skip frames from the nested video source /// in the case if it is still busy processing the previous video frame. |
return | System |