|
IMVSCSelectInput
The IMVSCSelectInput Interface Interface from the MontiVision Smart Control
provides methods to select the physical input from
a capture source crossbar with multiple physical input
ports. The MV
SelectInputComboBox uses this interface.
Methods:
| CheckConnection
|
Check if a connection between an input and output pin is
possible. |
| Connect
|
Connects a
input to an output from a crossbar.
|
|
CurrentConnection
|
Get the current connected input pin for an output pin. |
| GetInputLabel
|
Get the label
from a output pin.
|
| GetOutputLabel
|
Get the label from a output pin. |
| InputCount
|
Get the input pin count from the crossbar of a video source
filter. |
| IsAvailable
|
Test if the
crossbar is available
|
| OutputCount
|
Get the
output pin count from a crossbar of a video source filter.
|
Typelib: MV SMartCOntrol
Method
IMVSCSelectInput::CheckConnection
Declaration: Sub
CheckConnection(SourceFilter As String, Input As Long, Output As
Long)
Check if a connection between an input and output pin is possible.
The method returns S_OK (0) if the connection is possible or
S_FALSE (1) if no connection between the two pins is possible.
Parameter:
|
|
SourceFilter |
Source filter label within
the filter graph configuration. |
|
|
Input |
Input pin index. |
|
|
Output |
Output pin index. |
Prototype:
HRESULT CheckConnection(BSTR
SourceFilter, LONG Input, LONG Output);
Method IMVSCSelectInput::Connect
Declaration: Sub
Connect(SourceFilter As String, Input As Long, Output As Long)
Connects a input to an output from a crossbar.
Parameter:
|
|
SourceFilter |
Source filter label within
the filter graph configuration. |
|
|
Input |
Input pin index. |
|
|
Output |
Output pin index. |
Prototype:
HRESULT Connect(STRING SourceFilter,
LONG Input, LONG Output);
Method
IMVSCSelectInput::CurrentConnection
Declaration:
Function CurrentConnection(SourceFilter As String, Output As Long)
As Long
Get the current connected input pin for an output pin. It returns
the index from the current connected input pin.
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
|
|
Output |
Output pin index. |
Prototype:
HRESULT CurrentConnection(BSTR
SourceFilter, LONG Output, LONG* value);
Method
IMVSCSelectInput::GetInputLabel
Declaration:
Function GetInputLabel(SourceFilter As String, Index As Long) As
String
Get the label from a output pin.
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
|
|
Index |
Input pin index. |
Prototype:
HRESULT GetInputLabel(BSTR
SourceFilter, LONG Index, BSTR* value);
Method
IMVSCSelectInput::GetOutputLabel
Declaration:
Function GetOutputLabel(SourceFilter As String, Index As Long) As
String
Get the label from a output pin.
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
|
|
Index |
Output pin index. |
Prototype:
HRESULT GetOutputLabel(BSTR
SourceFilter, LONG Index, BSTR* value);
Method
IMVSCSelectInput::InputCount
Declaration:
Function InputCount(SourceFilter As String) As Long
Get the input pin count from the crossbar of a video source
filter.
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
Prototype:
HRESULT InputCount(BSTR SourceFilter,
LONG* value);
Method
IMVSCSelectInput::IsAvailable
Declaration:
Function IsAvailable(SourceFilter As String) As Boolean
Test if the crossbar is available
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
Prototype:
HRESULT IsAvailable(BSTR SourceFilter,
BOOL* value);
Method
IMVSCSelectInput::OutputCount
Declaration:
Function OutputCount(SourceFilter As String) As Long
Get the output pin count from a crossbar og a video source
filter.
Parameter:
|
|
SourceFilter |
Source filter label within the filter graph
configuration. |
Prototype:
HRESULT OutputCount(BSTR SourceFilter,
LONG* value);
|