Skip to main content

nodes Namespace

Definition

namespace simaai::neat::nodes { ... }

Namespaces Index

namespacegroups

Functions Index

std::shared_ptr< simaai::neat::Node >Custom (std::string fragment, simaai::neat::InputRole role=simaai::neat::InputRole::None)

Escape hatch — emit an arbitrary GStreamer launch-string fragment. More...

std::shared_ptr< simaai::neat::Node >CapsRaw (std::string format, int width=-1, int height=-1, int fps=-1, simaai::neat::CapsMemory memory=simaai::neat::CapsMemory::Any)

Generic caps filter — pin a format / dimensions / fps / memory at this point. More...

std::shared_ptr< simaai::neat::Node >CapsNV12SysMem (int w, int h, int fps)

Convenience: pin NV12 in system memory at the given resolution and fps. More...

std::shared_ptr< simaai::neat::Node >CapsI420 (int w, int h, int fps, simaai::neat::CapsMemory memory=simaai::neat::CapsMemory::Any)

Convenience: pin I420 at the given resolution / fps / memory tag. More...

std::shared_ptr< simaai::neat::Node >FileInput (std::string path)

Convenience factory for a FileInput Node. More...

std::shared_ptr< simaai::neat::Node >ImageDecode ()

Convenience factory for an ImageDecode Node. More...

std::shared_ptr< simaai::neat::Node >ImageFreeze (int num_buffers=-1)

Repeat one input frame as a continuous stream. More...

std::shared_ptr< simaai::neat::Node >JpegDecode ()

Convenience factory for a JpegDecode Node. More...

std::shared_ptr< simaai::neat::Node >Output (OutputOptions opt={})

Convenience factory for an Output Node with optional OutputOptions. More...

std::shared_ptr< simaai::neat::Node >Queue ()

Convenience factory for a Queue Node. More...

std::shared_ptr< simaai::neat::Node >VideoConvert ()

Convenience factory for a VideoConvert Node. More...

std::shared_ptr< simaai::neat::Node >VideoRate ()

Convenience factory for a VideoRate Node — pair with a downstream framerate caps filter. More...

std::shared_ptr< simaai::neat::Node >VideoScale ()

Convenience factory for a VideoScale Node. More...

std::shared_ptr< simaai::neat::Node >VideoTrackSelect (int video_pad_index=0)

Convenience factory for a VideoTrackSelect Node. More...

std::shared_ptr< simaai::neat::Node >Input (InputOptions opt={})

Convenience factory for an Input Node with optional InputOptions. More...

std::shared_ptr< simaai::neat::Node >RTSPInput (std::string url, int latency_ms=200, bool tcp=true, bool drop_on_latency=false, std::string buffer_mode="")

Convenience factory for an RTSPInput Node. More...

std::shared_ptr< simaai::neat::Node >StillImageInput (std::string image_path, simaai::neat::StillImageInput::ContentWidth content_w, simaai::neat::StillImageInput::ContentHeight content_h, simaai::neat::StillImageInput::EncodeWidth enc_w, simaai::neat::StillImageInput::EncodeHeight enc_h, simaai::neat::StillImageInput::FramesPerSecond fps)

Convenience factory for a StillImageInput Node. More...

std::shared_ptr< simaai::neat::Node >UdpOutput (UdpOutputOptions opt={})

Convenience factory for a UdpOutput Node with optional UdpOutputOptions. More...

std::shared_ptr< simaai::neat::Node >H264CapsFixup (int fallback_fps=30, int fallback_width=1280, int fallback_height=720)

Convenience factory for an H264CapsFixup Node. More...

std::shared_ptr< simaai::neat::Node >H264Depacketize (int payload_type=96, int h264_parse_config_interval=-1, int h264_fps=-1, int h264_width=-1, int h264_height=-1, bool enforce_h264_caps=true)

Convenience factory for an H264Depacketize Node. More...

std::shared_ptr< simaai::neat::Node >Cast (CastOptions opt={})

Convenience factory for a Cast Node with optional CastOptions. More...

std::shared_ptr< simaai::neat::Node >CastTess (CastTessOptions opt={})

