NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvmedia_2d_stream.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025-2026 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_2D_STREAM_H
20 #define NVMEDIA_2D_STREAM_H
21 
22 #include "nvmedia_2d.h"
23 #include "nvscisync.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
43 
50 
105  NvMedia2D *const ctx,
106  NvSciSyncObj const syncObj);
107 
151 
210  NvSciSyncFence const *const syncFence);
211 
272  NvMedia2DComposeParameters const taskParams,
273  NvMedia2DComposeResult *const taskResult);
274 
327  NvSciSyncFence *const syncFence);
328 
332 
333 #ifdef __cplusplus
334 }
335 #endif
336 
337 #endif // NVMEDIA_2D_STREAM_H
NvMedia2DStream
struct NvMedia2DStream NvMedia2DStream
An object representing a stream.
Definition: nvmedia_2d_stream.h:49
nvmedia_2d.h
NVIDIA Media Interface: 2D Processing Control
NvMedia2DStreamPushFenceWait
NvMediaStatus NvMedia2DStreamPushFenceWait(NvMedia2DStream *const stream, NvSciSyncFence const *const syncFence)
Push a fence wait to the stream.
NvMedia2DComposeResult
Stores information returned from NvMedia2DCompose().
Definition: nvmedia_2d.h:660
NvMedia2DStreamPushTask
NvMediaStatus NvMedia2DStreamPushTask(NvMedia2DStream *const stream, NvMedia2DComposeParameters const taskParams, NvMedia2DComposeResult *const taskResult)
Push a task to the stream.
nvscisync.h
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMedia2DStreamCreate
NvMediaStatus NvMedia2DStreamCreate(NvMedia2DStream **const stream, NvMedia2D *const ctx, NvSciSyncObj const syncObj)
Create a new stream.
NvMedia2D
struct NvMedia2D NvMedia2D
NvMedia2D Context.
Definition: nvmedia_2d.h:1233
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:253
NvMedia2DComposeParameters
uint32_t NvMedia2DComposeParameters
Stores configuration for the NvMedia2DCompose() operation.
Definition: nvmedia_2d.h:581
NvMedia2DStreamRequestFence
NvMediaStatus NvMedia2DStreamRequestFence(NvMedia2DStream *const stream, NvSciSyncFence *const syncFence)
Request a fence from the stream.
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:114
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:308
NvMedia2DStreamDestroy
NvMediaStatus NvMedia2DStreamDestroy(NvMedia2DStream *const stream)
Destroy a stream.