The OpenVX Specification  r28647
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Channel Combine

Detailed Description

Implements the Channel Combine Kernel.

This kernel takes multiple VX_DF_IMAGE_U8 planes to recombine them into a multi-planar or interleaved format from vx_df_image_e. The user must specify only the number of channels that are appropriate for the combining operation. If a user specifies more channels than necessary, the operation results in an error. For the case where the destination image is a format with subsampling, the input channels are expected to have been subsampled before combining (by stretching and resizing).

Functions

vx_node vxChannelCombineNode (vx_graph graph, vx_image plane0, vx_image plane1, vx_image plane2, vx_image plane3, vx_image output)
 [Graph] Creates a channel combine node. More...
 
vx_status vxuChannelCombine (vx_context context, vx_image plane0, vx_image plane1, vx_image plane2, vx_image plane3, vx_image output)
 [Immediate] Invokes an immediate Channel Combine. More...
 

Function Documentation

vx_node vxChannelCombineNode ( vx_graph  graph,
vx_image  plane0,
vx_image  plane1,
vx_image  plane2,
vx_image  plane3,
vx_image  output 
)

[Graph] Creates a channel combine node.

Parameters
[in]graphThe graph reference.
[in]plane0The plane that forms channel 0. Must be VX_DF_IMAGE_U8.
[in]plane1The plane that forms channel 1. Must be VX_DF_IMAGE_U8.
[in]plane2[optional] The plane that forms channel 2. Must be VX_DF_IMAGE_U8.
[in]plane3[optional] The plane that forms channel 3. Must be VX_DF_IMAGE_U8.
[out]outputThe output image. The format of the image must be defined, even if the image is virtual.
See also
VX_KERNEL_CHANNEL_COMBINE
Returns
vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status vxuChannelCombine ( vx_context  context,
vx_image  plane0,
vx_image  plane1,
vx_image  plane2,
vx_image  plane3,
vx_image  output 
)

[Immediate] Invokes an immediate Channel Combine.

Parameters
[in]contextThe reference to the overall context.
[in]plane0The plane that forms channel 0. Must be VX_DF_IMAGE_U8.
[in]plane1The plane that forms channel 1. Must be VX_DF_IMAGE_U8.
[in]plane2[optional] The plane that forms channel 2. Must be VX_DF_IMAGE_U8.
[in]plane3[optional] The plane that forms channel 3. Must be VX_DF_IMAGE_U8.
[out]outputThe output image.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.