DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

ErrorDefs.h
Go to the documentation of this file.
1
2// This code contains NVIDIA Confidential Information and is disclosed
3// under the Mutual Non-Disclosure Agreement.
4//
5// Notice
6// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS"
7// NVIDIA MAKES NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY,
8// OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY
9// IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
10// PARTICULAR PURPOSE.
11//
12// NVIDIA Corporation assumes no responsibility for the consequences of use of
13// such information or for any infringement of patents or other rights of third
14// parties that may result from its use. No license is granted by implication or
15// otherwise under any patent or patent rights of NVIDIA Corporation. No third
16// party distribution is allowed unless expressly authorized by NVIDIA. Details
17// are subject to change without notice. This code supersedes and replaces all
18// information previously supplied. NVIDIA Corporation products are not
19// authorized for use as critical components in life support devices or systems
20// without express written approval of NVIDIA Corporation.
21//
22// Copyright (c) 2022-2023 NVIDIA Corporation. All rights reserved.
23//
24// NVIDIA Corporation and its licensors retain all intellectual property and
25// proprietary rights in and to this software and related documentation and any
26// modifications thereto. Any use, reproduction, disclosure or distribution of
27// this software and related documentation without an express license agreement
28// from NVIDIA Corporation is strictly prohibited.
29//
31#ifndef DW_CORE_BASE_ERRORDEFS_H_
32#define DW_CORE_BASE_ERRORDEFS_H_
33// Generated by dwProto from error_defs.proto DO NOT EDIT BY HAND!
34// See //3rdparty/shared/dwproto/README.md for more information
35
36#include <stdbool.h>
37#include <stdint.h>
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
44//# sergen(generate)
45typedef enum dwStatus {
90} dwStatus;
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif // DW_CORE_BASE_ERRORDEFS_H_
dwStatus
Status definition.
Definition: ErrorDefs.h:45
@ DW_FILE_NOT_FOUND
Requested file was not found.
Definition: ErrorDefs.h:61
@ DW_SAL_NO_DRIVER_FOUND
Requested sensor driver cannot be found.
Definition: ErrorDefs.h:72
@ DW_DNN_INVALID_TYPE
DNN model type is invalid.
Definition: ErrorDefs.h:80
@ DW_SAL_CANNOT_INITIALIZE
A sensor cannot be initialized, e.g., sensor might not be responding.
Definition: ErrorDefs.h:70
@ DW_NUM_ERROR_CODES
Total number of DW error codes.
Definition: ErrorDefs.h:89
@ DW_NOT_INITIALIZED
The object requires initialization first.
Definition: ErrorDefs.h:59
@ DW_LOG_CANNOT_WRITE
Logger is unable to write output.
Definition: ErrorDefs.h:68
@ DW_CUDA_CONTEXT_ERROR
The CUDA context is either not present or cannot be initialized.
Definition: ErrorDefs.h:85
@ DW_CUDA_ERROR
There was an error from the CUDA API.
Definition: ErrorDefs.h:75
@ DW_INTERNAL_ERROR
Internal error indicating a non recoverable situation.
Definition: ErrorDefs.h:60
@ DW_END_OF_STREAM
End of stream reached.
Definition: ErrorDefs.h:53
@ DW_BAD_CAST
Cannot cast given handle to an expected type.
Definition: ErrorDefs.h:51
@ DW_NOT_RELEASED
Given handle has not been released yet.
Definition: ErrorDefs.h:57
@ DW_NOT_SUPPORTED
Desired set of parameters or functionality is not suported.
Definition: ErrorDefs.h:58
@ DW_UNEXPECTED_IPC_EVENT
Unexpected/Invalid Event received for IPC.
Definition: ErrorDefs.h:83
@ DW_BUSY_WAITING
No response since too busy, not an error but please retry.
Definition: ErrorDefs.h:67
@ DW_NOT_IMPLEMENTED
Requested feature/method is not yet implemented.
Definition: ErrorDefs.h:52
@ DW_LOG_CANNOT_FLUSH
Logger is unable to flush output.
Definition: ErrorDefs.h:69
@ DW_BAD_ALIGNMENT
Incorrect alignment for a pointer.
Definition: ErrorDefs.h:50
@ DW_CANNOT_SYNCHRONIZE
The synchronization call has failed.
Definition: ErrorDefs.h:87
@ DW_TIME_OUT
The request has timed out.
Definition: ErrorDefs.h:66
@ DW_BUFFER_FULL
An internal buffer has reached its capacity.
Definition: ErrorDefs.h:64
@ DW_INVALID_VERSION
Invalid version between headers and runtime library.
Definition: ErrorDefs.h:47
@ DW_CUDA_DEVICE_ERROR
The CUDA device currently selected is either incompatible with the operation or has failed.
Definition: ErrorDefs.h:86
@ DW_INVALID_HANDLE
Given handle is invalid, i.e., not a valid handle.
Definition: ErrorDefs.h:54
@ DW_EMPTY_QUEUE
No more events/data available to process.
Definition: ErrorDefs.h:88
@ DW_NVMEDIA_ERROR
NvMedia API resulted in an error.
Definition: ErrorDefs.h:77
@ DW_DNN_INVALID_MODEL
Given network model is not valid.
Definition: ErrorDefs.h:78
@ DW_SAL_SENSOR_ERROR
Internal non-recoverable sensor error.
Definition: ErrorDefs.h:74
@ DW_BAD_ALLOC
Cannot allocate required memory.
Definition: ErrorDefs.h:49
@ DW_NOT_AVAILABLE
Requested method or object instance is not yet available.
Definition: ErrorDefs.h:56
@ DW_SUCCESS
No error.
Definition: ErrorDefs.h:46
@ DW_CANNOT_CREATE_OBJECT
Failed to create a DW Object.
Definition: ErrorDefs.h:63
@ DW_GL_ERROR
Last call to OpenGL API resulted in an error.
Definition: ErrorDefs.h:76
@ DW_HAL_CANNOT_OPEN_CHANNEL
HAL cannot open a channel.
Definition: ErrorDefs.h:81
@ DW_FILE_INVALID
File content is invalid.
Definition: ErrorDefs.h:62
@ DW_FAILURE
Unknown, non-recoverable error.
Definition: ErrorDefs.h:79
@ DW_SAL_CANNOT_CREATE_SENSOR
A sensor cannot be created, e.g. possible issues are wrong parameters.
Definition: ErrorDefs.h:71
@ DW_OUT_OF_BOUNDS
Out of bounds exception (e.g. in array access).
Definition: ErrorDefs.h:82
@ DW_NOT_READY
The processing is not finished or ready.
Definition: ErrorDefs.h:65
@ DW_UNEXPECTED_EVENT
Unexpected/Invalid Event received from a block.
Definition: ErrorDefs.h:84
@ DW_INVALID_ARGUMENT
One of the given arguments cannot be processed by the function.
Definition: ErrorDefs.h:48
@ DW_CALL_NOT_ALLOWED
The call to a method is not allowed at this state.
Definition: ErrorDefs.h:55
@ DW_SAL_SENSOR_UNSUPPORTED
Requested sensor is unsupported.
Definition: ErrorDefs.h:73