Operator PARALLELup

Library: Base

The operator PARALLELup increases the parallelism between the input link and the output link.

Following figure shows a parallel up conversion from parallelism 3 at the input to parallelism 6 at the output.

In VisualApplets, the width of an image line always has to be a multiple of the parallelism. As the PARALLELup operator allows any parallelism at its output it is possible that the width of an image line at the output is not a multiple of the output parallelism. In this case the operator will add dummy pixels to fill up the image line. The value of this dummy pixel is undefined. In VA simulation dummy pixels will be set to zero for better visibility.

The following figure shows in illustration of this dummy pixel insertion. As can be seen, the output parallelism of four cannot map the input line width of 6 pixels. Here, two extra dummy pixel are added so that the line width becomes eight.

The operator requires fewest resources if the output parallelism is an integer multiple of the input parallelism.

I/O Properties

Property Value
Operator Type P
Input Link I, data input
Output Link O, data output

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any >= input parallelism
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format any as I
Color Flavor any as I
Max. Img Width any auto2
Max. Img Height any as I

1

The range of the input bit width is [1, 64] for unsigned values. For signed inputs, the range is [2, 64]. For unsigned color inputs [3, 63] and for signed color inputs [6, 63].

2

The output image width must not exceed 2^31 - 1.

Parameters

None

Examples of Use

The use of operator PARALLELup is shown in the following examples: