Output Allocators for OpenVX* 1.0.1

Output Allocators for OpenVX* 1.0.1 include the following:

Intel MdData From Images (outputAllocators.MdDataFromImages)

Description

Receives 16-bit images as inputs and creates a three dimensional MDData that contains the data images. This kernel is equivalent to the following code snippet:

NOTE: The Number of Input Images parameter associated with this kernel defines the number of input images. Setting this parameter automatically adds or removes the number of input ports.

NOTE: The size of the output MDData object will be determined by the image supplied in the first input, all images must be of the same height, weight and pixel format.

Parameters

Direction

Name

Type

Description

In

Src_image

vx_image

The image to work (support pixel formats are VX_DF_IMAGE_S16 and VX_DF_IMAGE_U16)

Out

Dst_ MDData

vx_intel_md_data

The 3 dimensional output MDData that contains the images.

Merge Intel MdData (outputAllocators.MergeMdData)

Description

Receives Intel MDData objects with the same dimensions as input and merges them into one MDData object with an additional dimension.

This kernel has the same result as this code snippet:

NOTE: The Number of Input Parts parameter associated with this kernel defines the number of inputs. Setting this parameter automatically adds or removes the number of input ports.

Parameters

# - indicates the input number (1, 2, 3, etc.)

Direction

Name

Type

Description

In

Start_Indexes_of_#

vx_uint32*

The start indexes from which to extract the view of the # input MDData objects.(include)

In

End_Indexes_of_#

vx_uint32*

The end indexes from which to extract the view of the # input MDData objects. (exclude)

In

Src_MDData

vx_intel_md_data

The input MDData object.

Out

Dst_MDData

vx_intel_md_data

The output MDData object created from the input views.

Split Intel MdData (outputAllocators.SplitMdData)

Description

Receives an MDData object as input and splits it into a number of objects with different sizes.

This kernel has the same result as this code snippet:

NOTE: The Number of Output Parts parameter associated with this kernel defines the number of outputs. Setting this parameter automatically adds or removes the number of output ports.

Parameters

# - indicates the input number (1, 2, 3 etc.)

Direction

Name

Type

Description

In

Start_Indexes_of_#

vx_uint32*

The start indexes from which to extract the view of the # output MDData object.(include)

In

End_Indexes_of_#

vx_uint32*

The end indexes from which to extract the view of the # output MDData object. (exclude)

In

Src_MDData

vx_intel_md_data

The input MDData object.

Out

Dst_MDData

vx_intel_md_data

The output MDData object which created from the input views.

   

   

  

   

   

  

   

For more complete information about compiler optimizations, see our Optimization Notice.