|
| PACK_BUF (typedef struct { NvSciBufHwEngName engName;NvSciBufPlatformName platName;}) NvSciBufPeerHwEngine |
| Datatype specifying hardware engines which will access NvSciBufObj by late attaching peer(s). More...
|
|
| PACK_BUF (typedef struct { uint64_t data[NVSCIBUF_EXPORT_DESC_SIZE];}) NvSciBufObjIpcExportDescriptor |
| Defines the exported form of NvSciBufObj intended to be shared across an NvSciIpc channel. More...
|
|
| PACK_BUF (typedef struct { uint32_t socID;uint32_t vmID;uint64_t reserved;}) NvSciBufPeerLocationInfo |
| Defines Peer location info structure. More...
|
|
NvSciError | NvSciBufAttrListCreate (NvSciBufModule module, NvSciBufAttrList *newAttrList) |
| Creates a new, single slot, unreconciled NvSciBufAttrList associated with the input NvSciBufModule with empty NvSciBufAttrKeys. More...
|
|
void | NvSciBufAttrListFree (NvSciBufAttrList attrList) |
| Frees the NvSciBufAttrList and removes its association with the NvSciBufModule with which it was created. More...
|
|
NvSciError | NvSciBufAttrListSetAttrs (NvSciBufAttrList attrList, NvSciBufAttrKeyValuePair *pairArray, size_t pairCount) |
| Sets the values for NvSciBufAttrKey(s) in the NvSciBufAttrList. More...
|
|
size_t | NvSciBufAttrListGetSlotCount (NvSciBufAttrList attrList) |
| Returns the slot count per NvSciBufAttrKey in a NvSciBufAttrList. More...
|
|
NvSciError | NvSciBufAttrListGetAttrs (NvSciBufAttrList attrList, NvSciBufAttrKeyValuePair *pairArray, size_t pairCount) |
| Returns an array of NvSciBufAttrKeyValuePair for a given set of NvSciBufAttrKey(s). More...
|
|
NvSciError | NvSciBufAttrListSlotGetAttrs (NvSciBufAttrList attrList, size_t slotIndex, NvSciBufAttrKeyValuePair *pairArray, size_t pairCount) |
| Returns an array of NvSciBufAttrKeyValuePair(s) from input NvSciBufAttrList at the given slot index. More...
|
|
NvSciError | NvSciBufAttrListReconcile (const NvSciBufAttrList inputArray[], size_t inputCount, NvSciBufAttrList *newReconciledAttrList, NvSciBufAttrList *newConflictList) |
| Reconciles the given unreconciled NvSciBufAttrList(s) into a new reconciled NvSciBufAttrList. More...
|
|
NvSciError | NvSciBufAttrListClone (NvSciBufAttrList origAttrList, NvSciBufAttrList *newAttrList) |
| Clones an unreconciled/reconciled NvSciBufAttrList. More...
|
|
NvSciError | NvSciBufAttrListAppendUnreconciled (const NvSciBufAttrList inputUnreconciledAttrListArray[], size_t inputUnreconciledAttrListCount, NvSciBufAttrList *newUnreconciledAttrList) |
| Appends multiple unreconciled NvSciBufAttrList(s) together, forming a single new unreconciled NvSciBufAttrList with a slot count equal to the sum of all the slot counts of NvSciBufAttrList(s) in the input array and containing the contents of all the NvSciBufAttrList(s) in the input array. More...
|
|
NvSciError | NvSciBufAttrListIsReconciled (NvSciBufAttrList attrList, bool *isReconciled) |
| Checks if the NvSciBufAttrList is reconciled. More...
|
|
NvSciError | NvSciBufAttrListValidateReconciled (NvSciBufAttrList reconciledAttrList, const NvSciBufAttrList unreconciledAttrListArray[], size_t unreconciledAttrListCount, bool *isReconcileListValid) |
| Validates a reconciled NvSciBufAttrList against a set of unreconciled NvSciBufAttrList(s). More...
|
|
NvSciError | NvSciBufObjDup (NvSciBufObj bufObj, NvSciBufObj *dupObj) |
| Creates a new NvSciBufObj holding reference to the same Memory object to which input NvSciBufObj holds the reference. More...
|
|
NvSciError | NvSciBufAttrListReconcileAndObjAlloc (const NvSciBufAttrList attrListArray[], size_t attrListCount, NvSciBufObj *bufObj, NvSciBufAttrList *newConflictList) |
| Reconciles the input unreconciled NvSciBufAttrList(s) into a new reconciled NvSciBufAttrList and allocates NvSciBufObj that meets all the constraints in the reconciled NvSciBufAttrList. More...
|
|
void | NvSciBufObjFree (NvSciBufObj bufObj) |
| Removes reference to the Memory object by destroying the NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjGetAttrList (NvSciBufObj bufObj, NvSciBufAttrList *bufAttrList) |
| Retrieves the reconciled NvSciBufAttrList whose attributes define the constraints of the allocated buffer from the NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjGetCpuPtr (NvSciBufObj bufObj, void **ptr) |
| Gets the CPU virtual address (VA) of the read/write buffer referenced by the NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjGetConstCpuPtr (NvSciBufObj bufObj, const void **ptr) |
| Gets the CPU virtual address (VA) of the read-only buffer referenced by the NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjFlushCpuCacheRange (NvSciBufObj bufObj, uint64_t offset, uint64_t len) |
| Flushes the given len bytes at starting offset in the buffer referenced by the NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjAlloc (NvSciBufAttrList reconciledAttrList, NvSciBufObj *bufObj) |
| Allocates a buffer that satisfies all the constraints defined by the attributes of the specified reconciled NvSciBufAttrList, and outputs a new NvSciBufObj referencing the Memory object containing the allocated buffer properties. More...
|
|
NvSciError | NvSciBufObjDupWithReducePerm (NvSciBufObj bufObj, NvSciBufAttrValAccessPerm reducedPerm, NvSciBufObj *newBufObj) |
| Creates a new memory object containing a buffer handle representing the new NvSciBufAttrValAccessPerm to the same buffer for the buffer handle contained in the input memory object referenced by the input NvSciBufObj and creates a new NvSciBufObj referencing it provided NvSciBufAttrValAccessPerm are less than permissions represented by buffer handle in the memory object referenced by input NvSciBufObj. More...
|
|
NvSciError | NvSciBufObjGetPixels (NvSciBufObj bufObj, const NvSciBufRect *rect, void **dstPtrs, const uint32_t *dstPtrSizes, const uint32_t *dstPitches) |
| Gets pixels from the buffer represented by memory object pointed to by bufObj provided NvSciBufGeneralAttrKey_Types is set to NvSciBufType_Image and CPU access to the buffer is requested via NvSciBufGeneralAttrKey_NeedCpuAccess in the unreconciled NvSciBufAttrList(s) used for bufObj allocation by the peer intending to call this API. More...
|
|
NvSciError | NvSciBufObjPutPixels (NvSciBufObj bufObj, const NvSciBufRect *rect, const void **srcPtrs, const uint32_t *srcPtrSizes, const uint32_t *srcPitches) |
| Writes pixels to the buffer represented by memory object pointed to by bufObj provided NvSciBufGeneralAttrKey_Types is set to NvSciBufType_Image, NvSciBufAccessPerm_ReadWrite permissions are requested for the bufObj via NvSciBufGeneralAttrKey_RequiredPerm and CPU access to the buffer is requested via NvSciBufGeneralAttrKey_NeedCpuAccess in the unreconciled NvSciBufAttrList(s) used for bufObj allocation by the peer intending to call this API. More...
|
|
NvSciError | NvSciBufIpcExportAttrListAndObj (NvSciBufObj bufObj, NvSciBufAttrValAccessPerm permissions, NvSciIpcEndpoint ipcEndpoint, void **attrListAndObjDesc, size_t *attrListAndObjDescSize) |
| Exports NvSciBufAttrList and NvSciBufObj into an NvSciIpc-transferable object export descriptor. More...
|
|
NvSciError | NvSciBufIpcImportAttrListAndObj (NvSciBufModule module, NvSciIpcEndpoint ipcEndpoint, const void *attrListAndObjDesc, size_t attrListAndObjDescSize, const NvSciBufAttrList attrList[], size_t count, NvSciBufAttrValAccessPerm minPermissions, int64_t timeoutUs, NvSciBufObj *bufObj) |
| This API is invoked by the importing process after it receives the object export descriptor sent by the other process who has created descriptor. More...
|
|
void | NvSciBufAttrListAndObjFreeDesc (void *attrListAndObjDescBuf) |
| Frees the descriptor used for exporting both NvSciBufAttrList and NvSciBufObj together. More...
|
|
NvSciError | NvSciBufObjIpcExport (NvSciBufObj bufObj, NvSciBufAttrValAccessPerm accPerm, NvSciIpcEndpoint ipcEndpoint, NvSciBufObjIpcExportDescriptor *exportData) |
| Exports the NvSciBufObj into an NvSciIpc-transferable object export descriptor. More...
|
|
NvSciError | NvSciBufObjIpcImport (NvSciIpcEndpoint ipcEndpoint, const NvSciBufObjIpcExportDescriptor *desc, NvSciBufAttrList reconciledAttrList, NvSciBufAttrValAccessPerm minPermissions, int64_t timeoutUs, NvSciBufObj *bufObj) |
| Creates the NvSciBufObj based on supplied object export descriptor and returns the NvSciBufObj bound to the reconciled NvSciBufAttrList. More...
|
|
NvSciError | NvSciBufObjAttachPeer (NvSciBufObj bufObj, const NvSciBufAttrList inputArray[], size_t inputCount) |
| Allows remote peer NvSciIpcEndpoint to gain access to already allocated NvSciBufObj. More...
|
|
NvSciError | NvSciBufAttrListIpcExportUnreconciled (const NvSciBufAttrList unreconciledAttrListArray[], size_t unreconciledAttrListCount, NvSciIpcEndpoint ipcEndpoint, void **descBuf, size_t *descLen) |
| Transforms the input unreconciled NvSciBufAttrList(s) to an exportable unreconciled NvSciBufAttrList descriptor that can be transported by the application to any remote process as a serialized set of bytes over an NvSciIpc channel. More...
|
|
NvSciError | NvSciBufAttrListIpcExportReconciled (NvSciBufAttrList reconciledAttrList, NvSciIpcEndpoint ipcEndpoint, void **descBuf, size_t *descLen) |
| Transforms the reconciled NvSciBufAttrList to an exportable reconciled NvSciBufAttrList descriptor that can be transported by the application to any remote process as a serialized set of bytes over an NvSciIpc channel. More...
|
|
NvSciError | NvSciBufAttrListIpcImportUnreconciled (NvSciBufModule module, NvSciIpcEndpoint ipcEndpoint, const void *descBuf, size_t descLen, NvSciBufAttrList *importedUnreconciledAttrList) |
| Translates an exported unreconciled NvSciBufAttrList descriptor (potentially received from any process) into an unreconciled NvSciBufAttrList. More...
|
|
NvSciError | NvSciBufAttrListIpcImportReconciled (NvSciBufModule module, NvSciIpcEndpoint ipcEndpoint, const void *descBuf, size_t descLen, const NvSciBufAttrList inputUnreconciledAttrListArray[], size_t inputUnreconciledAttrListCount, NvSciBufAttrList *importedReconciledAttrList) |
| Translates an exported reconciled NvSciBufAttrList descriptor (potentially received from any process) into a reconciled NvSciBufAttrList. More...
|
|
void | NvSciBufAttrListFreeDesc (void *descBuf) |
| Frees the NvSciBuf exported NvSciBufAttrList descriptor. More...
|
|
NvSciError | NvSciBufModuleOpen (NvSciBufModule *newModule) |
| Initializes and returns a new NvSciBufModule with no NvSciBufAttrLists, buffers, or NvSciBufObjs bound to it. More...
|
|
void | NvSciBufModuleClose (NvSciBufModule module) |
| Releases the NvSciBufModule obtained through an earlier call to NvSciBufModuleOpen(). More...
|
|
NvSciError | NvSciBufCheckVersionCompatibility (uint32_t majorVer, uint32_t minorVer, bool *isCompatible) |
| Checks if loaded NvSciBuf library version is compatible with NvSciBuf library version with which elements dependent on NvSciBuf were built. More...
|
|
NvSciError | NvSciBufObjValidate (NvSciBufObj bufObj) |
| Validates the NvSciBufObj satisfies the constraints of the NvSciBufAttrList that it is associated with. More...
|
|
NvSciError | NvSciBufAttrListValidateReconciledAgainstAttrs (const NvSciBufAttrList reconciledAttrList, const NvSciBufAttrKeyValuePair *pairArray, const size_t pairCount) |
| Validate the reconciled NvSciBufAttrList against the set of all attributes that the user has set in the unreconciled NvSciBufAttrList(s). More...
|
|
NvSciError | NvSciBufObjGetMaxPerm (const NvSciBufObj bufObj, const NvSciIpcEndpoint ipcEndpoint, NvSciBufAttrValAccessPerm *accPerm) |
| Retrieve the NvSciBufAttrValAccessPerm of an NvSciBufObj for given NvSciIpcEndpoint. More...
|
|