NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
ErrorDefs.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 #ifndef DW_CORE_BASE_ERRORDEFS_H_
13 #define DW_CORE_BASE_ERRORDEFS_H_
14 // Generated by dwProto from error_defs.proto DO NOT EDIT BY HAND!
15 // See //3rdparty/shared/dwproto/README.md for more information
16 
17 #include <stdbool.h>
18 #include <stdint.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
25 // coverity[misra_c_2012_rule_2_4_violation] Deviation Record: AV-NDAS-DWPROTO-SWSADR-006
26 // coverity[misra_c_2012_rule_2_3_violation] Deviation Record: AV-NDAS-DWPROTO-SWSADR-006
27 typedef enum dwStatus {
28  DW_SUCCESS = 0,
47  DW_NOT_READY = 19,
48  DW_TIME_OUT = 20,
58  DW_GL_ERROR = 30,
61  DW_FAILURE = 33,
72 } dwStatus;
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif // DW_CORE_BASE_ERRORDEFS_H_
DW_CUDA_ERROR
@ DW_CUDA_ERROR
There was an error from the CUDA API.
Definition: ErrorDefs.h:57
DW_BUSY_WAITING
@ DW_BUSY_WAITING
No response since too busy, not an error but please retry.
Definition: ErrorDefs.h:49
DW_SAL_CANNOT_INITIALIZE
@ DW_SAL_CANNOT_INITIALIZE
A sensor cannot be initialized, e.g., sensor might not be responding.
Definition: ErrorDefs.h:52
DW_OUT_OF_BOUNDS
@ DW_OUT_OF_BOUNDS
Out of bounds exception (e.g.
Definition: ErrorDefs.h:64
DW_INVALID_VERSION
@ DW_INVALID_VERSION
Invalid version between headers and runtime library.
Definition: ErrorDefs.h:29
DW_NUM_ERROR_CODES
@ DW_NUM_ERROR_CODES
Total number of DW error codes.
Definition: ErrorDefs.h:71
DW_UNEXPECTED_IPC_EVENT
@ DW_UNEXPECTED_IPC_EVENT
Unexpected/Invalid Event received for IPC.
Definition: ErrorDefs.h:65
DW_NOT_SUPPORTED
@ DW_NOT_SUPPORTED
Desired set of parameters or functionality is not suported.
Definition: ErrorDefs.h:40
DW_SAL_SENSOR_ERROR
@ DW_SAL_SENSOR_ERROR
Internal non-recoverable sensor error.
Definition: ErrorDefs.h:56
DW_SAL_CANNOT_CREATE_SENSOR
@ DW_SAL_CANNOT_CREATE_SENSOR
A sensor cannot be created, e.g.
Definition: ErrorDefs.h:53
DW_INTERNAL_ERROR
@ DW_INTERNAL_ERROR
Internal error indicating a non recoverable situation.
Definition: ErrorDefs.h:42
DW_GL_ERROR
@ DW_GL_ERROR
Last call to OpenGL API resulted in an error.
Definition: ErrorDefs.h:58
DW_FILE_INVALID
@ DW_FILE_INVALID
File content is invalid.
Definition: ErrorDefs.h:44
DW_BUFFER_FULL
@ DW_BUFFER_FULL
An internal buffer has reached its capacity.
Definition: ErrorDefs.h:46
DW_NOT_RELEASED
@ DW_NOT_RELEASED
Given handle has not been released yet.
Definition: ErrorDefs.h:39
DW_BAD_CAST
@ DW_BAD_CAST
Cannot cast given handle to an expected type.
Definition: ErrorDefs.h:33
DW_BAD_ALLOC
@ DW_BAD_ALLOC
Cannot allocate required memory.
Definition: ErrorDefs.h:31
DW_DNN_INVALID_MODEL
@ DW_DNN_INVALID_MODEL
Given network model is not valid.
Definition: ErrorDefs.h:60
DW_FILE_NOT_FOUND
@ DW_FILE_NOT_FOUND
Requested file was not found.
Definition: ErrorDefs.h:43
DW_DNN_INVALID_TYPE
@ DW_DNN_INVALID_TYPE
DNN model type is invalid.
Definition: ErrorDefs.h:62
DW_CUDA_DEVICE_ERROR
@ DW_CUDA_DEVICE_ERROR
The CUDA device currently selected is either incompatible with the operation or has failed.
Definition: ErrorDefs.h:68
DW_FAILURE
@ DW_FAILURE
Unknown, non-recoverable error.
Definition: ErrorDefs.h:61
DW_UNEXPECTED_EVENT
@ DW_UNEXPECTED_EVENT
Unexpected/Invalid Event received from a block.
Definition: ErrorDefs.h:66
DW_CUDA_CONTEXT_ERROR
@ DW_CUDA_CONTEXT_ERROR
The CUDA context is either not present or cannot be initialized.
Definition: ErrorDefs.h:67
DW_TIME_OUT
@ DW_TIME_OUT
The request has timed out.
Definition: ErrorDefs.h:48
DW_CANNOT_SYNCHRONIZE
@ DW_CANNOT_SYNCHRONIZE
The synchronization call has failed.
Definition: ErrorDefs.h:69
DW_NVMEDIA_ERROR
@ DW_NVMEDIA_ERROR
NvMedia API resulted in an error.
Definition: ErrorDefs.h:59
DW_SAL_SENSOR_UNSUPPORTED
@ DW_SAL_SENSOR_UNSUPPORTED
Requested sensor is unsupported.
Definition: ErrorDefs.h:55
DW_END_OF_STREAM
@ DW_END_OF_STREAM
End of stream reached.
Definition: ErrorDefs.h:35
DW_SAL_NO_DRIVER_FOUND
@ DW_SAL_NO_DRIVER_FOUND
Requested sensor driver cannot be found.
Definition: ErrorDefs.h:54
DW_INVALID_ARGUMENT
@ DW_INVALID_ARGUMENT
One of the given arguments cannot be processed by the function.
Definition: ErrorDefs.h:30
DW_NOT_INITIALIZED
@ DW_NOT_INITIALIZED
The object requires initialization first.
Definition: ErrorDefs.h:41
DW_SUCCESS
@ DW_SUCCESS
No error.
Definition: ErrorDefs.h:28
DW_NOT_READY
@ DW_NOT_READY
The processing is not finished or ready.
Definition: ErrorDefs.h:47
DW_EMPTY_QUEUE
@ DW_EMPTY_QUEUE
No more events/data available to process.
Definition: ErrorDefs.h:70
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
DW_BAD_ALIGNMENT
@ DW_BAD_ALIGNMENT
Incorrect alignment for a pointer.
Definition: ErrorDefs.h:32
DW_INVALID_HANDLE
@ DW_INVALID_HANDLE
Given handle is invalid, i.e., not a valid handle.
Definition: ErrorDefs.h:36
DW_CANNOT_CREATE_OBJECT
@ DW_CANNOT_CREATE_OBJECT
Failed to create a DW Object.
Definition: ErrorDefs.h:45
DW_NOT_AVAILABLE
@ DW_NOT_AVAILABLE
Requested method or object instance is not yet available.
Definition: ErrorDefs.h:38
DW_CALL_NOT_ALLOWED
@ DW_CALL_NOT_ALLOWED
The call to a method is not allowed at this state.
Definition: ErrorDefs.h:37
DW_LOG_CANNOT_WRITE
@ DW_LOG_CANNOT_WRITE
Logger is unable to write output.
Definition: ErrorDefs.h:50
DW_LOG_CANNOT_FLUSH
@ DW_LOG_CANNOT_FLUSH
Logger is unable to flush output.
Definition: ErrorDefs.h:51
DW_NOT_IMPLEMENTED
@ DW_NOT_IMPLEMENTED
Requested feature/method is not yet implemented.
Definition: ErrorDefs.h:34
DW_HAL_CANNOT_OPEN_CHANNEL
@ DW_HAL_CANNOT_OPEN_CHANNEL
HAL cannot open a channel.
Definition: ErrorDefs.h:63