Skip to main content

ImageInputGroupOptions Struct

Configuration for ImageInputGroup. More...

Declaration​

struct simaai::neat::nodes::groups::ImageInputGroupOptions { ... }

Included Headers​

#include <ImageInputGroup.h>

Enumerations Index​

enum classDecoder { ... }

Decoder selection strategy. More...

Public Member Attributes Index​

std::stringpath

Filesystem path to the still image to read. More...

intimagefreeze_num_buffers = -1

Number of buffers imagefreeze should produce (-1 = unlimited). More...

intfps = 30

Output frame rate produced by imagefreeze. More...

boolsync_mode = false

If true, sink elements run in sync (real-time) mode. More...

booluse_videorate = false

Insert videorate to enforce fps exactly. More...

booluse_videoconvert = true

Insert videoconvert for format adaptation. More...

booluse_videoscale = false

Insert videoscale for resolution adaptation. More...

struct { ... }output_caps

Output caps applied at the group's tail. More...

Decoderdecoder = Decoder::Auto

Selected decoder backend. More...

std::stringcustom_decoder_fragment

Raw GStreamer fragment used when decoder == Custom. More...

struct { ... }sima_decoder

SiMa hardware decoder configuration; overrides the software path when enabled. More...

std::stringextra_fragment

Optional raw GStreamer fragment inserted before imagefreeze (advanced use). More...

Description​

Configuration for ImageInputGroup.

Drives the image source path, the chosen decoder backend, and the optional output caps that the group advertises downstream.

Definition at line 33 of file ImageInputGroup.h.

Enumerations​

Decoder​

enum class Decoder
strong

Decoder selection strategy.

Enumeration values
Autodecodebin — auto-detect JPEG/PNG (= 0)
ForceJpegForce jpegdec
ForcePngForce pngdec
CustomUse custom_decoder_fragment verbatim

Definition at line 58 of file ImageInputGroup.h.

58 enum class Decoder {
59 Auto = 0,
62 Custom,
63 };

Public Member Attributes​

custom_decoder_fragment​

std::string simaai::neat::nodes::groups::ImageInputGroupOptions::custom_decoder_fragment

Raw GStreamer fragment used when decoder == Custom.

Definition at line 66 of file ImageInputGroup.h.

decoder​

Decoder simaai::neat::nodes::groups::ImageInputGroupOptions::decoder = Decoder::Auto

Selected decoder backend.

Definition at line 65 of file ImageInputGroup.h.

extra_fragment​

std::string simaai::neat::nodes::groups::ImageInputGroupOptions::extra_fragment

Optional raw GStreamer fragment inserted before imagefreeze (advanced use).

Definition at line 82 of file ImageInputGroup.h.

82 std::string extra_fragment;

fps​

int simaai::neat::nodes::groups::ImageInputGroupOptions::fps = 30

Output frame rate produced by imagefreeze.

Definition at line 39 of file ImageInputGroup.h.

39 int fps = 30;

imagefreeze_num_buffers​

int simaai::neat::nodes::groups::ImageInputGroupOptions::imagefreeze_num_buffers = -1

Number of buffers imagefreeze should produce (-1 = unlimited).

If sima_decoder is enabled and this is >0, it may be clamped to a minimum to allow decoder startup. Set SIMA_IMAGEFREEZE_MIN_BUFFERS=0 to disable.

Definition at line 38 of file ImageInputGroup.h.

output_caps​

struct simaai::neat::nodes::groups::ImageInputGroupOptions::OutputCaps simaai::neat::nodes::groups::ImageInputGroupOptions::output_caps

Output caps applied at the group's tail.

Definition at line 55 of file ImageInputGroup.h.

path​

std::string simaai::neat::nodes::groups::ImageInputGroupOptions::path

Filesystem path to the still image to read.

Definition at line 34 of file ImageInputGroup.h.

34 std::string path;

sima_decoder​

struct simaai::neat::nodes::groups::ImageInputGroupOptions::SimaDecoder simaai::neat::nodes::groups::ImageInputGroupOptions::sima_decoder

SiMa hardware decoder configuration; overrides the software path when enabled.

Definition at line 79 of file ImageInputGroup.h.

sync_mode​

bool simaai::neat::nodes::groups::ImageInputGroupOptions::sync_mode = false

If true, sink elements run in sync (real-time) mode.

Definition at line 40 of file ImageInputGroup.h.

40 bool sync_mode = false;

use_videoconvert​

bool simaai::neat::nodes::groups::ImageInputGroupOptions::use_videoconvert = true

Insert videoconvert for format adaptation.

Definition at line 43 of file ImageInputGroup.h.

43 bool use_videoconvert = true;

use_videorate​

bool simaai::neat::nodes::groups::ImageInputGroupOptions::use_videorate = false

Insert videorate to enforce fps exactly.

Definition at line 42 of file ImageInputGroup.h.

42 bool use_videorate = false;

use_videoscale​

bool simaai::neat::nodes::groups::ImageInputGroupOptions::use_videoscale = false

Insert videoscale for resolution adaptation.

Definition at line 44 of file ImageInputGroup.h.

44 bool use_videoscale = false;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.