Convenience factory for a CastTess Node with optional CastTessOptions. More...

std::shared_ptr< simaai::neat::Node >Dequant (DequantOptions opt={})

Convenience factory for a Dequant Node with optional DequantOptions. More...

std::shared_ptr< simaai::neat::Node >Detess (DetessOptions opt={})

Convenience factory for a Detess Node with optional DetessOptions. More...

std::shared_ptr< simaai::neat::Node >DetessCast (DetessCastOptions opt={})

Convenience factory for a DetessCast Node with optional DetessCastOptions. More...

std::shared_ptr< simaai::neat::Node >DetessDequant (DetessDequantOptions opt={})

Convenience factory for a DetessDequant Node with optional DetessDequantOptions. More...

std::shared_ptr< simaai::neat::Node >H264Decode (int sima_allocator_type=2, std::string out_format="NV12", std::string decoder_name={}, bool raw_output=false, std::string next_element={}, int dec_width=-1, int dec_height=-1, int dec_fps=-1, int num_buffers=-1)

Convenience factory for a hardware H264Decode Node — see the class docs for parameters. More...

std::shared_ptr< simaai::neat::Node >H264EncodeSima (int w, int h, int fps, int bitrate_kbps=4000, std::string profile="baseline", std::string level="4.0")

Convenience factory for a hardware H264EncodeSima Node. More...

std::shared_ptr< simaai::neat::Node >H264EncodeSW (int bitrate_kbps=4000)

Software H.264 encoder factory — picks x264enc/openh264enc/avenc_h264 at runtime. More...

std::shared_ptr< simaai::neat::Node >H264Packetize (simaai::neat::H264Packetize::PayloadType pt={}, simaai::neat::H264Packetize::ConfigInterval config_interval={})

Convenience factory for an H264Packetize Node. More...

std::shared_ptr< simaai::neat::Node >H264Parse (simaai::neat::H264ParseOptions opt)

Fully configurable H264Parse factory (power-user form). More...

std::shared_ptr< simaai::neat::Node >H264Parse (int config_interval=1)

Convenience: legacy behavior — only config_interval, no enforced caps. More...

std::shared_ptr< simaai::neat::Node >H264ParseAu (int config_interval=1)

Convenience preset: AU-aligned access units. More...

std::shared_ptr< simaai::neat::Node >H264ParseForRtp (int config_interval=1)

Convenience preset: streaming-safe defaults for RTP/RTSP publishing where late-joiners need SPS/PPS. More...

std::shared_ptr< simaai::neat::Node >PCIeSink (PCIeSinkOptions opt={})

Convenience factory for a PCIeSink Node with optional PCIeSinkOptions. More...

std::shared_ptr< simaai::neat::Node >PCIeSrc (PCIeSrcOptions opt={})

Convenience factory for a PCIeSrc Node with optional PCIeSrcOptions. More...

std::shared_ptr< simaai::neat::Node >Preproc (PreprocOptions opt={})

Convenience factory for a Preproc Node with optional PreprocOptions. More...

std::shared_ptr< simaai::neat::Node >Quant (QuantOptions opt={})

Convenience factory for a Quant Node with optional QuantOptions. More...

std::shared_ptr< simaai::neat::Node >QuantTess (QuantTessOptions opt={})

Convenience factory for a QuantTess Node with optional QuantTessOptions. More...

std::shared_ptr< simaai::neat::Node >SimaArgMax (SimaArgMaxOptions opt={})

Convenience factory for a SimaArgMax Node with optional SimaArgMaxOptions. More...

std::shared_ptr< simaai::neat::Node >SimaBoxDecode (BoxDecodeType decode_type, double detection_threshold=0.0, double nms_iou_threshold=0.0, int top_k=0, const std::string &element_name="", int original_width=0, int original_height=0, int model_width=0, int model_height=0, BoxDecodeTypeOption decode_type_option=BoxDecodeTypeOption::Auto)

Convenience factory for SimaBoxDecode from raw geometry — see the class constructor docs. More...

