Skip to main content

Graph fragments

Higher-level reusable Graph fragments composed of multiple nodes. More...

Classes Index

structHttpMjpegDecodedInputOptions

Configuration for HttpMjpegDecodedInput. More...

structImageInputGroupOptions

Configuration for ImageInputGroup. More...

structInferOptions

Tunables for the preprocess and combined-infer Graph fragments. More...

structRtspDecodedInputOptions

Configuration for RtspDecodedInput. More...

structRtspEncodedInputOptions

Configuration for RtspEncodedInput. More...

structUdpH264OutputGroupOptions

Configuration for UdpH264OutputGroup. More...

structUdpOutputGroupGOptions

Configuration for UdpOutputGroupG. More...

structVideoInputGroupOptions

Configuration for VideoInputGroup. More...

Functions Index

OutputSpecHttpMjpegDecodedInputOutputSpec (const HttpMjpegDecodedInputOptions &opt)

Project a HttpMjpegDecodedInputOptions into the OutputSpec the fragment will advertise. More...

OutputSpecImageInputGroupOutputSpec (const ImageInputGroupOptions &opt)

Project an ImageInputGroupOptions into the OutputSpec the fragment will advertise. More...

OutputSpecRtspEncodedInputOutputSpec (const RtspEncodedInputOptions &opt)

Project a RtspEncodedInputOptions into the OutputSpec the fragment will advertise. More...

OutputSpecRtspDecodedInputOutputSpec (const RtspDecodedInputOptions &opt)

Project an RtspDecodedInputOptions into the OutputSpec the fragment will advertise. More...

OutputSpecVideoInputGroupOutputSpec (const VideoInputGroupOptions &opt)

Project a VideoInputGroupOptions into the OutputSpec the fragment will advertise. More...

simaai::neat::GraphHttpMjpegDecodedInput (const HttpMjpegDecodedInputOptions &opt)

Build the HTTP MJPEG input Graph: HTTP source, multipart demux, JPEG parse, decode. More...

simaai::neat::GraphImageInputGroup (const ImageInputGroupOptions &opt)

Build an image-input Graph: file source, decoder, and imagefreeze to a video stream. More...

simaai::neat::Graphpreprocessing (const std::string &tar_gz, const InferOptions &opt={})

Build the preprocess Graph fragment for a model, given a model archive path. More...

simaai::neat::Graphsimple_infer (const std::string &tar_gz)

Build a single-stage MLA-inference Graph fragment from a model archive, with default options. More...

simaai::neat::Graphpostprocessing (const std::string &tar_gz)

Build the postprocess Graph fragment for a model, given a model archive path. More...

simaai::neat::Graphinfer (const std::string &tar_gz)

Build the current inference-only Graph fragment from a model archive. More...

simaai::neat::Graphinfer (const std::string &tar_gz, const InferOptions &opt)

Build the current inference-only Graph fragment with explicit options. More...

simaai::neat::GraphPreprocess (const simaai::neat::Model &model)

Build the preprocess Graph fragment from an already-parsed Model. More...

simaai::neat::GraphMLA (const simaai::neat::Model &model)

Build the MLA-inference Graph fragment from an already-parsed Model. More...

simaai::neat::GraphPostprocess (const simaai::neat::Model &model)

Build the postprocess Graph fragment from an already-parsed Model. More...

simaai::neat::GraphInfer (const simaai::neat::Model &model)

Build the current inference-only Graph fragment from an already-parsed Model. More...

simaai::neat::GraphRtspDecodedInput (const RtspDecodedInputOptions &opt)

Build the live-RTSP input Graph: source, depayload+parse, hardware decode. More...

simaai::neat::GraphRtspEncodedInput (const RtspEncodedInputOptions &opt)

Build the live-RTSP encoded input Graph. More...

simaai::neat::GraphUdpH264OutputGroup (const UdpH264OutputGroupOptions &opt)

Build a Graph that H.264-encodes, RTP-packetizes, and sends frames over UDP. More...

simaai::neat::GraphUdpOutputGroupG (const UdpOutputGroupGOptions &opt)

Build a Graph that renders, encodes, and sends frames over UDP. More...

simaai::neat::GraphVideoInputGroup (const VideoInputGroupOptions &opt)

Build the video-file input Graph: file source, demux, H.264 parse, hardware decode. More...

Description

Higher-level reusable Graph fragments composed of multiple nodes.

Functions

HttpMjpegDecodedInput()

simaai::neat::Graph simaai::neat::nodes::groups::HttpMjpegDecodedInput (const HttpMjpegDecodedInputOptions & opt)

