CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Convert Depth

Functions

VX_API_ENTRY vx_node VX_API_CALL vxConvertDepthNode (vx_graph graph, vx_image input, vx_image output, vx_enum policy, vx_scalar shift)
 [Graph] Creates a bit-depth conversion node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuConvertDepth (vx_context context, vx_image input, vx_image output, vx_enum policy, vx_int32 shift)
 [Immediate] Converts the input images bit-depth into the output image.
 

Detailed Description

Function Documentation

◆ vxConvertDepthNode()

VX_API_ENTRY vx_node VX_API_CALL vxConvertDepthNode ( vx_graph graph,
vx_image input,
vx_image output,
vx_enum policy,
vx_scalar shift )

#include <vx_nodes.h>

[Graph] Creates a bit-depth conversion node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image.
[out]outputThe output image with the same dimensions of the input image.
[in]policyA VX_TYPE_ENUM of the vx_convert_policy_e enumeration.
[in]shiftA scalar containing a VX_TYPE_INT32 of the shift value.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuConvertDepth()

VX_API_ENTRY vx_status VX_API_CALL vxuConvertDepth ( vx_context context,
vx_image input,
vx_image output,
vx_enum policy,
vx_int32 shift )

#include <vxu.h>

[Immediate] Converts the input images bit-depth into the output image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image.
[out]outputThe output image.
[in]policyA VX_TYPE_ENUM of the vx_convert_policy_e enumeration.
[in]shiftA scalar containing a VX_TYPE_INT32 of the shift value.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e..