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_iofst_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_IOFST_NVSCISYNC_H
17 #define NVMEDIA_IOFST_NVSCISYNC_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #include "nvmedia_core.h"
24 #include "nvscisync.h"
25 #include "nvmedia_iofst.h"
26 
37 #define NVMEDIA_IOFST_NVSCISYNC_VERSION_MAJOR 1
38 
39 #define NVMEDIA_IOFST_NVSCISYNC_VERSION_MINOR 1
40 
45 #define NVMEDIA_IOFST_MAX_PRENVSCISYNCFENCES (3)
46 
61  NvMediaVersion *version
62 );
63 
90  const NvMediaIOFST *iofst,
91  NvSciSyncAttrList attrlist,
93 );
94 
95 
129  const NvMediaIOFST *iofst,
130  NvMediaNvSciSyncObjType syncobjtype,
131  NvSciSyncObj nvscisync
132 );
133 
160  const NvMediaIOFST *iofst,
161  NvSciSyncObj nvscisync
162 );
163 
188  const NvMediaIOFST *iofst,
189  NvSciSyncObj nvscisyncEOF
190 );
191 
233  const NvMediaIOFST *iofst,
234  const NvSciSyncFence *prenvscisyncfence
235 );
236 
278  const NvMediaIOFST *iofst,
279  NvSciSyncObj eofnvscisyncobj,
280  NvSciSyncFence *eofnvscisyncfence
281 );
282 
309  const NvMediaIOFST *iofst,
310  NvSciSyncObj nvscisyncSOF
311 );
312 
346  const NvMediaIOFST *iofst,
347  NvSciSyncObj sofnvscisyncobj,
348  NvSciSyncFence *sofnvscisyncfence
349 );
350 
351 /*
352  * \defgroup history_nvmedia_iofst_nvscisync History
353  * Provides change history for the NvMedia IOFST NvSciSync API
354  *
355  * \section history_nvmedia_iofst_nvscisync Version History
356  *
357  * <b> Version 1.0 </b> April 03, 2019
358  * - Initial release
359  *
360  * <b> Version 1.1 </b> July 15, 2019
361  * - Add new API NvMediaIOFSTSetNvSciSyncObjforSOF and NvMediaIOFSTGetSOFNvSciSyncFence
362  *
363  */
366 #ifdef __cplusplus
367 }; /* extern "C" */
368 #endif
369 
370 #endif /* NVMEDIA_IOFST_NVSCISYNC_H */
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:260
NVIDIA Media Interface: NvMedia Image OpticalFlow/StereoDisparity (OFST) Estimator API ...
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
Definition: nvscisync.h:182
Holds NvMedia version information.
Definition: nvmedia_core.h:226
NvMediaNvSciSyncClientType
Definitions ****************** SOFFence - Start of frame NvSciSyncFence.
Definition: nvmedia_core.h:247
Holds an OFST object created by NvMediaIOFSTCreate.
Definition: nvmedia_iofst.h:70
NvMediaStatus NvMediaIOFSTNvSciSyncGetVersion(NvMediaVersion *version)
Returns the version information for the NvMediaIOFST NvSciSync library.
NVIDIA Media Interface: Core
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:169
NvMediaStatus NvMediaIOFSTFillNvSciSyncAttrList(const NvMediaIOFST *iofst, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMediaIOFST specific NvSciSync attributes.
NvMediaStatus NvMediaIOFSTSetNvSciSyncObjforEOF(const NvMediaIOFST *iofst, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence.
NvMediaStatus NvMediaIOFSTSetNvSciSyncObjforSOF(const NvMediaIOFST *iofst, NvSciSyncObj nvscisyncSOF)
Specifies the NvSciSyncObj to be used for an SOF NvSciSyncFence.
NvMediaStatus NvMediaIOFSTGetEOFNvSciSyncFence(const NvMediaIOFST *iofst, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets EOF NvSciSyncFence for an NvMediaIOFSTProcessFrame() operation.
NvMediaStatus NvMediaIOFSTInsertPreNvSciSyncFence(const NvMediaIOFST *iofst, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMediaIOFSTProcessFrame() operation. ...
NvMediaStatus NvMediaIOFSTRegisterNvSciSyncObj(const NvMediaIOFST *iofst, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaIOFST.
NvMediaStatus NvMediaIOFSTUnregisterNvSciSyncObj(const NvMediaIOFST *iofst, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaIOFST.
NvMediaStatus NvMediaIOFSTGetSOFNvSciSyncFence(const NvMediaIOFST *iofst, NvSciSyncObj sofnvscisyncobj, NvSciSyncFence *sofnvscisyncfence)
Gets SOF NvSciSyncFence for an NvMediaIOFSTProcessFrame() 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