Input.h File
Input node for push pipelines. More...
Included Headers
#include "builder/Node.h"
#include "builder/OutputSpec.h"
#include <memory>
#include <cstdint>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| struct | InputOptions |
| class | Input |
Description
Input node for push pipelines.
File Listing
The file content with the documentation metadata removed is:
16namespace simaai::neat {
18struct InputOptions {
19 std::string media_type = "video/x-raw";
27 int max_height = -1;
33 std::string caps_override;
36 bool do_timestamp = true;
38 int stream_type = 0; // GST_APP_STREAM_TYPE_STREAM
41 bool use_simaai_pool = true;
42 int pool_min_buffers = 1;
43 int pool_max_buffers = 2;
46 std::string buffer_name;
51 explicit Input(InputOptions opt);
56 std::string user_label() const override {
59 InputRole input_role() const override {
62 NodeCapsBehavior caps_behavior() const override {
65 std::string buffer_name_hint(int node_index) const override;
67 std::string backend_fragment(int node_index) const override;
68 std::vector<std::string> element_names(int node_index) const override;
69 OutputSpec output_spec(const OutputSpec& input) const override;
71 const InputOptions& options() const {
74 std::string caps_string() const;
77 InputOptions opt_;
82namespace simaai::neat::nodes {
83std::shared_ptr<simaai::neat::Node> Input(InputOptions opt = {});
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.