Skip to main content

Caps.h File

Caps helpers (typed capsfilter shortcuts) and the raw-fragment escape hatch. More...

Included Headers

#include "builder/Node.h" #include "contracts/ContractTypes.h" #include <memory> #include <string>

Namespaces Index

namespacesimaai
namespaceneat
namespacenodes

Description

Caps helpers (typed capsfilter shortcuts) and the raw-fragment escape hatch.

These free functions return Node instances that emit capsfilter GStreamer fragments with type-safe arguments — you don't have to hand-write caps=video/x-raw,.... The Custom() factory is the escape hatch for emitting an arbitrary GStreamer fragment.

File Listing

The file content with the documentation metadata removed is:

1
10#pragma once
11
12#include "builder/Node.h"
14
15#include <memory>
16#include <string>
17
19
31std::shared_ptr<simaai::neat::Node>
32Custom(std::string fragment, simaai::neat::InputRole role = simaai::neat::InputRole::None);
33
42std::shared_ptr<simaai::neat::Node>
43CapsRaw(std::string format, int width = -1, int height = -1, int fps = -1,
45
47std::shared_ptr<simaai::neat::Node> CapsNV12SysMem(int w, int h, int fps);
49std::shared_ptr<simaai::neat::Node>
51
52} // namespace simaai::neat::nodes

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.