跳至主要内容

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 Graph fragment advertises downstream.

Definition at line 33 of file ImageInputGroup.h.

Enumerations​

Decoder​

enum class simaai::neat::nodes::groups::ImageInputGroupOptions::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 57 of file ImageInputGroup.h.

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 65 of file ImageInputGroup.h.

decoder​

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

Selected decoder backend.

Definition at line 64 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 81 of file ImageInputGroup.h.

fps​

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

Output frame rate produced by imagefreeze.

Definition at line 38 of file ImageInputGroup.h.

imagefreeze_num_buffers​

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

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

Positive finite counts are honored exactly; use a dedicated decoder stress test for bursts.

Definition at line 37 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 54 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.

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 78 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 39 of file ImageInputGroup.h.

use_videoconvert​

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

Insert videoconvert for format adaptation.

Definition at line 42 of file ImageInputGroup.h.

use_videorate​

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

Insert videorate to enforce fps exactly.

Definition at line 41 of file ImageInputGroup.h.

use_videoscale​

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

Insert videoscale for resolution adaptation.

Definition at line 43 of file ImageInputGroup.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.