NVIDIA DRIVE OS Linux SDK API Reference

6.0.10.0 Release
nvmedia_ldc_sci.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
18 
19 #ifndef NVMEDIA_LDC_SCI_H
20 #define NVMEDIA_LDC_SCI_H
21 
22 #include "nvmedia_core.h"
23 #include "nvmedia_ldc.h"
24 #include "nvscibuf.h"
25 #include "nvscisync.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
39 
79 NvMediaLdcFillNvSciBufAttrList(NvMediaLdc const * const handle, NvSciBufAttrList const attrList);
80 
145 NvMediaLdcFillNvSciSyncAttrList(NvMediaLdc const * const handle,
146  NvSciSyncAttrList const attrList,
147  NvMediaNvSciSyncClientType const clientType);
148 
195 NvMediaLdcRegisterNvSciBufObj(NvMediaLdc const * const handle, NvSciBufObj const bufObj);
196 
254 NvMediaLdcRegisterNvSciSyncObj(NvMediaLdc const * const handle,
255  NvMediaNvSciSyncObjType const syncObjType,
256  NvSciSyncObj const syncObj);
257 
305 NvMediaLdcUnregisterNvSciBufObj(NvMediaLdc const * const handle, NvSciBufObj const bufObj);
306 
359 NvMediaLdcUnregisterNvSciSyncObj(NvMediaLdc const * const handle, NvSciSyncObj const syncObj);
360 
403 NvMediaLdcSetNvSciSyncObjforEOF(NvMediaLdc const * const handle,
404  NvMediaLdcParameters const params,
405  NvSciSyncObj const syncObj);
406 
474 NvMediaLdcInsertPreNvSciSyncFence(NvMediaLdc const * const handle,
475  NvMediaLdcParameters const params,
476  NvSciSyncFence const *const syncFence);
477 
550 NvMediaLdcGetEOFNvSciSyncFence(NvMediaLdc const * const handle,
551  NvMediaLdcResult const *const result,
552  NvSciSyncFence *const syncFence);
553 
601 NvMediaLdcSetSrcSurface(NvMediaLdc const * const handle,
602  NvMediaLdcParameters const params,
603  NvSciBufObj const surface);
604 
653 NvMediaLdcSetDstSurface(NvMediaLdc const * const handle,
654  NvMediaLdcParameters const params,
655  NvSciBufObj const surface);
656 
708 NvMediaLdcSetPreviousSurface(NvMediaLdc const * const handle,
709  NvMediaLdcParameters const params,
710  NvSciBufObj const surface);
711 
769 NvMediaLdcSetXSobelDstSurface(NvMediaLdc const * const handle,
770  NvMediaLdcParameters const params,
771  NvSciBufObj const surface);
772 
836  NvMediaLdcParameters const params,
837  NvSciBufObj const surface);
838 
842 
843 #ifdef __cplusplus
844 }
845 #endif
846 
847 #endif
NvMediaLdcUnregisterNvSciBufObj
NvMediaStatus NvMediaLdcUnregisterNvSciBufObj(NvMediaLdc const *const handle, NvSciBufObj const bufObj)
Unregisters an NvSciBufObj with NvMediaLdc.
NvMediaLdcGetEOFNvSciSyncFence
NvMediaStatus NvMediaLdcGetEOFNvSciSyncFence(NvMediaLdc const *const handle, NvMediaLdcResult const *const result, NvSciSyncFence *const syncFence)
Gets an EOF NvSciSyncFence for an NvMediaLdcProcess() operation.
NvMediaLdcUnregisterNvSciSyncObj
NvMediaStatus NvMediaLdcUnregisterNvSciSyncObj(NvMediaLdc const *const handle, NvSciSyncObj const syncObj)
Unregisters an NvSciSyncObj with NvMediaLdc.
NvMediaLdcSetXSobelDstSurface
NvMediaStatus NvMediaLdcSetXSobelDstSurface(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the surface for xSobel output.
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:104
NvMediaLdcInsertPreNvSciSyncFence
NvMediaStatus NvMediaLdcInsertPreNvSciSyncFence(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciSyncFence const *const syncFence)
Insert an NvSciSyncFence as a pre-fence.
NvMediaNvSciSyncObjType
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:202
NvMediaNvSciSyncClientType
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
Definition: nvmedia_core.h:189
NvSciSyncAttrList
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Definition: nvscisync.h:330
NvMediaLdcSetDstSurface
NvMediaStatus NvMediaLdcSetDstSurface(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the destination surface.
NvSciBufObj
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
Definition: nvscibuf.h:3102
nvscisync.h
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaLdcParameters
uint32_t NvMediaLdcParameters
Stores configuration for the NvMediaLdcProcess() operation.
Definition: nvmedia_ldc.h:106
NvMediaLdcSetNvSciSyncObjforEOF
NvMediaStatus NvMediaLdcSetNvSciSyncObjforEOF(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciSyncObj const syncObj)
Specifies the NvSciSyncObj to be used for EOF event.
NvMediaLdcRegisterNvSciSyncObj
NvMediaStatus NvMediaLdcRegisterNvSciSyncObj(NvMediaLdc const *const handle, NvMediaNvSciSyncObjType const syncObjType, NvSciSyncObj const syncObj)
Register an NvSciSyncObj with NvMedia LDC.
NvMediaLdcRegisterNvSciBufObj
NvMediaStatus NvMediaLdcRegisterNvSciBufObj(NvMediaLdc const *const handle, NvSciBufObj const bufObj)
Register an NvSciBufObj with NvMedia LDC.
NvMediaLdcSetPreviousSurface
NvMediaStatus NvMediaLdcSetPreviousSurface(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the previous surface for TNR operation.
NvMediaLdcFillNvSciBufAttrList
NvMediaStatus NvMediaLdcFillNvSciBufAttrList(NvMediaLdc const *const handle, NvSciBufAttrList const attrList)
Fills the NvMedia LDC specific NvSciBuf attributes.
NvMediaLdcSetSrcSurface
NvMediaStatus NvMediaLdcSetSrcSurface(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the source surface.
nvmedia_core.h
NVIDIA Media Interface: Core
NvMediaLdcSetDownsampledXSobelDstSurface
NvMediaStatus NvMediaLdcSetDownsampledXSobelDstSurface(NvMediaLdc const *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the surface for 4x4 downsampled xSobel output.
NvMediaLdcFillNvSciSyncAttrList
NvMediaStatus NvMediaLdcFillNvSciSyncAttrList(NvMediaLdc const *const handle, NvSciSyncAttrList const attrList, NvMediaNvSciSyncClientType const clientType)
Fills the NvMedia LDC specific NvSciSync attributes.
NvSciBufAttrList
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
Definition: nvscibuf.h:3120
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:256
nvscibuf.h
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvMediaLdc
struct NvMediaLdc NvMediaLdc
NvMediaLdc context.
Definition: nvmedia_ldc.h:79
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:311
NvMediaLdcResult
Stores information returned from NvMediaLdcProcess().
Definition: nvmedia_ldc.h:215
nvmedia_ldc.h
NVIDIA Media Interface: Lens Distortion Correction and Temporal Noise Reduction