std::shared_ptr< simaai::neat::Node >SimaBoxDecode (const simaai::neat::Model &model, BoxDecodeType decode_type, double detection_threshold=0.0, double nms_iou_threshold=0.0, int top_k=0, const std::string &element_name="", std::optional< bool > route_tess_needed=std::nullopt, std::optional< bool > route_quant_needed=std::nullopt, int original_width=0, int original_height=0, int model_width=0, int model_height=0, std::optional< ResizeMode > resize_mode_override=std::nullopt, BoxDecodeTypeOption decode_type_option=BoxDecodeTypeOption::Auto)

Convenience factory for SimaBoxDecode from a bound Model — see the class constructor docs. More...

std::shared_ptr< simaai::neat::Node >SimaRender (SimaRenderOptions opt={})

Convenience factory for a SimaRender Node with optional SimaRenderOptions. More...

std::shared_ptr< simaai::neat::Node >Tess (TessOptions opt={})

Convenience factory for a Tess Node with optional TessOptions. More...

Functions

CapsI420()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::CapsI420 (int w, int h, int fps, simaai::neat::CapsMemory memory=simaai::neat::CapsMemory::Any)

Convenience: pin I420 at the given resolution / fps / memory tag.

Definition at line 50 of file Caps.h.

CapsNV12SysMem()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::CapsNV12SysMem (int w, int h, int fps)

Convenience: pin NV12 in system memory at the given resolution and fps.

Definition at line 47 of file Caps.h.

CapsRaw()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::CapsRaw (std::string format, int width=-1, int height=-1, int fps=-1, simaai::neat::CapsMemory memory=simaai::neat::CapsMemory::Any)

Generic caps filter — pin a format / dimensions / fps / memory at this point.

Parameters
format

Caps format string (e.g., "NV12", "RGB").

width

Width in pixels, or -1 to leave unconstrained.

height

Height in pixels, or -1 to leave unconstrained.

fps

Frame rate, or -1 to leave unconstrained.

memory

Memory tag (e.g., Any, SysMem, MlaShm).

Definition at line 43 of file Caps.h.

Cast()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Cast (CastOptions opt={})

Convenience factory for a Cast Node with optional CastOptions.

Definition at line 107 of file Cast.h.

CastTess()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::CastTess (CastTessOptions opt={})

Convenience factory for a CastTess Node with optional CastTessOptions.

Definition at line 121 of file CastTess.h.

Custom()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Custom (std::string fragment, simaai::neat::InputRole role=simaai::neat::InputRole::None)

Escape hatch — emit an arbitrary GStreamer launch-string fragment.

Use only when no typed Node fits. Element names inside fragment should follow the n<idx>_<role> convention if you want them to show up cleanly in Session::describe().

Parameters
fragment

Raw GStreamer fragment text (no leading !).

role

The Node's InputRole. Set to Source if your fragment generates input; Push if it accepts external samples; default None for an internal stage.

Definition at line 32 of file Caps.h.

Dequant()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Dequant (DequantOptions opt={})

Convenience factory for a Dequant Node with optional DequantOptions.

Definition at line 115 of file Dequant.h.

Detess()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Detess (DetessOptions opt={})

Convenience factory for a Detess Node with optional DetessOptions.

Definition at line 127 of file Detess.h.

DetessCast()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::DetessCast (DetessCastOptions opt={})

Convenience factory for a DetessCast Node with optional DetessCastOptions.

Definition at line 121 of file DetessCast.h.

DetessDequant()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::DetessDequant (DetessDequantOptions opt={})

Convenience factory for a DetessDequant Node with optional DetessDequantOptions.

Definition at line 124 of file DetessDequant.h.

FileInput()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::FileInput (std::string path)

Convenience factory for a FileInput Node.

Definition at line 71 of file FileInput.h.

H264CapsFixup()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264CapsFixup (int fallback_fps=30, int fallback_width=1280, int fallback_height=720)

Convenience factory for an H264CapsFixup Node.

Definition at line 72 of file H264CapsFixup.h.

H264Decode()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264Decode (int sima_allocator_type=2, std::string out_format="NV12", std::string decoder_name={}, bool raw_output=false, std::string next_element={}, int dec_width=-1, int dec_height=-1, int dec_fps=-1, int num_buffers=-1)

