Skip to main content

H264CapsFixup.h File

H264 caps fixup helper node. More...

Included Headers

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

Namespaces Index

namespacesimaai
namespaceneat
namespacenodes

Classes Index

classH264CapsFixup

Description

H264 caps fixup helper node.

File Listing

The file content with the documentation metadata removed is:

1
6#pragma once
7
8#include "builder/Node.h"
9
10#include <memory>
11#include <string>
12#include <vector>
13
14namespace simaai::neat {
15
16class H264CapsFixup final : public Node {
17public:
19
20 std::string kind() const override {
21 return "H264CapsFixup";
22 }
23 NodeCapsBehavior caps_behavior() const override {
24 return NodeCapsBehavior::Static;
25 }
26 std::string backend_fragment(int node_index) const override;
27 std::vector<std::string> element_names(int node_index) const override;
28
29 int fallback_fps() const {
30 return fallback_fps_;
31 }
32 int fallback_width() const {
33 return fallback_width_;
34 }
35 int fallback_height() const {
36 return fallback_height_;
37 }
38
39private:
40 int fallback_fps_ = 30;
41 int fallback_width_ = 1280;
42 int fallback_height_ = 720;
43};
44
45} // namespace simaai::neat
46
47namespace simaai::neat::nodes {
48
49std::shared_ptr<simaai::neat::Node> H264CapsFixup(int fallback_fps = 30, int fallback_width = 1280,
50 int fallback_height = 720);
51
52} // namespace simaai::neat::nodes

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.