2D/SIPL/Multimedia and NvSciBuf Interaction#
This section describes 2D/SIPL/Multimedia and NvSciBuf interaction. The following steps show the typical flow to allocate and register an NvSciBuf object:
The application creates a
NvSciBufAttrList.The application queries 2D/SIPL/Multimedia to fill in the
NvSciBufAttrListby calling the relevant APIs(NvMedia2DFillNvSciBufAttrList/INvSIPLCamera::GetImageAttributes/NvMediaIEPFillNvSciBufAttrList/NvMediaIJPDFillNvSciBufAttrList/NvMediaIJPEFillNvSciBufAttrList/NvMediaIOFAFillNvSciBufAttrList/NvMediaIDEFillNvSciBufAttrList/and so on) on theNvSciBufAttrList.The application may choose to set any of the public
NvSciBufattributes, which are not set by those APIs.If the same NvSciBuf object is shared with other UMDs, then the application can get the corresponding
NvSciBufAttrListfrom the respective UMD.The application asks
NvSciBufto reconcile all the filledNvSciBufAttrListsand then allocates anNvSciBufobject.The allocated
NvSciBufObjis then registered with 2D/SIPL/Multimedia