Convenience factory for a hardware H264Decode Node — see the class docs for parameters.

Definition at line 118 of file H264DecodeSima.h.

H264Depacketize()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264Depacketize (int payload_type=96, int h264_parse_config_interval=-1, int h264_fps=-1, int h264_width=-1, int h264_height=-1, bool enforce_h264_caps=true)

Convenience factory for an H264Depacketize Node.

Definition at line 91 of file H264Depacketize.h.

H264EncodeSima()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264EncodeSima (int w, int h, int fps, int bitrate_kbps=4000, std::string profile="baseline", std::string level="4.0")

Convenience factory for a hardware H264EncodeSima Node.

Definition at line 96 of file H264EncodeSima.h.

H264EncodeSW()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264EncodeSW (int bitrate_kbps=4000)

Software H.264 encoder factory — picks x264enc/openh264enc/avenc_h264 at runtime.

Definition at line 101 of file H264EncodeSima.h.

H264Packetize()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264Packetize (simaai::neat::H264Packetize::PayloadType pt={}, simaai::neat::H264Packetize::ConfigInterval config_interval={})

Convenience factory for an H264Packetize Node.

Definition at line 78 of file H264Packetize.h.

H264Parse()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264Parse (simaai::neat::H264ParseOptions opt)

Fully configurable H264Parse factory (power-user form).

Definition at line 95 of file H264Parse.h.

H264Parse()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264Parse (int config_interval=1)
inline

Convenience: legacy behavior — only config_interval, no enforced caps.

Definition at line 98 of file H264Parse.h.

98inline std::shared_ptr<simaai::neat::Node> H264Parse(int config_interval = 1) {
100 opt.config_interval = config_interval;
101 opt.enforce_caps = false;
102 return H264Parse(opt);
103}

H264ParseAu()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264ParseAu (int config_interval=1)
inline

Convenience preset: AU-aligned access units.

Default for demux→decode paths where AU boundaries matter.

Definition at line 107 of file H264Parse.h.

107inline std::shared_ptr<simaai::neat::Node> H264ParseAu(int config_interval = 1) {
109 opt.config_interval = config_interval;
110 opt.enforce_caps = true;
112 // stream_format left Auto unless you know you need ByteStream/AVC.
113 return H264Parse(opt);
114}

H264ParseForRtp()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::H264ParseForRtp (int config_interval=1)
inline

Convenience preset: streaming-safe defaults for RTP/RTSP publishing where late-joiners need SPS/PPS.

Definition at line 118 of file H264Parse.h.

118inline std::shared_ptr<simaai::neat::Node> H264ParseForRtp(int config_interval = 1) {
120 opt.config_interval = config_interval; // usually 1
121 opt.enforce_caps = true;
123 // stream_format left Auto to avoid forcing an incorrect mode for some MPKs.
124 return H264Parse(opt);
125}

ImageDecode()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::ImageDecode ()

Convenience factory for an ImageDecode Node.

Definition at line 45 of file ImageDecode.h.

ImageFreeze()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::ImageFreeze (int num_buffers=-1)

Repeat one input frame as a continuous stream.

Parameters
num_buffers

Number of frames to emit. -1 means unlimited (until EOS).

Definition at line 20 of file ImageFreeze.h.

Input()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Input (InputOptions opt={})

Convenience factory for an Input Node with optional InputOptions.

Definition at line 168 of file Input.h.

JpegDecode()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::JpegDecode ()

Convenience factory for a JpegDecode Node.

Definition at line 43 of file JpegDecode.h.

Output()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Output (OutputOptions opt={})

Convenience factory for an Output Node with optional OutputOptions.

Definition at line 79 of file Output.h.

PCIeSink()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::PCIeSink (PCIeSinkOptions opt={})

Convenience factory for a PCIeSink Node with optional PCIeSinkOptions.

Definition at line 92 of file PCIeSink.h.

PCIeSrc()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::PCIeSrc (PCIeSrcOptions opt={})

Convenience factory for a PCIeSrc Node with optional PCIeSrcOptions.

