The OpenVX Specification  a73e458
The vx_status Constants

Detailed Description

The enumeration of all status codes.

See also
vx_status.

Macros

#define VX_ERROR_GRAPH_ABANDONED   -22
 Indicates that the graph is stopped due to an error or a callback that abandoned execution.
 
#define VX_ERROR_GRAPH_SCHEDULED   -21
 Indicates that the supplied graph already has been scheduled and may be currently executing.
 
#define VX_ERROR_INVALID_DIMENSION   -15
 Indicates that the supplied parameter is too big or too small in dimension.
 
#define VX_ERROR_INVALID_FORMAT   -14
 Indicates that the supplied parameter is in an invalid format.
 
#define VX_ERROR_INVALID_GRAPH   -18
 Indicates that the supplied graph has invalid connections (cycles).
 
#define VX_ERROR_INVALID_LINK   -13
 Indicates that the link is not possible as specified. The parameters are incompatible.
 
#define VX_ERROR_INVALID_MODULE   -11
 This is returned from vxLoadKernels when the module does not contain the entry point.
 
#define VX_ERROR_INVALID_NODE   -19
 Indicates that the supplied node could not be created.
 
#define VX_ERROR_INVALID_PARAMETERS   -10
 Indicates that the supplied parameter information does not match the kernel contract.
 
#define VX_ERROR_INVALID_REFERENCE   -12
 Indicates that the reference provided is not valid.
 
#define VX_ERROR_INVALID_SCOPE   -20
 Indicates that the supplied parameter is from another scope and cannot be used in the current scope.
 
#define VX_ERROR_INVALID_TYPE   -17
 Indicates that the supplied type parameter is incorrect.
 
#define VX_ERROR_INVALID_VALUE   -16
 Indicates that the supplied parameter has an incorrect value.
 
#define VX_ERROR_MULTIPLE_WRITERS   -23
 Indicates that the graph has more than one node outputting to the same data object. This is an invalid graph structure.
 
#define VX_ERROR_NO_MEMORY   -8
 Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection, deconstruct the context. More...
 
#define VX_ERROR_NO_RESOURCES   -7
 Indicates that an internal or implicit resource can not be acquired (not memory). This is typically catastrophic. After detection, deconstruct the context. More...
 
#define VX_ERROR_NOT_ALLOCATED   -5
 Indicates to the system that the parameter must be allocated by the system.
 
#define VX_ERROR_NOT_COMPATIBLE   -6
 Indicates that the attempt to link two parameters together failed due to type incompatibilty.
 
#define VX_ERROR_NOT_IMPLEMENTED   -2
 Indicates that the requested kernel is missing. More...
 
#define VX_ERROR_NOT_SUFFICIENT   -4
 Indicates that the given graph has failed verification due to an insufficient number of required parameters, which cannot be automatically created. Typically this indicates required atomic parameters. More...
 
#define VX_ERROR_NOT_SUPPORTED   -3
 Indicates that the requested set of parameters produce a configuration that cannot be supported. Refer to the supplied documentation on the configured kernels. More...
 
#define VX_ERROR_OPTIMIZED_AWAY   -9
 Indicates that the object refered to has been optimized out of existence.
 
#define VX_ERROR_REFERENCE_NONZERO   -24
 Indicates that an operation did not complete due to a reference count being non-zero.
 
#define VX_FAILURE   -1
 Indicates a generic error code, used when no other describes the error.
 
#define VX_STATUS_MIN   -25
 Indicates the lower bound of status codes in VX. Used for bounds checks only.
 
#define VX_SUCCESS   0
 No error.
 

Macro Definition Documentation

◆ VX_ERROR_NO_MEMORY

#define VX_ERROR_NO_MEMORY   -8

Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection, deconstruct the context.

See also
vxVerifyGraph.

Definition at line 418 of file vx_types.h.

◆ VX_ERROR_NO_RESOURCES

#define VX_ERROR_NO_RESOURCES   -7

Indicates that an internal or implicit resource can not be acquired (not memory). This is typically catastrophic. After detection, deconstruct the context.

See also
vxVerifyGraph.

Definition at line 419 of file vx_types.h.

◆ VX_ERROR_NOT_SUFFICIENT

#define VX_ERROR_NOT_SUFFICIENT   -4

Indicates that the given graph has failed verification due to an insufficient number of required parameters, which cannot be automatically created. Typically this indicates required atomic parameters.

See also
vxVerifyGraph.

Definition at line 422 of file vx_types.h.

◆ VX_ERROR_NOT_SUPPORTED

#define VX_ERROR_NOT_SUPPORTED   -3

Indicates that the requested set of parameters produce a configuration that cannot be supported. Refer to the supplied documentation on the configured kernels.

See also
The list of available kernels. This is also returned if a function to set an attribute is called on a Read-only attribute.

Definition at line 423 of file vx_types.h.

◆ VX_ERROR_NOT_IMPLEMENTED

#define VX_ERROR_NOT_IMPLEMENTED   -2

Indicates that the requested kernel is missing.

See also
The list of available kernels vxGetKernelByName.

Definition at line 424 of file vx_types.h.