Skip to main content

ImageDecode Class

Auto-detects and decodes still-image formats (JPEG, PNG, BMP, …) to raw video. More...

Declaration

class simaai::neat::ImageDecode { ... }

Included Headers

#include <ImageDecode.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

Auto-detects and decodes still-image formats (JPEG, PNG, BMP, …) to raw video.

Use as the first decode stage when feeding still images into a pipeline that wants raw pixels (e.g., before resize / preprocess). For known-JPEG inputs prefer JpegDecode, which skips the format-detection step.

Definition at line 24 of file ImageDecode.h.

Public Member Functions

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 36 of file ImageDecode.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 31 of file ImageDecode.h.

31 NodeCapsBehavior caps_behavior() const override {
32 return NodeCapsBehavior::Dynamic;
33 }

element_names()

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

Deterministic element names this Node will create.

Definition at line 38 of file ImageDecode.h.

kind()

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

Type label for this Node kind.

Definition at line 27 of file ImageDecode.h.

27 std::string kind() const override {
28 return "ImageDecode";
29 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.