NVIDIA DRIVE OS Linux API Reference

5.1.6.1 Release
For Test and Development only

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvSciBuf Initialization APIs

Detailed Description

List of APIs to initialize/de-initialize NvSciBuf module.

Functions

NvSciError NvSciBufModuleOpen (NvSciBufModule *newModule)
 Initializes an instance of the NvSciBuf module within the calling process and provides an NvSciBufModule representing the instance. More...
 
void NvSciBufModuleClose (NvSciBufModule module)
 Releases an instance of the NvSciBuf module obtained through an earlier call to NvSciBufModuleOpen(). More...
 

Function Documentation

void NvSciBufModuleClose ( NvSciBufModule  module)

Releases an instance of the NvSciBuf module obtained through an earlier call to NvSciBufModuleOpen().

Once an NvSciBufModule is closed and all NvSciBufAttrLists and NvSciBufObjs bound to that module instance are freed, the NvSciBuf module instance will be de-initialized in the calling process.

Parameters
[in]moduleThe NvSciBufModule instance to close. The calling process must not pass this module to another NvSciBuf API call.
Returns
void
NvSciError NvSciBufModuleOpen ( NvSciBufModule newModule)

Initializes an instance of the NvSciBuf module within the calling process and provides an NvSciBufModule representing the instance.

Note
A process may call this function multiple times. Each successful invocation will yield a new NvSciBuf module instance.
Parameters
[in]newModuleThe new NvSciBuf module instance.
Returns
NvSciError, the completion code of this operation: