Operator Library: Synchronization
The operator works as a switch between up to 64 M-Type sources. It can be used to switch between alternative implementations. You can use it, for example, to switch between different camera ports, or between different DMA inputs.
The selection is controlled by parameter SelectSource. The switching between two input ports keeps the granularity of the currently transmitted frame and line, i.e., the current frame being transmitted will be completely transmitted before switching to a new input port. In other words, the operator will not switch to another input while a frame is processed.
The operator acts like a Trash operator for all links which are currently not selected.
Note that all input links must be in the same format except the maximal image width and height.
The source type is specified by the parameter InfiniteSource. Setting it to ENABLED allows the operator to be connected to camera sources. Setting it to DISABLED allows the operator to be used between normal VA operators subsequent to a buffer.
We recommend not to use the SourceSelector operator for switching between sources which are sourced by the same M-type source. In such cases, use the IF or the CASE operator instead since these operators use much less resources than the SourceSelector operator.
Operator Restrictions
- 空のフレームはサポートされていません。
- Empty lines are not supported.
| Property | 値 |
|---|---|
| オペレータータイプ | M |
| 入力リンク | I[0], data input I[n-1], data input |
| Output Link | O, data output |
| SelectSource | |
|---|---|
| タイプ | static/dynamic read/write parameter |
| Default | 0 |
| 範囲 | [0, n-1] |
|
This parameter selects the port and forwards its image data to the output. The data at all other ports is discarded. |
|
| InfiniteSource | |
|---|---|
| タイプ | static パラメータ |
| Default | DISABLED |
| 範囲 | {ENABLED, DISABLED} |
|
When set to ENABLE, the operator allows its direct connection to infinite sources like Camera operators without the need of a buffer. |
|
The use of operator SourceSelector is shown in the following examples:
-
Operator used to switch between two cameras.
-
DMA、RAM、GPIO、トリガー、LEDのハードウェアセルフテストの例。
-
例 - 画像寸法が測定され、デザインフローの分析に使用できます。
-
例 - デバッグ目的で画像を手動で挿入できます。
-
例 - デバッグ目的でリンク上の画像転送状態を調査できます。
-
Examples - デバッグ目的で、Scopeオペレーターにはグレースケール画像を解析するためのオプションが用意されています。




前へ

