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_dla_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 
17 #ifndef NVMEDIA_DLA_NVSCISYNC_H
18 #define NVMEDIA_DLA_NVSCISYNC_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #include "nvmedia_core.h"
25 #include "nvscisync.h"
26 #include "nvmedia_dla.h"
27 
39 #define NVMEDIA_DLA_NVSCISYNC_VERSION_MAJOR 1
40 
41 #define NVMEDIA_DLA_NVSCISYNC_VERSION_MINOR 1
42 
47 #define NVMEDIA_DLA_MAX_PRENVSCISYNCFENCES (8U)
48 
61  NvMediaVersion *version
62 );
63 
87  const NvMediaDla *dla,
88  NvSciSyncAttrList attrlist,
90 );
91 
122  NvMediaDla *dla,
123  NvMediaNvSciSyncObjType syncobjtype,
124  NvSciSyncObj nvscisync
125 );
126 
151  NvMediaDla *dla,
152  NvSciSyncObj nvscisync
153 );
154 
177  NvMediaDla *dla,
178  NvSciSyncObj nvscisyncSOF
179 );
180 
201  NvMediaDla *dla,
202  NvSciSyncObj nvscisyncEOF
203 );
204 
237  NvMediaDla *dla,
238  const NvSciSyncFence *prenvscisyncfence
239 );
240 
272  const NvMediaDla *dla,
273  NvSciSyncObj sofnvscisyncobj,
274  NvSciSyncFence *sofnvscisyncfence
275 );
276 
306  const NvMediaDla *dla,
307  NvSciSyncObj eofnvscisyncobj,
308  NvSciSyncFence *eofnvscisyncfence
309 );
310 
311 /*
312  * \defgroup history_nvmedia_dla_nvscisync History
313  * Provides change history for the NvMedia Dla NvSciSync API
314  *
315  * \section history_nvmedia_dla_nvscisync Version History
316  *
317  * <b> Version 1.0 </b> March 14, 2019
318  * - Initial release
319  *
320  * <b> Version 1.1 </b> April 11, 2019
321  * - Add new API NvMediaDlaSetNvSciSyncObjforSOF and NvMediaDlaGetEOFNvSciSyncFence
322  * - Rename NvMediaDlaUnRegisterNvSciSyncObj to NvMediaDlaUnregisterNvSciSyncObj
323  *
324  */
325 
328 #ifdef __cplusplus
329 }; /* extern "C" */
330 #endif
331 
332 #endif /* NVMEDIA_DLA_NVSCISYNC_H */
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:260
NvMediaStatus NvMediaDlaGetEOFNvSciSyncFence(const NvMediaDla *dla, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets an EOF NvSciSyncFence for a DLA submit operation.
struct NvMediaDla NvMediaDla
Holds a handle to the NvMedia DLA device.
Definition: nvmedia_dla.h:72
NvMediaStatus NvMediaDlaSetNvSciSyncObjforSOF(NvMediaDla *dla, NvSciSyncObj nvscisyncSOF)
Sets the NvSciSyncObj to be used for a Start of Frame (SOF) NvSciSyncFence.
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
NvMediaStatus NvMediaDlaNvSciSyncGetVersion(NvMediaVersion *version)
Returns the version information for the NvMedia DLA NvSciSync library.
NvMediaStatus NvMediaDlaRegisterNvSciSyncObj(NvMediaDla *dla, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaDla.
NvMediaStatus NvMediaDlaFillNvSciSyncAttrList(const NvMediaDla *dla, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMediaDla specific NvSciSync attributes.
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 NvMediaDlaUnregisterNvSciSyncObj(NvMediaDla *dla, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaDla.
NVIDIA Media Interface: DLA
NvMediaStatus NvMediaDlaInsertPreNvSciSyncFence(NvMediaDla *dla, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for a DLA submit operation.
struct NvSciSyncObjRec * NvSciSyncObj
Holds a pointer to an opaque NvSciSync object.
Definition: nvscisync.h:173
NvMediaStatus NvMediaDlaSetNvSciSyncObjforEOF(NvMediaDla *dla, NvSciSyncObj nvscisyncEOF)
Sets an NvSciSyncObj to be used for a End of Frame (EOF) NvSciSyncFence.
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:140
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaStatus NvMediaDlaGetSOFNvSciSyncFence(const NvMediaDla *dla, NvSciSyncObj sofnvscisyncobj, NvSciSyncFence *sofnvscisyncfence)
Gets an SOF NvSciSyncFence for a DLA submit operation.