Completing Buffer Setup
When the producer and consumers accept a packet, a the pool receives the
NvSciStreamEventType_PacketStatus
event. The pool application calls
NvSciStreamPoolPacketStatusAcceptGet()
for the acceptance status of a
packet. If the packet is not accepted by producer or consumers, the pool application can call
NvSciStreamPoolPacketStatusValueGet()
to get the error code.
After receiving the acceptance status of all packets, the pool application calls the
NvSciStreamBlockSetupStatusSet()
function with a value of
NvSciStreamSetup_PacketImport
to complete the buffer setup.
NvSciError
NvSciStreamPoolPacketStatusAcceptGet(
NvSciStreamBlock const pool,
NvSciStreamPacket const handle,
bool* const acccepted
)
NvSciError
NvSciStreamPoolPacketStatusValueGet(
NvSciStreamBlock const pool,
NvSciStreamPacket const handle,
NvSciStreamBlockType const queryBlockType,
uint32_t const queryBlockIndex,
NvSciError* const status
)