NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_ldc_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_LDC_NVSCISYNC_H
17 #define NVMEDIA_LDC_NVSCISYNC_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #include "nvmedia_core.h"
24 #include "nvscisync.h"
25 #include "nvmedia_ldc.h"
26 
38 #define NVMEDIA_LDC_NVSCISYNC_VERSION_MAJOR 1
39 
40 #define NVMEDIA_LDC_NVSCISYNC_VERSION_MINOR 0
41 
46 #define NVMEDIA_LDC_MAX_PRENVSCISYNCFENCES (3)
47 
57  NvMediaVersion *version
58 );
59 
82  NvMediaLDC *ldc,
83  NvSciSyncAttrList attrlist,
85 );
86 
87 
117  NvMediaLDC *ldc,
118  NvMediaNvSciSyncObjType syncobjtype,
119  NvSciSyncObj nvscisync
120 );
121 
142  NvMediaLDC *ldc,
143  NvSciSyncObj nvscisync
144 );
145 
166  NvMediaLDC *ldc,
167  NvSciSyncObj nvscisyncEOF
168 );
169 
209  NvMediaLDC *ldc,
210  const NvSciSyncFence *prenvscisyncfence
211 );
212 
248  NvMediaLDC *ldc,
249  NvSciSyncObj eofnvscisyncobj,
250  NvSciSyncFence *eofnvscisyncfence
251 );
252 
253 /*
254  * \defgroup history_nvmedia_ldc_nvscisync History
255  * Provides change history for the NvMedia LDC NvSciSync API
256  *
257  * \section history_nvmedia_ldc_nvscisync Version History
258  *
259  * <b> Version 1.0 </b> March 13, 2019
260  * - Initial release
261  *
262  */
264 #ifdef __cplusplus
265 }; /* extern "C" */
266 #endif
267 
268 #endif /* NVMEDIA_LDC_NVSCISYNC_H */
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:260
NvMediaStatus NvMediaLDCRegisterNvSciSyncObj(NvMediaLDC *ldc, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaLDC.
NvMediaStatus NvMediaLDCUnregisterNvSciSyncObj(NvMediaLDC *ldc, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaLDC.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
Definition: nvscisync.h:182
NvMediaStatus NvMediaLDCGetEOFNvSciSyncFence(NvMediaLDC *ldc, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Get EOF NvSciSyncFence for an NvMediaLDCProcess() operation.
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
Defines all possible error codes.
Definition: nvmedia_core.h:169
NvMediaStatus NvMediaLDCFillNvSciSyncAttrList(NvMediaLDC *ldc, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Gets NvMediaLDC specific NvSciSync attributes.
struct NvMediaLDC NvMediaLDC
Defines the NvMedia LDC handle as an opaque struct.
Definition: nvmedia_ldc.h:47
NvMediaStatus NvMediaLDCInsertPreNvSciSyncFence(NvMediaLDC *ldc, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMediaLDCProcess() operation.
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
NVIDIA Media Interface: Lens Distortion Correction (LDC)
NvMediaStatus NvMediaLDCSetNvSciSyncObjforEOF(NvMediaLDC *ldc, NvSciSyncObj nvscisyncEOF)
Sets an NvSciSyncObj to be used for a EOF NvSciSyncFence.
NvMediaStatus NvMediaLDCNvSciSyncGetVersion(NvMediaVersion *version)
Gets version information for the NvMedia LDC NvSciSync library.