CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxMultiplyNode (vx_graph graph, vx_image in1, vx_image in2, vx_scalar scale, vx_enum overflow_policy, vx_enum rounding_policy, vx_image out) |
[Graph] Creates an pixelwise-multiplication node. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuMultiply (vx_context context, vx_image in1, vx_image in2, vx_float32 scale, vx_enum overflow_policy, vx_enum rounding_policy, vx_image out) |
[Immediate] Performs elementwise multiplications on pixel values in the input images and a scale. | |
VX_API_ENTRY vx_node VX_API_CALL vxMultiplyNode | ( | vx_graph | graph, |
vx_image | in1, | ||
vx_image | in2, | ||
vx_scalar | scale, | ||
vx_enum | overflow_policy, | ||
vx_enum | rounding_policy, | ||
vx_image | out ) |
#include <vx_nodes.h>
[Graph] Creates an pixelwise-multiplication node.
[in] | graph | The reference to the graph. |
[in] | in1 | An input image, VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . |
[in] | in2 | An input image, VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . |
[in] | scale | A non-negative VX_TYPE_FLOAT32 multiplied to each product before overflow handling. |
[in] | overflow_policy | A VX_TYPE_ENUM of the vx_convert_policy_e enumeration. |
[in] | rounding_policy | A VX_TYPE_ENUM of the vx_round_policy_e enumeration. |
[out] | out | The output image, a VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 image. Must have the same type and dimensions of the imput images. |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
VX_API_ENTRY vx_status VX_API_CALL vxuMultiply | ( | vx_context | context, |
vx_image | in1, | ||
vx_image | in2, | ||
vx_float32 | scale, | ||
vx_enum | overflow_policy, | ||
vx_enum | rounding_policy, | ||
vx_image | out ) |
#include <vxu.h>
[Immediate] Performs elementwise multiplications on pixel values in the input images and a scale.
[in] | context | The reference to the overall context. |
[in] | in1 | A VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 input image. |
[in] | in2 | A VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 input image. |
[in] | scale | A non-negative VX_TYPE_FLOAT32 multiplied to each product before overflow handling. |
[in] | overflow_policy | A vx_convert_policy_e enumeration. |
[in] | rounding_policy | A vx_round_policy_e enumeration. |
[out] | out | The output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |