Function nvcvImageIncRef

Function Documentation

NVCVStatus nvcvImageIncRef(NVCVImageHandle handle, int *newRefCount)

Increments the reference count of an image.

Parameters:
  • handle[in] Image 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.