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_iep_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_IEP_NVSCISYNC_H
17 #define NVMEDIA_IEP_NVSCISYNC_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #include "nvmedia_core.h"
24 #include "nvscisync.h"
25 #include "nvmedia_iep.h"
26 
38 #define NVMEDIA_IEP_NVSCISYNC_VERSION_MAJOR 1
39 
40 #define NVMEDIA_IEP_NVSCISYNC_VERSION_MINOR 0
41 
46 #define NVMEDIA_IEP_MAX_PRENVSCISYNCFENCES (3)
47 
61  NvMediaVersion *version
62 );
63 
90  NvMediaIEP *encoder,
91  NvSciSyncAttrList attrlist,
93 );
94 
95 
129  NvMediaIEP *encoder,
130  NvMediaNvSciSyncObjType syncobjtype,
131  NvSciSyncObj nvscisync
132 );
133 
159  NvMediaIEP *encoder,
160  NvSciSyncObj nvscisync
161 );
162 
187  NvMediaIEP *encoder,
188  NvSciSyncObj nvscisyncEOF
189 );
190 
230  NvMediaIEP *encoder,
231  const NvSciSyncFence *prenvscisyncfence
232 );
233 
271  NvMediaIEP *encoder,
272  NvSciSyncObj eofnvscisyncobj,
273  NvSciSyncFence *eofnvscisyncfence
274 );
275 
276 /*
277  * \defgroup history_nvmedia_iep_nvscisync History
278  * Provides change history for the NvMedia IEP NvSciSync API
279  *
280  * \section history_nvmedia_iep_nvscisync Version History
281  *
282  * <b> Version 1.0 </b> April 03, 2019
283  * - Initial release
284  *
285  */
288 #ifdef __cplusplus
289 }; /* extern "C" */
290 #endif
291 
292 #endif /* NVMEDIA_IEP_NVSCISYNC_H */
NvMediaStatus NvMediaIEPGetEOFNvSciSyncFence(NvMediaIEP *encoder, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets EOF NvSciSyncFence for an NvMediaIEPFeedFrame() operation.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:260
NvMediaStatus NvMediaIEPInsertPreNvSciSyncFence(NvMediaIEP *encoder, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMediaIEPFeedFrame() NvSciSyncFence operation.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
Definition: nvscisync.h:183
Holds NvMedia version information.
Definition: nvmedia_core.h:226
NvMediaNvSciSyncClientType
Definitions ****************** SOFFence - Start of frame NvSciSyncFence.
Definition: nvmedia_core.h:247
NVIDIA Media Interface: Core
NvMediaStatus NvMediaIEPUnregisterNvSciSyncObj(NvMediaIEP *encoder, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaIEP.
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:169
NvMediaStatus NvMediaIEPNvSciSyncGetVersion(NvMediaVersion *version)
Returns the version information for the NvMedia IEP NvSciSync library.
NvMediaStatus NvMediaIEPRegisterNvSciSyncObj(NvMediaIEP *encoder, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaIEP.
NvMediaStatus NvMediaIEPSetNvSciSyncObjforEOF(NvMediaIEP *encoder, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence.
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 NvMediaIEPFillNvSciSyncAttrList(NvMediaIEP *encoder, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMediaIEP specific NvSciSync attributes.
Holds the image encoder object created by NvMediaIEPCreate.
Definition: nvmedia_iep.h:56
NVIDIA Media Interface: NvMedia Image Encode Processing API