Definition at line 88 of file PCIeSrc.h.

Preproc()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Preproc (PreprocOptions opt={})

Convenience factory for a Preproc Node with optional PreprocOptions.

Definition at line 254 of file Preproc.h.

Quant()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Quant (QuantOptions opt={})

Convenience factory for a Quant Node with optional QuantOptions.

Definition at line 120 of file Quant.h.

QuantTess()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::QuantTess (QuantTessOptions opt={})

Convenience factory for a QuantTess Node with optional QuantTessOptions.

Definition at line 121 of file QuantTess.h.

Queue()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Queue ()

Convenience factory for a Queue Node.

Definition at line 49 of file Queue.h.

RTSPInput()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::RTSPInput (std::string url, int latency_ms=200, bool tcp=true, bool drop_on_latency=false, std::string buffer_mode="")

Convenience factory for an RTSPInput Node.

Definition at line 89 of file RTSPInput.h.

SimaArgMax()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::SimaArgMax (SimaArgMaxOptions opt={})

Convenience factory for a SimaArgMax Node with optional SimaArgMaxOptions.

Definition at line 81 of file SimaArgMax.h.

SimaBoxDecode()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::SimaBoxDecode (BoxDecodeType decode_type, double detection_threshold=0, double nms_iou_threshold=0, int top_k=0, const std::string & element_name="", int original_width=0, int original_height=0, int model_width=0, int model_height=0, BoxDecodeTypeOption decode_type_option=BoxDecodeTypeOption::Auto)

Convenience factory for SimaBoxDecode from raw geometry — see the class constructor docs.

Definition at line 194 of file SimaBoxDecode.h.

SimaBoxDecode()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::SimaBoxDecode (const simaai::neat::Model & model, BoxDecodeType decode_type, double detection_threshold=0, double nms_iou_threshold=0, int top_k=0, const std::string & element_name="", std::optional< bool > route_tess_needed=std::nullopt, std::optional< bool > route_quant_needed=std::nullopt, int original_width=0, int original_height=0, int model_width=0, int model_height=0, std::optional< ResizeMode > resize_mode_override=std::nullopt, BoxDecodeTypeOption decode_type_option=BoxDecodeTypeOption::Auto)

Convenience factory for SimaBoxDecode from a bound Model — see the class constructor docs.

Definition at line 201 of file SimaBoxDecode.h.

SimaRender()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::SimaRender (SimaRenderOptions opt={})

Convenience factory for a SimaRender Node with optional SimaRenderOptions.

Definition at line 82 of file SimaRender.h.

StillImageInput()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::StillImageInput (std::string image_path, simaai::neat::StillImageInput::ContentWidth content_w, simaai::neat::StillImageInput::ContentHeight content_h, simaai::neat::StillImageInput::EncodeWidth enc_w, simaai::neat::StillImageInput::EncodeHeight enc_h, simaai::neat::StillImageInput::FramesPerSecond fps)

Convenience factory for a StillImageInput Node.

Definition at line 152 of file StillImageInput.h.

Tess()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::Tess (TessOptions opt={})

Convenience factory for a Tess Node with optional TessOptions.

Definition at line 121 of file Tess.h.

UdpOutput()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::UdpOutput (UdpOutputOptions opt={})

Convenience factory for a UdpOutput Node with optional UdpOutputOptions.

Definition at line 66 of file UdpOutput.h.

VideoConvert()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::VideoConvert ()

Convenience factory for a VideoConvert Node.

Definition at line 46 of file VideoConvert.h.

VideoRate()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::VideoRate ()

Convenience factory for a VideoRate Node — pair with a downstream framerate caps filter.

Definition at line 17 of file VideoRate.h.

VideoScale()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::VideoScale ()

Convenience factory for a VideoScale Node.

Definition at line 44 of file VideoScale.h.

VideoTrackSelect()

std::shared_ptr< simaai::neat::Node > simaai::neat::nodes::VideoTrackSelect (int video_pad_index=0)

Convenience factory for a VideoTrackSelect Node.

Definition at line 57 of file VideoTrackSelect.h.


The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.