Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.10.0 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    nvscistream_api.h
    Go to the documentation of this file.
    1 /*
    2  * Copyright (c) 2020-2024 NVIDIA Corporation. All rights reserved.
    3  *
    4  * NVIDIA Corporation and its licensors retain all intellectual property and
    5  * proprietary rights in and to this software, related documentation and any
    6  * modifications thereto. Any use, reproduction, disclosure or distribution
    7  * of this software and related documentation without an express license
    8  * agreement from NVIDIA Corporation is strictly prohibited.
    9  */
    19 #ifndef NVSCISTREAM_API_H
    20 #define NVSCISTREAM_API_H
    21 
    22 #ifdef __cplusplus
    23 #include <cstdint>
    24 #else
    25 #include <stdint.h>
    26 #endif
    27 #if defined(NV_QNX)
    28 #include "nvdvms_client.h"
    29 #include "nvdvms_types.h"
    30 #endif
    31 #include "nvscierror.h"
    32 #include "nvscibuf.h"
    33 #include "nvscisync.h"
    34 #include "nvsciipc.h"
    35 #include "nvscievent.h"
    36 #include "nvscistream_types.h"
    37 
    38 #ifdef __cplusplus
    39 extern "C" {
    40 #endif
    41 
    208  NvSciStreamBlock const upstream,
    209  NvSciStreamBlock const downstream
    210 );
    211 
    266  NvSciStreamBlock const pool,
    267  NvSciStreamBlock *const producer
    268 );
    269 
    270 
    330  NvSciStreamBlock const pool,
    331  bool const crcValidate,
    332  NvSciStreamBlock *const producer
    333 );
    334 
    389  NvSciStreamBlock const queue,
    390  NvSciStreamBlock *const consumer
    391 );
    392 
    393 
    456  NvSciStreamBlock const queue,
    457  bool const crcValidate,
    458  NvSciStreamBlock *const consumer
    459 );
    460 
    461 
    511  uint32_t const numPackets,
    512  NvSciStreamBlock *const pool
    513 );
    514 
    567  NvSciStreamBlock *const queue
    568 );
    569 
    621  NvSciStreamBlock *const queue
    622 );
    623 
    675  uint32_t const outputCount,
    676  NvSciStreamBlock *const multicast
    677 );
    678 
    742  NvSciIpcEndpoint const ipcEndpoint,
    743  NvSciSyncModule const syncModule,
    744  NvSciBufModule const bufModule,
    745  NvSciStreamBlock *const ipc
    746 );
    747 
    835  NvSciIpcEndpoint const ipcEndpoint,
    836  NvSciSyncModule const syncModule,
    837  NvSciBufModule const bufModule,
    838  NvSciStreamBlock const queue,
    839  NvSciStreamBlock *const ipc
    840 );
    841 
    905  NvSciIpcEndpoint const ipcEndpoint,
    906  NvSciSyncModule const syncModule,
    907  NvSciBufModule const bufModule,
    908  NvSciStreamBlock *const ipc
    909 );
    910 
    992  NvSciIpcEndpoint const ipcEndpoint,
    993  NvSciSyncModule const syncModule,
    994  NvSciBufModule const bufModule,
    995  NvSciStreamBlock const pool,
    996  NvSciStreamBlock *const ipc
    997 );
    998 
    1047  uint32_t const maxPackets,
    1048  NvSciStreamBlock *const limiter
    1049 );
    1050 
    1051 
    1100  NvSciSyncModule const syncModule,
    1101  NvSciStreamBlock *const returnSync
    1102 );
    1103 
    1151  NvSciSyncModule const syncModule,
    1152  NvSciStreamBlock *const presentSync
    1153 );
    1154 
    1215  NvSciStreamBlock const block,
    1216  int64_t const timeoutUsec,
    1217  NvSciStreamEventType *const event
    1218 );
    1219 
    1256 NvSciError
    1258  NvSciStreamBlock const block,
    1259  NvSciError* const status
    1260 );
    1261 
    1300 NvSciError
    1302  NvSciStreamBlock const block,
    1303  uint32_t* const numConsumers
    1304 );
    1305 
    1356 NvSciError
    1358  NvSciStreamBlock const block,
    1359  NvSciStreamSetup const setupType,
    1360  bool const completed
    1361 );
    1362 
    1422 NvSciError
    1424  NvSciStreamBlock const block,
    1425  uint32_t const userType,
    1426  NvSciBufAttrList const bufAttrList
    1427 );
    1428 
    1487 NvSciError
    1489  NvSciStreamBlock const block,
    1490  NvSciStreamBlockType const queryBlockType,
    1491  uint32_t* const numElements
    1492 );
    1493 
    1562 NvSciError
    1564  NvSciStreamBlock const block,
    1565  NvSciStreamBlockType const queryBlockType,
    1566  uint32_t const elemIndex,
    1567  uint32_t* const userType,
    1568  NvSciBufAttrList* const bufAttrList
    1569 );
    1570 
    1619 NvSciError
    1621  NvSciStreamBlock const pool,
    1622  uint32_t const userType,
    1623  uint32_t const consumerIndex
    1624 );
    1625 
    1674 NvSciError
    1676  NvSciStreamBlock const block,
    1677  uint32_t const elemIndex,
    1678  bool const used
    1679 );
    1680 
    1731  NvSciStreamBlock const pool,
    1732  NvSciStreamCookie const cookie,
    1733  NvSciStreamPacket *const handle
    1734 );
    1735 
    1778  NvSciStreamBlock const pool,
    1779  NvSciStreamPacket const handle,
    1780  uint32_t const index,
    1781  NvSciBufObj const bufObj
    1782 );
    1783 
    1818 NvSciError
    1820  NvSciStreamBlock const pool,
    1821  NvSciStreamPacket const handle
    1822 );
    1823 
    1862 NvSciError
    1864  NvSciStreamBlock const pool,
    1865  NvSciStreamPacket const handle
    1866 );
    1867 
    1907 NvSciError
    1909  NvSciStreamBlock const block,
    1910  NvSciStreamPacket* const handle
    1911 );
    1912 
    1957 NvSciError
    1959  NvSciStreamBlock const block,
    1960  NvSciStreamPacket const handle,
    1961  uint32_t const elemIndex,
    1962  NvSciBufObj* const bufObj
    1963 );
    1964 
    2003 NvSciError
    2005  NvSciStreamBlock const block,
    2006  NvSciStreamCookie* const cookie
    2007 );
    2008 
    2055 NvSciError
    2057  NvSciStreamBlock const block,
    2058  NvSciStreamPacket const handle,
    2059  NvSciStreamCookie const cookie,
    2060  NvSciError const status
    2061 );
    2062 
    2098 NvSciError
    2100  NvSciStreamBlock const pool,
    2101  NvSciStreamPacket const handle,
    2102  bool* const accepted
    2103 );
    2104 
    2146 NvSciError
    2148  NvSciStreamBlock const pool,
    2149  NvSciStreamPacket const handle,
    2150  NvSciStreamBlockType const queryBlockType,
    2151  uint32_t const queryBlockIndex,
    2152  NvSciError* const status
    2153 );
    2154 
    2200 NvSciError
    2202  NvSciStreamBlock const block,
    2203  uint32_t const elemIndex,
    2204  NvSciSyncAttrList const waitSyncAttrList
    2205 );
    2206 
    2256 NvSciError
    2258  NvSciStreamBlock const block,
    2259  uint32_t const elemIndex,
    2260  NvSciSyncAttrList* const waitSyncAttrList
    2261 );
    2262 
    2310 NvSciError
    2312  NvSciStreamBlock const block,
    2313  uint32_t const elemIndex,
    2314  NvSciSyncObj const signalSyncObj
    2315 );
    2316 
    2375 NvSciError
    2377  NvSciStreamBlock const block,
    2378  uint32_t const queryBlockIndex,
    2379  uint32_t const elemIndex,
    2380  NvSciSyncObj* const signalSyncObj
    2381 );
    2382 
    2429  NvSciStreamBlock const producer,
    2430  NvSciStreamCookie *const cookie
    2431 );
    2432 
    2470  NvSciStreamBlock const producer,
    2471  NvSciStreamPacket const handle
    2472 );
    2473 
    2520  NvSciStreamBlock const consumer,
    2521  NvSciStreamCookie *const cookie
    2522 );
    2523 
    2561  NvSciStreamBlock const consumer,
    2562  NvSciStreamPacket const handle
    2563 );
    2564 
    2609 NvSciError
    2611  NvSciStreamBlock const block,
    2612  NvSciStreamPacket const handle,
    2613  uint32_t const elemIndex,
    2614  NvSciSyncFence const *const postfence
    2615 );
    2616 
    2664 NvSciError
    2666  NvSciStreamBlock const block,
    2667  NvSciStreamPacket const handle,
    2668  uint32_t const queryBlockIndex,
    2669  uint32_t const elemIndex,
    2670  NvSciSyncFence* const prefence
    2671 );
    2672 
    2714 NvSciError
    2716  NvSciStreamBlock const producer,
    2717  uint32_t const consumerIndex,
    2718  bool* const newConnected );
    2719 
    2768  NvSciStreamBlock const block
    2769 );
    2770 
    2771 
    2810  NvSciStreamBlock const block
    2811 );
    2812 
    2847  NvSciStreamQueryableAttrib const attr,
    2848  int32_t *const value
    2849 );
    2850 
    2906  NvSciStreamBlock const block,
    2907  NvSciEventService *const eventService,
    2908  NvSciEventNotifier **const eventNotifier
    2909 );
    2910 
    2985 NvSciError
    2987  NvSciStreamBlock const block,
    2988  NvSciEventService* const eventService,
    2989  uint32_t* const notifierCount,
    2990  NvSciEventNotifier** const eventNotifierArray
    2991 );
    2992 
    3036 NvSciError
    3038  NvSciStreamBlock const block
    3039 );
    3040 
    3086 NvSciError
    3088  NvSciStreamBlock const block,
    3089  uint32_t const userType,
    3090  uint32_t const dataSize,
    3091  void const* const data);
    3092 
    3149 NvSciError
    3151  NvSciStreamBlock const block,
    3152  NvSciStreamBlockType const queryBlockType,
    3153  uint32_t const queryBlockIndex,
    3154  uint32_t const userType,
    3155  uint32_t* const dataSize,
    3156  void* const data);
    3157 
    3210 NvSciError
    3212  NvSciStreamBlock const block,
    3213  uint32_t const userType,
    3214  uint32_t const dataSize,
    3215  void const* const data,
    3216  uint32_t* const crc);
    3217 
    3281 NvSciError
    3283  NvSciStreamBlock const block,
    3284  NvSciStreamBlockType const queryBlockType,
    3285  uint32_t const queryBlockIndex,
    3286  uint32_t const userType,
    3287  uint32_t* const dataSize,
    3288  void* const data,
    3289  uint32_t* const crc);
    3290 
    3358 NvSciError
    3360  NvSciStreamBlock const block,
    3361  uint32_t const userType,
    3362  NvSciBufAttrList const bufAttrList,
    3363  uint32_t* const crc);
    3364 
    3440 NvSciError
    3442  NvSciStreamBlock const block,
    3443  NvSciStreamBlockType const queryBlockType,
    3444  uint32_t const elemIndex,
    3445  uint32_t* const userType,
    3446  NvSciBufAttrList* const bufAttrList,
    3447  uint32_t* const crc);
    3448 
    3497 NvSciError
    3499  NvSciStreamBlock const pool,
    3500  NvSciStreamPacket const handle,
    3501  uint32_t const index,
    3502  NvSciBufObj const bufObj,
    3503  uint32_t* const crc);
    3504 
    3557 NvSciError
    3559  NvSciStreamBlock const block,
    3560  NvSciStreamPacket const handle,
    3561  uint32_t const elemIndex,
    3562  NvSciBufObj* const bufObj,
    3563  size_t const crcCount,
    3564  uint32_t* const crc);
    3565 
    3620 NvSciError
    3622  NvSciStreamBlock const block,
    3623  uint32_t const elemIndex,
    3624  NvSciSyncObj const signalSyncObj,
    3625  uint32_t* const crc);
    3626 
    3691 NvSciError
    3693  NvSciStreamBlock const block,
    3694  uint32_t const queryBlockIndex,
    3695  uint32_t const elemIndex,
    3696  NvSciSyncObj* const signalSyncObj,
    3697  uint32_t* const crc);
    3698 
    3750 NvSciError
    3752  NvSciStreamBlock const block,
    3753  NvSciStreamPacket const handle,
    3754  uint32_t const elemIndex,
    3755  NvSciSyncFence const *const postfence,
    3756  uint32_t* const crc);
    3757 
    3812 NvSciError
    3814  NvSciStreamBlock const block,
    3815  NvSciStreamPacket const handle,
    3816  uint32_t const queryBlockIndex,
    3817  uint32_t const elemIndex,
    3818  NvSciSyncFence* const prefence,
    3819  uint32_t* const crc);
    3820 
    3855 NvSciError
    3857  NvSciStreamBlock const consumer,
    3858  uint32_t* const index);
    3859 
    3903 NvSciError
    3905  NvSciStreamBlock const block);
    3906 
    3907 #ifdef __cplusplus
    3908 }
    3909 #endif
    3910 
    3912 #endif /* NVSCISTREAM_API_H */
    NvSciStreamBlockElementSignalObjSet
    NvSciError NvSciStreamBlockElementSignalObjSet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncObj const signalSyncObj)
    Specifies block's NvSciSync object used to signal when it is done writing or reading a buffer referen...
    NvSciError
    NvSciError
    Return/error codes for all NvSci functions.
    Definition: nvscierror.h:45
    nvscievent.h
    NVIDIA Software Communications Interface (SCI) : NvSci Event Service
    NvSciStreamPoolPacketDelete
    NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
    Removes a packet referenced by the given NvSciStreamPacket from the pool block referenced by the give...
    NvSciStreamBlockPacketFenceGetWithCrc
    NvSciError NvSciStreamBlockPacketFenceGetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncFence *const prefence, uint32_t *const crc)
    Retrieves the prefence which indicates when the the indexed opposing endpoint will be done operating ...
    NvSciStreamPoolPacketCreate
    NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock const pool, NvSciStreamCookie const cookie, NvSciStreamPacket *const handle)
    Creates a new packet and adds it to the pool block referenced by the given NvSciStreamBlock,...
    NvSciStreamBlockPacketNewHandleGet
    NvSciError NvSciStreamBlockPacketNewHandleGet(NvSciStreamBlock const block, NvSciStreamPacket *const handle)
    In producer and consumer blocks, queries the handle of a newly defined packet.
    NvSciStreamConsumerIndexGet
    NvSciError NvSciStreamConsumerIndexGet(NvSciStreamBlock const consumer, uint32_t *const index)
    Queries the index of the consumer block referenced by the given NvSciStreamBlock.
    NvSciStreamConsumerPacketRelease
    NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock const consumer, NvSciStreamPacket const handle)
    Instructs the consumer referenced by consumer to release the packet referenced by handle into the str...
    NvSciStreamBlock
    uintptr_t NvSciStreamBlock
    Handle to a block.
    Definition: nvscistream_types.h:79
    NvSciStreamIpcSrcCreate
    NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
    Creates an instance of IpcSrc block and returns a NvSciStreamBlock referencing the created IpcSrc blo...
    NvSciStreamBlockUserInfoGet
    NvSciError NvSciStreamBlockUserInfoGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, uint32_t const userType, uint32_t *const dataSize, void *const data)
    Queries the user-defined information with userType in list of endpoint information at the block from ...
    NvSciStreamBlockElementWaiterAttrSet
    NvSciError NvSciStreamBlockElementWaiterAttrSet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncAttrList const waitSyncAttrList)
    Specifies block's NvSciSync requirements to be able to wait for sync objects provided by the opposing...
    NvSciStreamBlockElementSignalObjSetWithCrc
    NvSciError NvSciStreamBlockElementSignalObjSetWithCrc(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncObj const signalSyncObj, uint32_t *const crc)
    Specifies block's NvSciSync object used to signal when it is done writing or reading a buffer referen...
    NvSciStreamPoolPacketComplete
    NvSciError NvSciStreamPoolPacketComplete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
    Marks a packet as complete and sends it to the rest of the stream.
    NvSciStreamAttributeQuery
    NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib const attr, int32_t *const value)
    Queries the value of one of the NvSciStreamQueryableAttrib.
    NvSciStreamBlockEventQuery
    NvSciError NvSciStreamBlockEventQuery(NvSciStreamBlock const block, int64_t const timeoutUsec, NvSciStreamEventType *const event)
    Queries for the next event from block referenced by the given NvSciStreamBlock, optionally waiting wh...
    NvSciStreamProducerPacketGet
    NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock const producer, NvSciStreamCookie *const cookie)
    Instructs the producer referenced by producer to retrieve a packet from the pool.
    NvSciStreamBlockEventServiceSetup
    NvSciError NvSciStreamBlockEventServiceSetup(NvSciStreamBlock const block, NvSciEventService *const eventService, NvSciEventNotifier **const eventNotifier)
    Sets up the NvSciEventService on a block referenced by the given NvSciStreamBlock by creating an NvSc...
    NvSciStreamPoolPacketInsertBufferWithCrc
    NvSciError NvSciStreamPoolPacketInsertBufferWithCrc(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj, uint32_t *const crc)
    Registers an NvSciBufObj as the indexed element of the referenced NvSciStreamPacket owned by the pool...
    NvSciStreamPacketSendSync
    NvSciError NvSciStreamPacketSendSync(NvSciStreamBlock const block)
    Enables the synchronous payload transfer during runtime.
    NvSciStreamBlockElementAttrGet
    NvSciError NvSciStreamBlockElementAttrGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const elemIndex, uint32_t *const userType, NvSciBufAttrList *const bufAttrList)
    Queries the user-defined type and/or buffer attribute list for an entry, referenced by elemIndex,...
    NvSciStreamBlockUserInfoGetWithCrc
    NvSciError NvSciStreamBlockUserInfoGetWithCrc(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, uint32_t const userType, uint32_t *const dataSize, void *const data, uint32_t *const crc)
    Queries the user-defined information with userType in list of endpoint information at the block from ...
    NvSciStreamLimiterCreate
    NvSciError NvSciStreamLimiterCreate(uint32_t const maxPackets, NvSciStreamBlock *const limiter)
    Creates an instance of Limiter block and returns a NvSciStreamBlock referencing the created Limiter b...
    NvSciStreamBlockConsumerCountGet
    NvSciError NvSciStreamBlockConsumerCountGet(NvSciStreamBlock const block, uint32_t *const numConsumers)
    Queries the number of consumers downstream of the block referenced by the given NvSciStreamBlock (or ...
    NvSciStreamConsumerPacketAcquire
    NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie)
    Instructs the consumer referenced by consumer to retrieve a packet from the queue.
    NvSciStreamFifoQueueCreate
    NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *const queue)
    Creates an instance of FIFO queue block and returns a NvSciStreamBlock referencing the created FIFO q...
    NvSciStreamProducerCreate
    NvSciError NvSciStreamProducerCreate(NvSciStreamBlock const pool, NvSciStreamBlock *const producer)
    Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamB...
    NvSciStreamReturnSyncCreate
    NvSciError NvSciStreamReturnSyncCreate(NvSciSyncModule const syncModule, NvSciStreamBlock *const returnSync)
    Creates an instance of ReturnSync block and returns a NvSciStreamBlock referencing the created Return...
    NvSciStreamStaticPoolCreate
    NvSciError NvSciStreamStaticPoolCreate(uint32_t const numPackets, NvSciStreamBlock *const pool)
    Creates an instance of static pool block and returns a NvSciStreamBlock referencing the created pool ...
    NvSciSyncAttrList
    struct NvSciSyncAttrListRec * NvSciSyncAttrList
    A container constituting an NvSciSyncAttrList which contains:
    Definition: nvscisync.h:330
    NvSciStreamBlockDisconnect
    NvSciError NvSciStreamBlockDisconnect(NvSciStreamBlock const block)
    Disconnects an IpcSrc block referenced by the given NvSciStreamBlock during streaming phase.
    NvSciBufObj
    struct NvSciBufObjRefRec * NvSciBufObj
    A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
    Definition: nvscibuf.h:3102
    NvSciEventNotifier
    An abstract interface to notify event to event consumer and to register event handler of the event co...
    Definition: nvscievent.h:420
    NvSciStreamBlockPacketBufferGet
    NvSciError NvSciStreamBlockPacketBufferGet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciBufObj *const bufObj)
    In producer and consumer blocks, queries an indexed buffer from a packet.
    nvscisync.h
    NVIDIA Software Communications Interface (SCI) : NvSciSync
    NvSciStreamQueryableAttrib
    NvSciStreamQueryableAttrib
    Defines NvSciStream attributes that are queryable.
    Definition: nvscistream_types.h:170
    NvSciStreamBlockSetupStatusSet
    NvSciError NvSciStreamBlockSetupStatusSet(NvSciStreamBlock const block, NvSciStreamSetup const setupType, bool const completed)
    Indicates a group of setup operations identified by setupType on block are complete.
    NvSciStreamBlockElementAttrGetWithCrc
    NvSciError NvSciStreamBlockElementAttrGetWithCrc(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const elemIndex, uint32_t *const userType, NvSciBufAttrList *const bufAttrList, uint32_t *const crc)
    Queries the user-defined type and/or buffer attribute list for an entry, referenced by elemIndex,...
    NvSciStreamBlockPacketFenceSet
    NvSciError NvSciStreamBlockPacketFenceSet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciSyncFence const *const postfence)
    Sets the postfence which indicates when the application controlling will be done operating on the ind...
    NvSciStreamBlockHandleInternalEvents
    NvSciError NvSciStreamBlockHandleInternalEvents(NvSciStreamBlock const block)
    Handle NvSciStream internal events on a block referenced by the given NvSciStreamBlock.
    NvSciStreamBlockInternalEventServiceSetup
    NvSciError NvSciStreamBlockInternalEventServiceSetup(NvSciStreamBlock const block, NvSciEventService *const eventService, uint32_t *const notifierCount, NvSciEventNotifier **const eventNotifierArray)
    Configures a block referenced by the given NvSciStreamBlock to use the user-provided NvSciEventServic...
    NvSciStreamMulticastCreate
    NvSciError NvSciStreamMulticastCreate(uint32_t const outputCount, NvSciStreamBlock *const multicast)
    Creates an instance of multicast block and returns a NvSciStreamBlock referencing the created multica...
    NvSciStreamIpcSrcCreate2
    NvSciError NvSciStreamIpcSrcCreate2(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock const queue, NvSciStreamBlock *const ipc)
    Creates an instance of IpcSrc or C2CSrc block and returns a NvSciStreamBlock referencing the created ...
    NvSciStreamSetup
    NvSciStreamSetup
    Setup information will be broken into several distinct groups, ! with restrictions on when they can b...
    Definition: nvscistream_types.h:199
    NvSciStreamBlockElementSignalObjGetWithCrc
    NvSciError NvSciStreamBlockElementSignalObjGetWithCrc(NvSciStreamBlock const block, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncObj *const signalSyncObj, uint32_t *const crc)
    Retrieves an opposing endpoint's NvSciSync object which it uses to signal when it is done writing or ...
    NvSciStreamNewConsumerGet
    NvSciError NvSciStreamNewConsumerGet(NvSciStreamBlock const producer, uint32_t const consumerIndex, bool *const newConnected)
    Queries whether the indexed consumer is a newly connected consumer.
    nvsciipc.h
    NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication
    NvSciStreamBlockPacketStatusSet
    NvSciError NvSciStreamBlockPacketStatusSet(NvSciStreamBlock const block, NvSciStreamPacket const handle, NvSciStreamCookie const cookie, NvSciError const status)
    In producer and consumer blocks, either accepts a packet, providing a cookie to be used in subsequent...
    NvSciStreamBlockUserInfoSetWithCrc
    NvSciError NvSciStreamBlockUserInfoSetWithCrc(NvSciStreamBlock const block, uint32_t const userType, uint32_t const dataSize, void const *const data, uint32_t *const crc)
    Provides user-defined information at the producer and consumer with the specified userType,...
    NvSciStreamCookie
    uintptr_t NvSciStreamCookie
    Application assigned cookie for a NvSciStreamPacket.
    Definition: nvscistream_types.h:87
    NvSciIpcEndpoint
    uint64_t NvSciIpcEndpoint
    Handle to the NvSciIpc endpoint.
    Definition: nvsciipc.h:302
    NvSciStreamBlockElementCountGet
    NvSciError NvSciStreamBlockElementCountGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t *const numElements)
    Queries the number of elements received at the block from the source identified by queryBlockType.
    nvscistream_types.h
    NVIDIA Software Communications Interface (SCI) : NvSciStream
    NvSciStreamProducerPacketPresent
    NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock const producer, NvSciStreamPacket const handle)
    Instructs the producer referenced by producer to insert the packet referenced by handle into the stre...
    NvSciStreamBlockPacketFenceSetWithCrc
    NvSciError NvSciStreamBlockPacketFenceSetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciSyncFence const *const postfence, uint32_t *const crc)
    Sets the postfence which indicates when the application controlling will be done operating on the ind...
    NvSciStreamBlockElementWaiterAttrGet
    NvSciError NvSciStreamBlockElementWaiterAttrGet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncAttrList *const waitSyncAttrList)
    Retrieves the opposing endpoints' NvSciSync requirements to be be able to wait for sync objects signa...
    NvSciStreamBlockPacketFenceGet
    NvSciError NvSciStreamBlockPacketFenceGet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncFence *const prefence)
    Retrieves the prefence which indicates when the the indexed opposing endpoint will be done operating ...
    NvSciStreamPacket
    uintptr_t NvSciStreamPacket
    NvSciStream assigned handle for a packet.
    Definition: nvscistream_types.h:82
    NvSciBufModule
    struct NvSciBufModuleRec * NvSciBufModule
    top-level container for the following set of resources: NvSciBufAttrLists, memory objects,...
    Definition: nvscibuf.h:3061
    NvSciBufAttrList
    struct NvSciBufAttrListRec * NvSciBufAttrList
    A container constituting an attribute list which contains.
    Definition: nvscibuf.h:3120
    NvSciStreamBlockElementAttrSet
    NvSciError NvSciStreamBlockElementAttrSet(NvSciStreamBlock const block, uint32_t const userType, NvSciBufAttrList const bufAttrList)
    Adds an element with the specified userType and bufAttrList to the list of elements defined by block.
    NvSciStreamPresentSyncCreate
    NvSciError NvSciStreamPresentSyncCreate(NvSciSyncModule const syncModule, NvSciStreamBlock *const presentSync)
    Creates an instance of PresentSync block and returns a NvSciStreamBlock referencing the created Prese...
    NvSciStreamIpcDstCreate
    NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
    Creates an instance of IpcDst block and returns a NvSciStreamBlock referencing the created IpcDst blo...
    NvSciStreamMailboxQueueCreate
    NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *const queue)
    Creates an instance of mailbox queue block and returns a NvSciStreamBlock referencing the created mai...
    NvSciStreamBlockElementSignalObjGet
    NvSciError NvSciStreamBlockElementSignalObjGet(NvSciStreamBlock const block, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncObj *const signalSyncObj)
    Retrieves an opposing endpoint's NvSciSync object which it uses to signal when it is done writing or ...
    NvSciSyncFence
    Defines the opaque NvSciSyncFence.
    Definition: nvscisync.h:256
    NvSciStreamPoolPacketStatusValueGet
    NvSciError NvSciStreamPoolPacketStatusValueGet(NvSciStreamBlock const pool, NvSciStreamPacket const handle, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, NvSciError *const status)
    In pool, queries the status value for a given packet returned by a specified endpoint.
    NvSciStreamBlockElementAttrSetWithCrc
    NvSciError NvSciStreamBlockElementAttrSetWithCrc(NvSciStreamBlock const block, uint32_t const userType, NvSciBufAttrList const bufAttrList, uint32_t *const crc)
    Adds an element with the specified userType and bufAttrList to the list of elements defined by block.
    nvscibuf.h
    NVIDIA Software Communications Interface (SCI) : NvSciBuf
    NvSciStreamProducerCreate2
    NvSciError NvSciStreamProducerCreate2(NvSciStreamBlock const pool, bool const crcValidate, NvSciStreamBlock *const producer)
    Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamB...
    NvSciStreamConsumerCreate2
    NvSciError NvSciStreamConsumerCreate2(NvSciStreamBlock const queue, bool const crcValidate, NvSciStreamBlock *const consumer)
    Creates an instance of consumer block, associates the given queue block referenced by the given NvSci...
    NvSciStreamPoolPacketStatusAcceptGet
    NvSciError NvSciStreamPoolPacketStatusAcceptGet(NvSciStreamBlock const pool, NvSciStreamPacket const handle, bool *const accepted)
    In pool, queries whether or not a packet has been accepted.
    NvSciStreamEventType
    NvSciStreamEventType
    Defines event types for the blocks.
    Definition: nvscistream_types.h:385
    NvSciStreamBlockDelete
    NvSciError NvSciStreamBlockDelete(NvSciStreamBlock const block)
    Schedules a block referenced by the given NvSciStreamBlock for destruction, disconnecting the block i...
    NvSciStreamBlockElementUsageSet
    NvSciError NvSciStreamBlockElementUsageSet(NvSciStreamBlock const block, uint32_t const elemIndex, bool const used)
    Indicates whether the entry at elemIndex in the list of allocated elements will be used by the block.
    NvSciStreamBlockConnect
    NvSciError NvSciStreamBlockConnect(NvSciStreamBlock const upstream, NvSciStreamBlock const downstream)
    Establishes connection between two blocks referenced by the given NvSciStreamBlock(s).
    NvSciStreamBlockPacketOldCookieGet
    NvSciError NvSciStreamBlockPacketOldCookieGet(NvSciStreamBlock const block, NvSciStreamCookie *const cookie)
    In producer and consumer blocks, queries the cookie of a recently deleted packet.
    NvSciStreamBlockPacketBufferGetWithCrc
    NvSciError NvSciStreamBlockPacketBufferGetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciBufObj *const bufObj, size_t const crcCount, uint32_t *const crc)
    In producer and consumer blocks, queries an indexed buffer from a packet.
    NvSciSyncModule
    struct NvSciSyncModuleRec * NvSciSyncModule
    Represents an instance of the NvSciSyncModule.
    Definition: nvscisync.h:211
    nvscierror.h
    NvSciStreamBlockErrorGet
    NvSciError NvSciStreamBlockErrorGet(NvSciStreamBlock const block, NvSciError *const status)
    Queries the error code for an error event.
    NvSciStreamIpcDstCreate2
    NvSciError NvSciStreamIpcDstCreate2(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock const pool, NvSciStreamBlock *const ipc)
    Creates an instance of IpcDst or C2CDst block and returns a NvSciStreamBlock referencing the created ...
    NvSciStreamConsumerCreate
    NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock const queue, NvSciStreamBlock *const consumer)
    Creates an instance of consumer block, associates the given queue block referenced by the given NvSci...
    NvSciSyncObj
    struct NvSciSyncObjRec * NvSciSyncObj
    A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
    Definition: nvscisync.h:311
    NvSciStreamPoolPacketInsertBuffer
    NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj)
    Registers an NvSciBufObj as the indexed element of the referenced NvSciStreamPacket owned by the pool...
    NvSciStreamBlockType
    NvSciStreamBlockType
    Most queries on one block request information received from ! another block.
    Definition: nvscistream_types.h:183
    NvSciStreamBlockElementNotVisible
    NvSciError NvSciStreamBlockElementNotVisible(NvSciStreamBlock const pool, uint32_t const userType, uint32_t const consumerIndex)
    Indicates the entry with userType in the list of allocated elements will NOT be visible to the consum...
    NvSciStreamBlockUserInfoSet
    NvSciError NvSciStreamBlockUserInfoSet(NvSciStreamBlock const block, uint32_t const userType, uint32_t const dataSize, void const *const data)
    Provides user-defined information at the producer and consumer with the specified userType,...
    NvSciEventService
    An abstract interface for a program's event handling infrastructure.
    Definition: nvscievent.h:266
    人人超碰97caoporen国产