Build the HTTP MJPEG input Graph: HTTP source, multipart demux, JPEG parse, decode.

Typical chain: souphttpsrc -> multipartdemux -> jpegparse -> SiMa native MJPEG decoder -> optional videoconvert / videoscale.

Parameters
opt

Configuration (URL, source/framing options, decoder output, caps).

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

RtspDecodedInput

See Also

SimaDecode

Definition at line 89 of file HttpMjpegDecodedInput.h.

HttpMjpegDecodedInputOutputSpec()

OutputSpec simaai::neat::nodes::groups::HttpMjpegDecodedInputOutputSpec (const HttpMjpegDecodedInputOptions & opt)

Project a HttpMjpegDecodedInputOptions into the OutputSpec the fragment will advertise.

Parameters
opt

HTTP MJPEG group options (url, framing, decoder, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 35 of file GroupOutputSpec.h.

ImageInputGroup()

simaai::neat::Graph simaai::neat::nodes::groups::ImageInputGroup (const ImageInputGroupOptions & opt)

Build an image-input Graph: file source, decoder, and imagefreeze to a video stream.

Typical chain: FileInput -> image decoder (decodebin / jpegdec / pngdec / SiMa decoder) -> optional videoconvert/videorate/videoscale -> imagefreeze with the configured output caps. Use this when a Graph should be driven by a single still image rather than a live or file-based video source.

Parameters
opt

Configuration controlling source path, decoder backend, and output caps.

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

VideoInputGroup

See Also

RtspDecodedInput

Definition at line 99 of file ImageInputGroup.h.

ImageInputGroupOutputSpec()

OutputSpec simaai::neat::nodes::groups::ImageInputGroupOutputSpec (const ImageInputGroupOptions & opt)

Project an ImageInputGroupOptions into the OutputSpec the fragment will advertise.

Parameters
opt

Image-input group options (path, decoder, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 43 of file GroupOutputSpec.h.

infer()

simaai::neat::Graph simaai::neat::nodes::groups::infer (const std::string & tar_gz)

Build the current inference-only Graph fragment from a model archive.

Parameters
tar_gz

Path to the .tar.gz model archive.

Definition at line 82 of file ModelGroups.h.

infer()

simaai::neat::Graph simaai::neat::nodes::groups::infer (const std::string & tar_gz, const InferOptions & opt)

Build the current inference-only Graph fragment with explicit options.

Parameters
tar_gz

Path to the .tar.gz model archive.

opt

Preprocess tunables propagated into the chain.

Definition at line 90 of file ModelGroups.h.

Infer()

simaai::neat::Graph simaai::neat::nodes::groups::Infer (const simaai::neat::Model & model)

Build the current inference-only Graph fragment from an already-parsed Model.

Parameters
model

The parsed model.

Definition at line 118 of file ModelGroups.h.

MLA()

simaai::neat::Graph simaai::neat::nodes::groups::MLA (const simaai::neat::Model & model)

Build the MLA-inference Graph fragment from an already-parsed Model.

Parameters
model

The parsed model.

Definition at line 104 of file ModelGroups.h.

Postprocess()

simaai::neat::Graph simaai::neat::nodes::groups::Postprocess (const simaai::neat::Model & model)

Build the postprocess Graph fragment from an already-parsed Model.

Parameters
model

The parsed model.

Definition at line 111 of file ModelGroups.h.

postprocessing()

simaai::neat::Graph simaai::neat::nodes::groups::postprocessing (const std::string & tar_gz)

Build the postprocess Graph fragment for a model, given a model archive path.

Parameters
tar_gz

Path to the .tar.gz model archive.

Definition at line 75 of file ModelGroups.h.

Preprocess()

simaai::neat::Graph simaai::neat::nodes::groups::Preprocess (const simaai::neat::Model & model)

Build the preprocess Graph fragment from an already-parsed Model.

Parameters
model

The parsed model.

Definition at line 97 of file ModelGroups.h.

preprocessing()

simaai::neat::Graph simaai::neat::nodes::groups::preprocessing (const std::string & tar_gz, const InferOptions & opt={})

Build the preprocess Graph fragment for a model, given a model archive path.

Parameters
tar_gz

Path to the .tar.gz model archive.

opt

Preprocess tunables (color format, normalization, queueing).

Definition at line 60 of file ModelGroups.h.

RtspDecodedInput()

simaai::neat::Graph simaai::neat::nodes::groups::RtspDecodedInput (const RtspDecodedInputOptions & opt)

Build the live-RTSP input Graph: source, depayload+parse, hardware decode.

Typical H.264 chain: RtspEncodedInput(H264) -> SimaDecode(H264). Typical MJPEG chain: RtspEncodedInput(MJPEG) -> SimaDecode(MJPEG).

Parameters
opt

Configuration (URL, transport, parser fallback caps, decoder output).

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

RtspEncodedInput

See Also

SimaDecode

Definition at line 108 of file RtspDecodedInput.h.

RtspDecodedInputOutputSpec()

OutputSpec simaai::neat::nodes::groups::RtspDecodedInputOutputSpec (const RtspDecodedInputOptions & opt)

Project an RtspDecodedInputOptions into the OutputSpec the fragment will advertise.

Parameters
opt

RTSP-input group options (url, latency, decoder, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 59 of file GroupOutputSpec.h.

RtspEncodedInput()

simaai::neat::Graph simaai::neat::nodes::groups::RtspEncodedInput (const RtspEncodedInputOptions & opt)

Build the live-RTSP encoded input Graph.

H.264 chain: rtspsrc -> RTP H.264 depay/parse -> optional H.264 caps fixup. MJPEG chain: rtspsrc -> RTP JPEG depay -> jpegparse.

Parameters
opt

Configuration for source, transport, queueing, and codec framing.

Returns

Configured Graph ready to be add()ed to another Graph.

See Also

RtspDecodedInput

See Also

SimaDecode

Definition at line 70 of file RtspEncodedInput.h.

RtspEncodedInputOutputSpec()

OutputSpec simaai::neat::nodes::groups::RtspEncodedInputOutputSpec (const RtspEncodedInputOptions & opt)

Project a RtspEncodedInputOptions into the OutputSpec the fragment will advertise.

Parameters
opt

RTSP encoded-input group options (url, latency, codec framing).

Returns

Encoded caps for this configuration.

Definition at line 51 of file GroupOutputSpec.h.

simple_infer()

simaai::neat::Graph simaai::neat::nodes::groups::simple_infer (const std::string & tar_gz)

Build a single-stage MLA-inference Graph fragment from a model archive, with default options.

Parameters
tar_gz

Path to the .tar.gz model archive.

Definition at line 68 of file ModelGroups.h.

UdpH264OutputGroup()

simaai::neat::Graph simaai::neat::nodes::groups::UdpH264OutputGroup (const UdpH264OutputGroupOptions & opt)

Build a Graph that H.264-encodes, RTP-packetizes, and sends frames over UDP.

Typical chain: H.264 encoder -> RTP H.264 payloader -> udpsink. Use as the tail of a Graph that should broadcast its rendered output as RTP/H.264 over UDP.

Parameters
opt

Encoder, RTP, and UDP-sink configuration.

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

UdpOutputGroupG

See Also

ImageToH264RtspGroup

Definition at line 53 of file UdpH264OutputGroup.h.

UdpOutputGroupG()

simaai::neat::Graph simaai::neat::nodes::groups::UdpOutputGroupG (const UdpOutputGroupGOptions & opt)

Build a Graph that renders, encodes, and sends frames over UDP.

More flexible counterpart to UdpH264OutputGroup: accepts a render-stage configuration string and explicit encoder geometry, then mux/packetize and send to the configured UDP endpoint.

Parameters
opt

Render, encoder, and UDP-sink configuration.

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

UdpH264OutputGroup

Definition at line 58 of file UdpOutputGroupG.h.

VideoInputGroup()

simaai::neat::Graph simaai::neat::nodes::groups::VideoInputGroup (const VideoInputGroupOptions & opt)

Build the video-file input Graph: file source, demux, H.264 parse, hardware decode.

Typical chain: FileInput -> decodebin/demuxer -> H264Parse -> SiMa hardware H.264 decoder -> optional videoconvert / videoscale. Use this as the head of a Graph that runs against a recorded video file.

Parameters
opt

Configuration (path, parser tunables, decoder output, caps).

Returns

The configured Graph ready to be add()ed to a Graph.

See Also

RtspDecodedInput

See Also

H264Parse

Definition at line 78 of file VideoInputGroup.h.

VideoInputGroupOutputSpec()

OutputSpec simaai::neat::nodes::groups::VideoInputGroupOutputSpec (const VideoInputGroupOptions & opt)

Project a VideoInputGroupOptions into the OutputSpec the fragment will advertise.

Parameters
opt

Video-file-input group options (path, parse config, output caps).

Returns

Negotiated downstream caps for this configuration.

Definition at line 67 of file GroupOutputSpec.h.


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.