NvMedia2D-NvSciSync#

Query NvSciSyncObj attributes (for waiting or signaling) from NvMedia 2D#

Use NvMedia2DFillNvSciSyncAttrList API to query the NvSciSync attributes from NvMedia 2D. NvSciSync objects allocated with such NvSciSyncAttrLists are only accepted by NvMedia 2D.

NvSciSync object registration/unregistration with NvMedia 2D#

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

During tear down, use NvMedia2DUnregisterNvSciSyncObj API to unregister the registered NvSciSyncObjs with NvMedia 2D.

Set NvSciSyncObj for end of frame (EOF) event usage with NvMedia 2D#

Use NvMedia2DSetNvSciSyncObjforEOF API to tell NvMedia 2D which NvSciSyncObj to use to signal the EOF event of the NvMedia2DCompose operation.

Set NvSciSyncFence as a pre-fence with NvMedia 2D#

Use NvMedia2DInsertPreNvSciSyncFence API to tell NvMedia 2D to wait on a NvSciSyncFence before actually starting the hardware engine to work on the task submitted by NvMedia2DCompose API.

Get the EOF NvSciSyncFence with NvMedia 2D#

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