NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
nvmedia_2d_nvscisync.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. All
3  * information contained herein is proprietary and confidential to NVIDIA
4  * Corporation. Any use, reproduction, or disclosure without the written
5  * permission of NVIDIA Corporation is prohibited.
6  */
7 
16 #ifndef NVMEDIA_2D_NVSCISYNC_H
17 #define NVMEDIA_2D_NVSCISYNC_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #include "nvmedia_core.h"
24 #include "nvscisync.h"
25 #include "nvmedia_2d.h"
26 
38 #define NVMEDIA_2D_NVSCISYNC_VERSION_MAJOR 1
39 
40 #define NVMEDIA_2D_NVSCISYNC_VERSION_MINOR 0
41 
47 #define NVMEDIA_2D_MAX_PRENVSCISYNCFENCES (3u)
48 
58  NvMediaVersion *version
59 );
60 
83  const NvMedia2D *i2d,
84  NvSciSyncAttrList attrlist,
86 );
87 
88 
119  const NvMedia2D *i2d,
120  NvMediaNvSciSyncObjType syncobjtype,
121  NvSciSyncObj nvscisync
122 );
123 
146  const NvMedia2D *i2d,
147  NvSciSyncObj nvscisync
148 );
149 
171  const NvMedia2D *i2d,
172  NvSciSyncObj nvscisyncEOF
173 );
174 
214  const NvMedia2D *i2d,
215  const NvSciSyncFence *prenvscisyncfence
216 );
217 
254  const NvMedia2D *i2d,
255  NvSciSyncObj eofnvscisyncobj,
256  NvSciSyncFence *eofnvscisyncfence
257 );
258 
259 /*
260  * \defgroup history_nvmedia_2d_nvscisync History
261  * Provides change history for the NvMedia 2D NvSciSync API
262  *
263  * \section history_nvmedia_2d_nvscisync Version History
264  *
265  * <b> Version 1.0 </b> March 6, 2019
266  * - Initial release
267  *
268  */
271 #ifdef __cplusplus
272 }; /* extern "C" */
273 #endif
274 
275 #endif /* NVMEDIA_2D_NVSCISYNC_H */
NvMediaNvSciSyncObjType
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:271
nvmedia_2d.h
NVIDIA Media Interface: 2D Processing Control
NvMedia2DInsertPreNvSciSyncFence
NvMediaStatus NvMedia2DInsertPreNvSciSyncFence(const NvMedia2D *i2d, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMedia2DBlitEx() operation.
NvSciSyncAttrList
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Definition: nvscisync.h:308
nvscisync.h
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaVersion
Holds NvMedia version information.
Definition: nvmedia_core.h:237
NvMedia2DGetEOFNvSciSyncFence
NvMediaStatus NvMedia2DGetEOFNvSciSyncFence(const NvMedia2D *i2d, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets an EOF NvSciSyncFence for an NvMedia2DBlitEx() operation.
nvmedia_core.h
NVIDIA Media Interface: Core
NvMedia2DFillNvSciSyncAttrList
NvMediaStatus NvMedia2DFillNvSciSyncAttrList(const NvMedia2D *i2d, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMedia2D specific NvSciSync attributes.
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:180
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:234
NvMedia2D
struct NvMedia2D NvMedia2D
An opaque handle representing an NvMedia2D object.
Definition: nvmedia_2d.h:227
NvMedia2DUnregisterNvSciSyncObj
NvMediaStatus NvMedia2DUnregisterNvSciSyncObj(const NvMedia2D *i2d, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMedia2D.
NvMedia2DNvSciSyncGetVersion
NvMediaStatus NvMedia2DNvSciSyncGetVersion(NvMediaVersion *version)
Returns the version information for the NvMedia 2D NvSciSync library.
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:289
NvMedia2DSetNvSciSyncObjforEOF
NvMediaStatus NvMedia2DSetNvSciSyncObjforEOF(const NvMedia2D *i2d, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for a EOF NvSciSyncFence.
NvMedia2DRegisterNvSciSyncObj
NvMediaStatus NvMedia2DRegisterNvSciSyncObj(const NvMedia2D *i2d, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Register an NvSciSyncObj with NvMedia2D.
NvMediaNvSciSyncClientType
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
Definition: nvmedia_core.h:258