NVIDIA DeepStream SDK API Reference

9.2 Release
ModelMuxStreamEntry Struct Reference

Detailed Description

Per-stream bookkeeping inside the ModelMuxBin: ONE record per attached stream (the routing-table row).

Holds the stream's entry wiring (its input demux pad + fan-out tee), its stable display column, and the two embedded role lanes (prim/shad). Stored in ModelMuxBin.stream_wiring keyed by source_id.

Definition at line 783 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

Collaboration diagram for ModelMuxStreamEntry:

Data Fields

guint stream_id
 
gint column
 global source_id from nvmultiurisrcbin
More...
 
guint branch_serial
 stable DISPLAY column [0,max_streams): primary -> out_mux slot=column (tile row 0), shadow -> slot=max_streams+column (tile row 1). More...
 
GstPad * demux_src
 unique lifetime suffix for deferred-free-safe branch-local element names
More...
 
GstPad * branch_tap_pad
 requested src pad on the bin's input demux
More...
 
gulong branch_tap_probe_id
 debug branch-in tap pad (held until teardown) More...
 
GstElement * tee
 
ModelMuxRoleAttach prim
 entry point + fan-out to roles
More...
 
ModelMuxRoleAttach shad
 
gpointer promote_ctx
 live ModelMuxPromoteCtx* while a passthru->model promote is mid-drain for THIS stream, else NULL. More...
 

Field Documentation

◆ branch_serial

guint ModelMuxStreamEntry::branch_serial

stable DISPLAY column [0,max_streams): primary -> out_mux slot=column (tile row 0), shadow -> slot=max_streams+column (tile row 1).

Recycled.

Definition at line 789 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ branch_tap_pad

GstPad * ModelMuxStreamEntry::branch_tap_pad

requested src pad on the bin's input demux

Definition at line 792 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ branch_tap_probe_id

gulong ModelMuxStreamEntry::branch_tap_probe_id

debug branch-in tap pad (held until teardown)

Definition at line 793 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ column

gint ModelMuxStreamEntry::column

global source_id from nvmultiurisrcbin

Definition at line 786 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ demux_src

GstPad * ModelMuxStreamEntry::demux_src

unique lifetime suffix for deferred-free-safe branch-local element names

Definition at line 791 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ prim

ModelMuxRoleAttach ModelMuxStreamEntry::prim

entry point + fan-out to roles

Definition at line 795 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ promote_ctx

gpointer ModelMuxStreamEntry::promote_ctx

live ModelMuxPromoteCtx* while a passthru->model promote is mid-drain for THIS stream, else NULL.

Weak back-pointer (the promote's deferred chain owns the ctx): lets a mid-drain stream teardown release the ctx-owned retired display slot SYNCHRONOUSLY instead of waiting for the next drain-poll tick (a racing re-add reusing the freed column would find 'sink_<col>' still taken). Set/cleared under ib->lock.

Definition at line 797 of file sources/gst-plugins/gst-nvmodelmux/gstnvmodelmux_priv.h.

◆ shad

ModelMuxRoleAttach ModelMuxStreamEntry::shad

◆ stream_id

guint ModelMuxStreamEntry::stream_id

◆ tee

GstElement * ModelMuxStreamEntry::tee

The documentation for this struct was generated from the following file: