NvMedia2D-NvSciSync

  • Query NvSciSyncObj attributes (for waiting or signaling) from NvMedia2D

    Use NvMedia2DFillNvSciSyncAttrList API to query the NvSciSync attributes from NvMedia2D. NvSciSync objects allocated with such NvSciSyncAttrLists are only accepted by NvMedia2D-NvSciSync APIs.

  • NvSciSync object registration/unregistration with NvMedia2D.

    Use NvMedia2DRegisterNvSciSyncObj API to register the NvSciSync objects with NvMedia2D. Every NvSciSyncObj used by NvMedia2D must be registered upfront with NvMedia2D.

    During tear down, use NvMedia2DUnRegisterNvSciSyncObj API to unregister the registered NvSciSyncObjs with NvMedia2D.

  • Set NvSciSyncObj for end of frame (EOF) event usage with NvMedia2D.
  • Use NvMedia2DSetNvSciSyncObjforEOF API to tell NvMedia2D which NvSciSyncObj to use to signal the EOF event of the NvMedia2DBlitEx operation. A NvSciSyncObj must be set before calling NvMedia2DBlitEx API.

  • Wait for an NvSciSyncFence.
  • Get an NvSciSyncFence.

    Use NvMedia2DGetEOFNvSciSyncFence API to get an NvSciSyncFence whose expiry indicates that the last submitted NvMedia2DBlitEx task has completed. NvMedia2DGetEOFNvSciSyncFence API can be called only after an NvMedia2DBlitEx API call.

Use NvMedia2DInsertPreNvSciSyncFence API to tell NvMedia2D to wait on a NvSciSyncFence before actually starting the VIC engine to work on the task submitted by NvMedia2DBlitEx API.