NVIDIA DRIVE OS Linux API Reference

5.1.6.1 Release
For Test and Development only

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_2d_nvscisync.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019, 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 (3)
48 
58  NvMediaVersion *version
59 );
60 
84  NvMedia2D *i2d,
85  NvSciSyncAttrList attrlist,
87 );
88 
89 
120  NvMedia2D *i2d,
121  NvMediaNvSciSyncObjType syncobjtype,
122  NvSciSyncObj nvscisync
123 );
124 
147  NvMedia2D *i2d,
148  NvSciSyncObj nvscisync
149 );
150 
172  NvMedia2D *i2d,
173  NvSciSyncObj nvscisyncEOF
174 );
175 
214  NvMedia2D *i2d,
215  const NvSciSyncFence *prenvscisyncfence
216 );
217 
253  NvMedia2D *i2d,
254  NvSciSyncObj eofnvscisyncobj,
255  NvSciSyncFence *eofnvscisyncfence
256 );
257 
258 /*
259  * \defgroup history_nvmedia_2d_nvscisync History
260  * Provides change history for the NvMedia 2D NvSciSync API
261  *
262  * \section history_nvmedia_2d_nvscisync Version History
263  *
264  * <b> Version 1.0 </b> March 6, 2019
265  * - Initial release
266  *
267  */
270 #ifdef __cplusplus
271 }; /* extern "C" */
272 #endif
273 
274 #endif /* NVMEDIA_2D_NVSCISYNC_H */
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:260
NvMediaStatus NvMedia2DRegisterNvSciSyncObj(NvMedia2D *i2d, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Register an NvSciSyncObj with NvMedia2D.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
Definition: nvscisync.h:183
NVIDIA Media Interface: 2D Processing Control
NvMediaStatus NvMedia2DNvSciSyncGetVersion(NvMediaVersion *version)
Returns the version information for the NvMedia 2D NvSciSync library.
NvMediaStatus NvMedia2DFillNvSciSyncAttrList(NvMedia2D *i2d, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMedia2D specific NvSciSync attributes.
Holds NvMedia version information.
Definition: nvmedia_core.h:226
NvMediaStatus NvMedia2DUnregisterNvSciSyncObj(NvMedia2D *i2d, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMedia2D.
NvMediaNvSciSyncClientType
Definitions ****************** SOFFence - Start of frame NvSciSyncFence.
Definition: nvmedia_core.h:247
NVIDIA Media Interface: Core
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:169
NvMediaStatus NvMedia2DInsertPreNvSciSyncFence(NvMedia2D *i2d, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMedia2DBlitEx() NvSciSyncFence operation.
NvMediaStatus NvMedia2DSetNvSciSyncObjforEOF(NvMedia2D *i2d, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for a EOF NvSciSyncFence.
struct NvMedia2D NvMedia2D
An opaque handle representing an NvMedia2D object.
Definition: nvmedia_2d.h:226
struct NvSciSyncObjRec * NvSciSyncObj
Holds a pointer to an opaque NvSciSync object.
Definition: nvscisync.h:174
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:141
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaStatus NvMedia2DGetEOFNvSciSyncFence(NvMedia2D *i2d, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets an EOF NvSciSyncFence for an NvMedia2DBlitEx() operation.