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.9 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-2023 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 
    207  NvSciStreamBlock const upstream,
    208  NvSciStreamBlock const downstream
    209 );
    210 
    264  NvSciStreamBlock const pool,
    265  NvSciStreamBlock *const producer
    266 );
    267 
    268 
    327  NvSciStreamBlock const pool,
    328  bool const crcValidate,
    329  NvSciStreamBlock *const producer
    330 );
    331 
    385  NvSciStreamBlock const queue,
    386  NvSciStreamBlock *const consumer
    387 );
    388 
    389 
    451  NvSciStreamBlock const queue,
    452  bool const crcValidate,
    453  NvSciStreamBlock *const consumer
    454 );
    455 
    456 
    505  uint32_t const numPackets,
    506  NvSciStreamBlock *const pool
    507 );
    508 
    559  NvSciStreamBlock *const queue
    560 );
    561 
    611  NvSciStreamBlock *const queue
    612 );
    613 
    663  uint32_t const outputCount,
    664  NvSciStreamBlock *const multicast
    665 );
    666 
    722  NvSciIpcEndpoint const ipcEndpoint,
    723  NvSciSyncModule const syncModule,
    724  NvSciBufModule const bufModule,
    725  NvSciStreamBlock *const ipc
    726 );
    727 
    807  NvSciIpcEndpoint const ipcEndpoint,
    808  NvSciSyncModule const syncModule,
    809  NvSciBufModule const bufModule,
    810  NvSciStreamBlock const queue,
    811  NvSciStreamBlock *const ipc
    812 );
    813 
    869  NvSciIpcEndpoint const ipcEndpoint,
    870  NvSciSyncModule const syncModule,
    871  NvSciBufModule const bufModule,
    872  NvSciStreamBlock *const ipc
    873 );
    874 
    948  NvSciIpcEndpoint const ipcEndpoint,
    949  NvSciSyncModule const syncModule,
    950  NvSciBufModule const bufModule,
    951  NvSciStreamBlock const pool,
    952  NvSciStreamBlock *const ipc
    953 );
    954 
    1001  uint32_t const maxPackets,
    1002  NvSciStreamBlock *const limiter
    1003 );
    1004 
    1005 
    1052  NvSciSyncModule const syncModule,
    1053  NvSciStreamBlock *const returnSync
    1054 );
    1055 
    1101  NvSciSyncModule const syncModule,
    1102  NvSciStreamBlock *const presentSync
    1103 );
    1104 
    1165  NvSciStreamBlock const block,
    1166  int64_t const timeoutUsec,
    1167  NvSciStreamEventType *const event
    1168 );
    1169 
    1206 NvSciError
    1208  NvSciStreamBlock const block,
    1209  NvSciError* const status
    1210 );
    1211 
    1250 NvSciError
    1252  NvSciStreamBlock const block,
    1253  uint32_t* const numConsumers
    1254 );
    1255 
    1306 NvSciError
    1308  NvSciStreamBlock const block,
    1309  NvSciStreamSetup const setupType,
    1310  bool const completed
    1311 );
    1312 
    1372 NvSciError
    1374  NvSciStreamBlock const block,
    1375  uint32_t const userType,
    1376  NvSciBufAttrList const bufAttrList
    1377 );
    1378 
    1437 NvSciError
    1439  NvSciStreamBlock const block,
    1440  NvSciStreamBlockType const queryBlockType,
    1441  uint32_t* const numElements
    1442 );
    1443 
    1512 NvSciError
    1514  NvSciStreamBlock const block,
    1515  NvSciStreamBlockType const queryBlockType,
    1516  uint32_t const elemIndex,
    1517  uint32_t* const userType,
    1518  NvSciBufAttrList* const bufAttrList
    1519 );
    1520 
    1571 NvSciError
    1573  NvSciStreamBlock const pool,
    1574  uint32_t const userType,
    1575  uint32_t const consumerIndex
    1576 );
    1577 
    1628 NvSciError
    1630  NvSciStreamBlock const block,
    1631  uint32_t const elemIndex,
    1632  bool const used
    1633 );
    1634 
    1685  NvSciStreamBlock const pool,
    1686  NvSciStreamCookie const cookie,
    1687  NvSciStreamPacket *const handle
    1688 );
    1689 
    1732  NvSciStreamBlock const pool,
    1733  NvSciStreamPacket const handle,
    1734  uint32_t const index,
    1735  NvSciBufObj const bufObj
    1736 );
    1737 
    1772 NvSciError
    1774  NvSciStreamBlock const pool,
    1775  NvSciStreamPacket const handle
    1776 );
    1777 
    1816 NvSciError
    1818  NvSciStreamBlock const pool,
    1819  NvSciStreamPacket const handle
    1820 );
    1821 
    1861 NvSciError
    1863  NvSciStreamBlock const block,
    1864  NvSciStreamPacket* const handle
    1865 );
    1866 
    1910 NvSciError
    1912  NvSciStreamBlock const block,
    1913  NvSciStreamPacket const handle,
    1914  uint32_t const elemIndex,
    1915  NvSciBufObj* const bufObj
    1916 );
    1917 
    1956 NvSciError
    1958  NvSciStreamBlock const block,
    1959  NvSciStreamCookie* const cookie
    1960 );
    1961 
    2007 NvSciError
    2009  NvSciStreamBlock const block,
    2010  NvSciStreamPacket const handle,
    2011  NvSciStreamCookie const cookie,
    2012  NvSciError const status
    2013 );
    2014 
    2050 NvSciError
    2052  NvSciStreamBlock const pool,
    2053  NvSciStreamPacket const handle,
    2054  bool* const accepted
    2055 );
    2056 
    2098 NvSciError
    2100  NvSciStreamBlock const pool,
    2101  NvSciStreamPacket const handle,
    2102  NvSciStreamBlockType const queryBlockType,
    2103  uint32_t const queryBlockIndex,
    2104  NvSciError* const status
    2105 );
    2106 
    2152 NvSciError
    2154  NvSciStreamBlock const block,
    2155  uint32_t const elemIndex,
    2156  NvSciSyncAttrList const waitSyncAttrList
    2157 );
    2158 
    2206 NvSciError
    2208  NvSciStreamBlock const block,
    2209  uint32_t const elemIndex,
    2210  NvSciSyncAttrList* const waitSyncAttrList
    2211 );
    2212 
    2260 NvSciError
    2262  NvSciStreamBlock const block,
    2263  uint32_t const elemIndex,
    2264  NvSciSyncObj const signalSyncObj
    2265 );
    2266 
    2325 NvSciError
    2327  NvSciStreamBlock const block,
    2328  uint32_t const queryBlockIndex,
    2329  uint32_t const elemIndex,
    2330  NvSciSyncObj* const signalSyncObj
    2331 );
    2332 
    2378  NvSciStreamBlock const producer,
    2379  NvSciStreamCookie *const cookie
    2380 );
    2381 
    2419  NvSciStreamBlock const producer,
    2420  NvSciStreamPacket const handle
    2421 );
    2422 
    2468  NvSciStreamBlock const consumer,
    2469  NvSciStreamCookie *const cookie
    2470 );
    2471 
    2509  NvSciStreamBlock const consumer,
    2510  NvSciStreamPacket const handle
    2511 );
    2512 
    2557 NvSciError
    2559  NvSciStreamBlock const block,
    2560  NvSciStreamPacket const handle,
    2561  uint32_t const elemIndex,
    2562  NvSciSyncFence const *const postfence
    2563 );
    2564 
    2612 NvSciError
    2614  NvSciStreamBlock const block,
    2615  NvSciStreamPacket const handle,
    2616  uint32_t const queryBlockIndex,
    2617  uint32_t const elemIndex,
    2618  NvSciSyncFence* const prefence
    2619 );
    2620 
    2662 NvSciError
    2664  NvSciStreamBlock const producer,
    2665  uint32_t const consumerIndex,
    2666  bool* const newConnected );
    2667 
    2715  NvSciStreamBlock const block
    2716 );
    2717 
    2718 
    2756  NvSciStreamBlock const block
    2757 );
    2758 
    2793  NvSciStreamQueryableAttrib const attr,
    2794  int32_t *const value
    2795 );
    2796 
    2851  NvSciStreamBlock const block,
    2852  NvSciEventService *const eventService,
    2853  NvSciEventNotifier **const eventNotifier
    2854 );
    2855 
    2926 NvSciError
    2928  NvSciStreamBlock const block,
    2929  NvSciEventService* const eventService,
    2930  uint32_t* const notifierCount,
    2931  NvSciEventNotifier** const eventNotifierArray
    2932 );
    2933 
    2977 NvSciError
    2979  NvSciStreamBlock const block
    2980 );
    2981 
    3025 NvSciError
    3027  NvSciStreamBlock const block,
    3028  uint32_t const userType,
    3029  uint32_t const dataSize,
    3030  void const* const data);
    3031 
    3088 NvSciError
    3090  NvSciStreamBlock const block,
    3091  NvSciStreamBlockType const queryBlockType,
    3092  uint32_t const queryBlockIndex,
    3093  uint32_t const userType,
    3094  uint32_t* const dataSize,
    3095  void* const data);
    3096 
    3147 NvSciError
    3149  NvSciStreamBlock const block,
    3150  uint32_t const userType,
    3151  uint32_t const dataSize,
    3152  void const* const data,
    3153  uint32_t* const crc);
    3154 
    3218 NvSciError
    3220  NvSciStreamBlock const block,
    3221  NvSciStreamBlockType const queryBlockType,
    3222  uint32_t const queryBlockIndex,
    3223  uint32_t const userType,
    3224  uint32_t* const dataSize,
    3225  void* const data,
    3226  uint32_t* const crc);
    3227 
    3294 NvSciError
    3296  NvSciStreamBlock const block,
    3297  uint32_t const userType,
    3298  NvSciBufAttrList const bufAttrList,
    3299  uint32_t* const crc);
    3300 
    3376 NvSciError
    3378  NvSciStreamBlock const block,
    3379  NvSciStreamBlockType const queryBlockType,
    3380  uint32_t const elemIndex,
    3381  uint32_t* const userType,
    3382  NvSciBufAttrList* const bufAttrList,
    3383  uint32_t* const crc);
    3384 
    3433 NvSciError
    3435  NvSciStreamBlock const pool,
    3436  NvSciStreamPacket const handle,
    3437  uint32_t const index,
    3438  NvSciBufObj const bufObj,
    3439  uint32_t* const crc);
    3440 
    3492 NvSciError
    3494  NvSciStreamBlock const block,
    3495  NvSciStreamPacket const handle,
    3496  uint32_t const elemIndex,
    3497  NvSciBufObj* const bufObj,
    3498  size_t const crcCount,
    3499  uint32_t* const crc);
    3500 
    3555 NvSciError
    3557  NvSciStreamBlock const block,
    3558  uint32_t const elemIndex,
    3559  NvSciSyncObj const signalSyncObj,
    3560  uint32_t* const crc);
    3561 
    3627 NvSciError
    3629  NvSciStreamBlock const block,
    3630  uint32_t const queryBlockIndex,
    3631  uint32_t const elemIndex,
    3632  NvSciSyncObj* const signalSyncObj,
    3633  uint32_t* const crc);
    3634 
    3686 NvSciError
    3688  NvSciStreamBlock const block,
    3689  NvSciStreamPacket const handle,
    3690  uint32_t const elemIndex,
    3691  NvSciSyncFence const *const postfence,
    3692  uint32_t* const crc);
    3693 
    3748 NvSciError
    3750  NvSciStreamBlock const block,
    3751  NvSciStreamPacket const handle,
    3752  uint32_t const queryBlockIndex,
    3753  uint32_t const elemIndex,
    3754  NvSciSyncFence* const prefence,
    3755  uint32_t* const crc);
    3756 
    3791 NvSciError
    3793  NvSciStreamBlock const consumer,
    3794  uint32_t* const index);
    3795 
    3839 NvSciError
    3841  NvSciStreamBlock const block);
    3842 
    3843 #ifdef __cplusplus
    3844 }
    3845 #endif
    3846 
    3848 #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.
    NvSciBufObj
    struct NvSciBufObjRefRec * NvSciBufObj
    A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
    Definition: nvscibuf.h:3108
    NvSciEventNotifier
    An abstract interface to notify event to event consumer and to register event handler of the event co...
    Definition: nvscievent.h:435
    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:322
    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:3067
    NvSciBufAttrList
    struct NvSciBufAttrListRec * NvSciBufAttrList
    A container constituting an attribute list which contains.
    Definition: nvscibuf.h:3126
    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 be visible to the consumer b...
    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:281
    人人超碰97caoporen国产