NVIDIA DRIVE OS Linux SDK API Reference

5.1.9.0 Release

 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 
215  NvMedia2D *i2d,
216  const NvSciSyncFence *prenvscisyncfence
217 );
218 
255  NvMedia2D *i2d,
256  NvSciSyncObj eofnvscisyncobj,
257  NvSciSyncFence *eofnvscisyncfence
258 );
259 
260 /*
261  * \defgroup history_nvmedia_2d_nvscisync History
262  * Provides change history for the NvMedia 2D NvSciSync API
263  *
264  * \section history_nvmedia_2d_nvscisync Version History
265  *
266  * <b> Version 1.0 </b> March 6, 2019
267  * - Initial release
268  *
269  */
272 #ifdef __cplusplus
273 }; /* extern "C" */
274 #endif
275 
276 #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:182
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() 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:173
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:140
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaStatus NvMedia2DGetEOFNvSciSyncFence(NvMedia2D *i2d, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets an EOF NvSciSyncFence for an NvMedia2DBlitEx() operation.