Input Class
Push-mode source Node. More...
Declaration
Included Headers
Base classes
| class | Node |
| class | OutputSpecProvider |
Public Constructors Index
| Input (InputOptions opt) | |
|
Construct with caps / pool / memory options. More... | |
| Input (std::string name) | |
| Input (std::string name, InputOptions opt) | |
|
Construct with a public Graph input endpoint name and caps / pool / memory options. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| std::string | user_label () const override |
|
User-facing label for this Node. More... | |
| const std::string & | endpoint_name () const noexcept |
|
Explicit public endpoint name, empty when unnamed. More... | |
| InputRole | input_role () const override |
|
Role this Node plays as a stream source. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| std::string | buffer_name_hint (int node_index) const override |
|
Optional buffer-name hint used during wiring. More... | |
| std::string | backend_fragment (int node_index) const override |
|
GStreamer fragment this Node emits. More... | |
| std::vector< std::string > | element_names (int node_index) const override |
|
Deterministic element names this Node will create. More... | |
| OutputSpec | output_spec (const OutputSpec &input) const override |
|
Negotiated downstream caps produced by this Node. More... | |
| const InputOptions & | options () const |
|
Inspect the Node's options. More... | |
| std::string | caps_string () const |
|
Render the negotiated caps as a GStreamer caps string. More... | |
Private Member Attributes Index
| InputOptions | opt_ |
| std::string | endpoint_name_ |
Description
Push-mode source Node.
The application feeds samples via Run::push().
Add this Node when the application owns frame production. Because it carries InputRole::Push, the Graph must be driven through Graph::build() plus Run::push() per sample (not Run::run(), which is for source-role pipelines).
Definition at line 159 of file Input.h.