Свойство | Тип | Описание | |
---|---|---|---|
ColletCrossbarVideoInputs | Accord.Video.DirectShow.VideoInput[] | ||
DisplayPropertyPage | void | ||
Free | void | ||
GetCurrentCrossbarInput | |||
GetPinCapabilitiesAndConfigureSizeAndRate | void | ||
OnNewFrame | void | ||
OnSnapshotFrame | void | ||
SetCurrentCrossbarInput | void | ||
SetResolution | void | ||
WorkerThread | void | ||
WorkerThread | void |
Метод | Описание | |
---|---|---|
CheckIfCrossbarAvailable ( ) : bool |
Check if running video source provides crossbar for configuration. The method reports if the video source provides crossbar configuration using DisplayCrossbarPropertyPage. |
|
DisplayCrossbarPropertyPage ( |
Display property page of video crossbar (Analog Video Crossbar filter). The Analog Video Crossbar filter is modeled after a general switching matrix, with n inputs and m outputs. For example, a video card might have two external connectors: a coaxial connector for TV, and an S-video input. These would be represented as input pins on the filter. The displayed property page allows to configure the crossbar by selecting input of a video card to use. Use CheckIfCrossbarAvailable method to check if running video source provides crossbar configuration. |
|
DisplayPropertyPage ( |
Display property window for the video capture device providing its configuration capabilities. |
|
GetCameraProperty ( CameraControlProperty property, int &value, CameraControlFlags &controlFlags ) : bool |
Gets the current setting of a camera property.
|
|
GetCameraPropertyRange ( CameraControlProperty property, int &minValue, int &maxValue, int &stepSize, int &defaultValue, CameraControlFlags &controlFlags ) : bool |
Gets the range and default value of a specified camera property.
|
|
SetCameraProperty ( CameraControlProperty property, int value, CameraControlFlags controlFlags ) : bool |
Sets a specified property on the camera.
|
|
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. |
|
SimulateTrigger ( ) : void |
Simulates an external trigger. The method simulates external trigger for video cameras, which support providing still image snapshots. The effect is equivalent as pressing camera's shutter button - a snapshot will be provided through SnapshotFrame event. |
|
Start ( ) : void |
Start video source. Starts video source and return execution to caller. Video source object creates background thread and notifies about new frames with the help of NewFrame event. |
|
Stop ( ) : void |
Stop video source. Stops video source aborting its thread. |
|
VideoCaptureDevice ( ) : System |
Initializes a new instance of the VideoCaptureDevice class.
|
|
VideoCaptureDevice ( string deviceMoniker ) : System |
Initializes a new instance of the VideoCaptureDevice class.
|
|
VideoCaptureDevice ( string deviceMoniker, PixelFormat pixelFormat ) : System |
Initializes a new instance of the VideoCaptureDevice class.
|
|
WaitForStop ( ) : void |
Wait for video source has stopped. Waits for source stopping after it was signalled to stop using SignalToStop method. |
Метод | Описание | |
---|---|---|
ColletCrossbarVideoInputs ( IAMCrossbar crossbar ) : Accord.Video.DirectShow.VideoInput[] | ||
DisplayPropertyPage ( |
||
Free ( ) : void |
Free resource.
|
|
GetCurrentCrossbarInput ( IAMCrossbar crossbar ) : |
||
GetPinCapabilitiesAndConfigureSizeAndRate ( ICaptureGraphBuilder2 graphBuilder, IBaseFilter baseFilter, System.Guid pinCategory, |
||
OnNewFrame ( |
Notifies clients about new frame.
|
|
OnSnapshotFrame ( |
Notifies clients about new snapshot frame.
|
|
SetCurrentCrossbarInput ( IAMCrossbar crossbar, |
||
SetResolution ( IAMStreamConfig streamConfig, |
||
WorkerThread ( ) : void |
Worker thread.
|
|
WorkerThread ( bool runGraph ) : void |
public CheckIfCrossbarAvailable ( ) : bool | ||
Результат | bool |
public DisplayCrossbarPropertyPage ( |
||
parentWindow | Handle of parent window. | |
Результат | void |
public DisplayPropertyPage ( |
||
parentWindow | Handle of parent window. | |
Результат | void |
public GetCameraProperty ( CameraControlProperty property, int &value, CameraControlFlags &controlFlags ) : bool | ||
property | CameraControlProperty | Specifies the property to retrieve. |
value | int | Receives the value of the property. |
controlFlags | CameraControlFlags | Receives the value indicating whether the setting is controlled manually or automatically |
Результат | bool |
public GetCameraPropertyRange ( CameraControlProperty property, int &minValue, int &maxValue, int &stepSize, int &defaultValue, CameraControlFlags &controlFlags ) : bool | ||
property | CameraControlProperty | Specifies the property to query. |
minValue | int | Receives the minimum value of the property. |
maxValue | int | Receives the maximum value of the property. |
stepSize | int | Receives the step size for the property. |
defaultValue | int | Receives the default value of the property. |
controlFlags | CameraControlFlags | Receives a member of the |
Результат | bool |
public SetCameraProperty ( CameraControlProperty property, int value, CameraControlFlags controlFlags ) : bool | ||
property | CameraControlProperty | Specifies the property to set. |
value | int | Specifies the new value of the property. |
controlFlags | CameraControlFlags | Specifies the desired control setting. |
Результат | bool |
public VideoCaptureDevice ( string deviceMoniker ) : System | ||
deviceMoniker | string | Moniker string of video capture device. |
Результат | System |
public VideoCaptureDevice ( string deviceMoniker, PixelFormat pixelFormat ) : System | ||
deviceMoniker | string | Moniker string of video capture device. |
pixelFormat | PixelFormat | Pixel format of video. |
Результат | System |