Skip to main content

VideoConvert Class

Wraps GStreamer's videoconvert. More...

Declaration

class simaai::neat::VideoConvert { ... }

Included Headers

#include <VideoConvert.h>

Base class

classNode

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

std::stringbackend_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...

Description

Wraps GStreamer's videoconvert.

Pick the colorspace via a downstream caps filter.

Usage:

 sess.add(sima::nodes::VideoConvert());
 sess.add(sima::nodes::CapsRaw("RGB"));

Definition at line 26 of file VideoConvert.h.

Public Member Functions

backend_fragment()

std::string simaai::neat::VideoConvert::backend_fragment (int node_index)

GStreamer fragment this Node emits.

Definition at line 37 of file VideoConvert.h.

caps_behavior()

NodeCapsBehavior simaai::neat::VideoConvert::caps_behavior ()
inline

Whether the Node negotiates static or dynamic caps.

Definition at line 33 of file VideoConvert.h.

33 NodeCapsBehavior caps_behavior() const override {
34 return NodeCapsBehavior::Dynamic;
35 }

element_names()

std::vector< std::string > simaai::neat::VideoConvert::element_names (int node_index)

Deterministic element names this Node will create.

Definition at line 39 of file VideoConvert.h.

kind()

std::string simaai::neat::VideoConvert::kind ()
inline

Type label for this Node kind.

Definition at line 29 of file VideoConvert.h.

29 std::string kind() const override {
30 return "VideoConvert";
31 }

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.