Function nvcvArrayIncRef

Function Documentation

NVCVStatus nvcvArrayIncRef(NVCVArrayHandle handle, int *newRefCount)

Increments the reference count of an array.

Parameters:
  • handle[in] Array to be retained.

  • newRefCount[out] The incremented reference count. Can be NULL, if the caller isn’t interested in the new reference count.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – The handle is invalid

  • NVCV_SUCCESS – Operation executed successfully.