56 #ifndef NV_VPI_STATUS_H
57 #define NV_VPI_STATUS_H
103 #define VPI_MAX_STATUS_MESSAGE_LENGTH 256
VPIStatus vpiGetLastStatus()
Returns and resets the status of the last VPI function call in current thread.
VPIStatus vpiPeekAtLastStatusMessage(char *msgBuffer, int32_t lenBuffer)
Returns and status code and message of the last VPI function call in current thread.
const char * vpiStatusGetName(VPIStatus code)
Returns a string representation of the status code.
VPIStatus vpiPeekAtLastStatus()
Returns the status of the last VPI function call in current thread.
VPIStatus vpiGetLastStatusMessage(char *msgBuffer, int32_t lenBuffer)
Returns and resets the status code and message of the last VPI function call in current thread.
@ VPI_SUCCESS
Operation completed successfully.
@ VPI_ERROR_INTERNAL
Internal, non specific error.
@ VPI_ERROR_BUFFER_LOCKED
Invalid operation on a locked buffer.
@ VPI_ERROR_INVALID_CONTEXT
Context is invalid or is already destroyed.
@ VPI_ERROR_NOT_READY
Operation not completed yet, try again later.
@ VPI_ERROR_INVALID_ARRAY_TYPE
Array type not accepted.
@ VPI_ERROR_OUT_OF_MEMORY
Not enough free memory to allocate object.
@ VPI_ERROR_DEVICE
Device backend error.
@ VPI_ERROR_INVALID_PAYLOAD_TYPE
Payload not created for this algorithm.
@ VPI_ERROR_INVALID_ARGUMENT
Invalid argument, either wrong range or value not accepted.
@ VPI_ERROR_NOT_IMPLEMENTED
Operation isn't implemented.
@ VPI_ERROR_INVALID_IMAGE_FORMAT
Image type not accepted.
@ VPI_ERROR_INVALID_OPERATION
Operation isn't valid in this context.