NVIDIA DRIVE OS Linux SDK API Reference

6.0.9 Release
nvmedia_ldc_sci.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2023 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 handle, NvSciBufAttrList const attrList);
80 
140  NvSciSyncAttrList const attrList,
141  NvMediaNvSciSyncClientType const clientType);
142 
196 NvMediaLdcRegisterNvSciBufObj(NvMediaLdc *const handle, NvSciBufObj const bufObj);
197 
258  NvMediaNvSciSyncObjType const syncObjType,
259  NvSciSyncObj const syncObj);
260 
307 NvMediaLdcUnregisterNvSciBufObj(NvMediaLdc *const handle, NvSciBufObj const bufObj);
308 
360 NvMediaLdcUnregisterNvSciSyncObj(NvMediaLdc *const handle, NvSciSyncObj const syncObj);
361 
404  NvMediaLdcParameters const params,
405  NvSciSyncObj const syncObj);
406 
474  NvMediaLdcParameters const params,
475  NvSciSyncFence const *const syncFence);
476 
546  NvMediaLdcResult const *const result,
547  NvSciSyncFence *const syncFence);
548 
594 NvMediaLdcSetSrcSurface(NvMediaLdc *const handle,
595  NvMediaLdcParameters const params,
596  NvSciBufObj const surface);
597 
644 NvMediaLdcSetDstSurface(NvMediaLdc *const handle,
645  NvMediaLdcParameters const params,
646  NvSciBufObj const surface);
647 
698  NvMediaLdcParameters const params,
699  NvSciBufObj const surface);
700 
757  NvMediaLdcParameters const params,
758  NvSciBufObj const surface);
759 
821  NvMediaLdcParameters const params,
822  NvSciBufObj const surface);
823 
827 
828 #ifdef __cplusplus
829 }
830 #endif
831 
832 #endif
NvMediaLdcRegisterNvSciSyncObj
NvMediaStatus NvMediaLdcRegisterNvSciSyncObj(NvMediaLdc *const handle, NvMediaNvSciSyncObjType const syncObjType, NvSciSyncObj const syncObj)
Register an NvSciSyncObj with NvMedia LDC.
NvMediaLdcUnregisterNvSciSyncObj
NvMediaStatus NvMediaLdcUnregisterNvSciSyncObj(NvMediaLdc *const handle, NvSciSyncObj const syncObj)
Unregisters an NvSciSyncObj with NvMediaLdc.
NvMediaLdcRegisterNvSciBufObj
NvMediaStatus NvMediaLdcRegisterNvSciBufObj(NvMediaLdc *const handle, NvSciBufObj const bufObj)
Register an NvSciBufObj with NvMedia LDC.
NvMediaLdcGetEOFNvSciSyncFence
NvMediaStatus NvMediaLdcGetEOFNvSciSyncFence(NvMediaLdc *const handle, NvMediaLdcResult const *const result, NvSciSyncFence *const syncFence)
Gets an EOF NvSciSyncFence for an NvMediaLdcProcess() operation.
NvMediaLdcSetDownsampledXSobelDstSurface
NvMediaStatus NvMediaLdcSetDownsampledXSobelDstSurface(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the surface for 4x4 downsampled xSobel output.
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:104
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
NvSciBufObj
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
Definition: nvscibuf.h:3108
nvscisync.h
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaLdcParameters
uint32_t NvMediaLdcParameters
Stores configuration for the NvMediaLdcProcess() operation.
Definition: nvmedia_ldc.h:106
NvMediaLdcSetDstSurface
NvMediaStatus NvMediaLdcSetDstSurface(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the destination surface.
NvMediaLdcUnregisterNvSciBufObj
NvMediaStatus NvMediaLdcUnregisterNvSciBufObj(NvMediaLdc *const handle, NvSciBufObj const bufObj)
Unregisters an NvSciBufObj with NvMediaLdc.
NvMediaLdcSetSrcSurface
NvMediaStatus NvMediaLdcSetSrcSurface(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the source surface.
NvMediaLdcInsertPreNvSciSyncFence
NvMediaStatus NvMediaLdcInsertPreNvSciSyncFence(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciSyncFence const *const syncFence)
Insert an NvSciSyncFence as a pre-fence.
nvmedia_core.h
NVIDIA Media Interface: Core
NvSciBufAttrList
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
Definition: nvscibuf.h:3126
NvMediaLdcSetNvSciSyncObjforEOF
NvMediaStatus NvMediaLdcSetNvSciSyncObjforEOF(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciSyncObj const syncObj)
Specifies the NvSciSyncObj to be used for EOF event.
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:256
nvscibuf.h
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvMediaLdcSetPreviousSurface
NvMediaStatus NvMediaLdcSetPreviousSurface(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the previous surface for TNR operation.
NvMediaLdcFillNvSciBufAttrList
NvMediaStatus NvMediaLdcFillNvSciBufAttrList(NvMediaLdc *const handle, NvSciBufAttrList const attrList)
Fills the NvMedia LDC specific NvSciBuf attributes.
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
NvMediaLdcFillNvSciSyncAttrList
NvMediaStatus NvMediaLdcFillNvSciSyncAttrList(NvMediaLdc *const handle, NvSciSyncAttrList const attrList, NvMediaNvSciSyncClientType const clientType)
Fills the NvMedia LDC specific NvSciSync attributes.
NvMediaLdcSetXSobelDstSurface
NvMediaStatus NvMediaLdcSetXSobelDstSurface(NvMediaLdc *const handle, NvMediaLdcParameters const params, NvSciBufObj const surface)
Sets the surface for xSobel output.
nvmedia_ldc.h
NVIDIA Media Interface: Lens Distortion Correction and Temporal Noise Reduction