StillImageInput.h File
StillImageInput node for RTSP server mode. More...
Included Headers
#include "builder/Node.h"
#include "builder/OutputSpec.h"
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| class | StillImageInput |
| struct | ContentWidth |
| struct | ContentHeight |
| struct | EncodeWidth |
| struct | EncodeHeight |
| struct | FramesPerSecond |
Description
StillImageInput node for RTSP server mode.
File Listing
The file content with the documentation metadata removed is:
16namespace simaai::neat {
18class StillImageInput final : public Node, public OutputSpecProvider {
20 struct ContentWidth {
22 constexpr ContentWidth() = default;
23 constexpr ContentWidth(int v) : value(v) {}
26 struct ContentHeight {
28 constexpr ContentHeight() = default;
29 constexpr ContentHeight(int v) : value(v) {}
32 struct EncodeWidth {
34 constexpr EncodeWidth() = default;
35 constexpr EncodeWidth(int v) : value(v) {}
38 struct EncodeHeight {
40 constexpr EncodeHeight() = default;
41 constexpr EncodeHeight(int v) : value(v) {}
44 struct FramesPerSecond {
46 constexpr FramesPerSecond() = default;
47 constexpr FramesPerSecond(int v) : value(v) {}
50 StillImageInput(std::string image_path, ContentWidth content_w, ContentHeight content_h,
56 std::string user_label() const override {
59 InputRole input_role() const override {
62 NodeCapsBehavior caps_behavior() const override {
66 std::string backend_fragment(int node_index) const override;
67 std::vector<std::string> element_names(int node_index) const override;
68 OutputSpec output_spec(const OutputSpec& input) const override;
70 const std::string& image_path() const {
105namespace simaai::neat::nodes {
107StillImageInput(std::string image_path, simaai::neat::StillImageInput::ContentWidth content_w,
108 simaai::neat::StillImageInput::ContentHeight content_h,
109 simaai::neat::StillImageInput::EncodeWidth enc_w,
110 simaai::neat::StillImageInput::EncodeHeight enc_h,
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.