Function nvcvImageBatchGetAllocator

Function Documentation

NVCVStatus nvcvImageBatchGetAllocator(NVCVImageBatchHandle handle, NVCVAllocatorHandle *alloc)

Get the allocator associated with an image batch.

This function creates a new reference to the allocator handle. The caller is responsible for freeing it by calling nvcvAllocatorDecRef.

Parameters:
  • handle[in] Image batch to be queried.

    • Must not be NULL.

  • alloc[out] Where the allocator handle will be written to.

    • Must not be NULL.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.

  • NVCV_SUCCESS – Operation executed successfully.