JoinEncodedWithMeta.h File
Stage executor to join encoded payload with metadata into a Bundle. More...
Included Headers
#include "graph/StageExecutor.h"
#include "graph/nodes/StageNode.h"
#include <cstddef>
#include <cstdint>
#include <deque>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | graph |
| namespace | nodes |
Classes Index
| struct | JoinEncodedWithMetaOptions |
|
Configuration for a JoinEncodedWithMeta stage executor. More... | |
| class | JoinEncodedWithMeta |
|
Stage executor that bundles an encoded payload (e.g., H.264) with associated metadata. More... | |
Description
Stage executor to join encoded payload with metadata into a Bundle.
File Listing
The file content with the documentation metadata removed is:
8#include "graph/StageExecutor.h"
9#include "graph/nodes/StageNode.h"
20namespace simaai::neat::graph::nodes {
30struct JoinEncodedWithMetaOptions {
32 PortId encoded_port = kInvalidPort;
34 std::unordered_map<PortId, std::string> port_names;
36 std::string encoded_name = "encoded";
38 std::size_t max_pending = 1024;
40 bool emit_partial = true;
54class JoinEncodedWithMeta final : public simaai::neat::graph::StageExecutor {
57 explicit JoinEncodedWithMeta(JoinEncodedWithMetaOptions opt);
60 void set_ports(const StagePorts& ports) override;
67 std::string make_key_(const Sample& sample) const;
72 JoinEncodedWithMetaOptions opt_;
75 PortId out_port_ = kInvalidPort;
86std::shared_ptr<simaai::neat::graph::Node> JoinEncodedWithMetaNode(std::vector<std::string> inputs,
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.