NVIDIA DRIVE OS Linux SDK API Reference

5.1.9.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_tensor_nvscibuf.h File Reference

Detailed Description

NvMedia Interfaces for Tensor for NvSciBuf

Description: This file contains APIs for allocation of NvMediaTensor using NvSciBuf.

Definition in file nvmedia_tensor_nvscibuf.h.

Go to the source code of this file.

Macros

#define NVMEDIA_TENSOR_NVSCIBUF_VERSION_MAJOR   (1u)
 Major version number. More...
 
#define NVMEDIA_TENSOR_NVSCIBUF_VERSION_MINOR   (0u)
 Minor version number. More...
 

Functions

NvMediaStatus NvMediaTensorNvSciBufInit (void)
 Initializes the NvMediaTensor NvSciBuf APIs. More...
 
void NvMediaTensorNvSciBufDeinit (void)
 De-initializes the NvMediaTensor NvSciBuf APIs. More...
 
NvMediaStatus NvMediaTensorFillNvSciBufAttrs (NvMediaDevice *device, NvMediaTensorAttr *attrs, uint32_t numAttrs, uint32_t flags, NvSciBufAttrList attr_h)
 Fills the NvSciBuf attributes used to allocate a tensor. More...
 
NvMediaStatus NvMediaTensorCreateFromNvSciBuf (NvMediaDevice *device, NvSciBufObj nvSciBufObj, NvMediaTensor **nvmTensor)
 Creates NvMediaTensor from an NvSciBuf handle. More...
 
NvMediaStatus NvMediaTensorNvSciBufGetVersion (NvMediaVersion *version)
 Returns version information for the NvMediaTensor NvSciBuf API. More...