Skip to main content

SimaDecodeOptions Struct

Configuration for SimaDecode. More...

Declaration

struct simaai::neat::SimaDecodeOptions { ... }

Included Headers

#include <SimaDecode.h>

Public Member Attributes Index

SimaDecodeTypetype = SimaDecodeType::H264

Encoded input type. More...

intsima_allocator_type = 2

SiMa allocator type for decoder output buffers. More...

FormatSpecout_format = FormatTag::NV12

Raw output pixel format. More...

std::stringdecoder_name

Decoder element name override; empty = auto-pick. More...

boolraw_output = true

If true, emit decoder-native raw buffers directly. More...

std::stringnext_element

Optional next-element selector ("CVU" or "APU") for neatdecoder. More...

intdec_width = -1

Decoded frame width override; -1 = upstream-defined. More...

intdec_height = -1

Decoded frame height override; -1 = upstream-defined. More...

intdec_fps = -1

Decoded frame rate override; -1 = upstream-defined. More...

intnum_buffers = -1

Output buffer pool size override; -1 = element default. More...

intinput_buffers = -1

Decoder input buffer count override; -1 = element default. More...

std::stringdecoder_tuning

Optional native decoder tuning ("low-memory", "throughput-low-latency", ...). More...

boolmemory_opt = false

If true, enable the decoder memory-optimized path. More...

Description

Configuration for SimaDecode.

The node wraps neatdecoder. It receives encoded frames and emits raw video, normally NV12 in SiMaAI memory for downstream CVU/MLA stages.

Definition at line 31 of file SimaDecode.h.

Public Member Attributes

dec_fps

int simaai::neat::SimaDecodeOptions::dec_fps = -1

Decoded frame rate override; -1 = upstream-defined.

Definition at line 40 of file SimaDecode.h.

dec_height

int simaai::neat::SimaDecodeOptions::dec_height = -1

Decoded frame height override; -1 = upstream-defined.

Definition at line 39 of file SimaDecode.h.

dec_width

int simaai::neat::SimaDecodeOptions::dec_width = -1

Decoded frame width override; -1 = upstream-defined.

Definition at line 38 of file SimaDecode.h.

decoder_name

std::string simaai::neat::SimaDecodeOptions::decoder_name

Decoder element name override; empty = auto-pick.

Definition at line 35 of file SimaDecode.h.

decoder_tuning

std::string simaai::neat::SimaDecodeOptions::decoder_tuning

Optional native decoder tuning ("low-memory", "throughput-low-latency", ...).

Definition at line 43 of file SimaDecode.h.

input_buffers

int simaai::neat::SimaDecodeOptions::input_buffers = -1

Decoder input buffer count override; -1 = element default.

Definition at line 42 of file SimaDecode.h.

memory_opt

bool simaai::neat::SimaDecodeOptions::memory_opt = false

If true, enable the decoder memory-optimized path.

Definition at line 45 of file SimaDecode.h.

next_element

std::string simaai::neat::SimaDecodeOptions::next_element

Optional next-element selector ("CVU" or "APU") for neatdecoder.

Definition at line 37 of file SimaDecode.h.

num_buffers

int simaai::neat::SimaDecodeOptions::num_buffers = -1

Output buffer pool size override; -1 = element default.

Definition at line 41 of file SimaDecode.h.

out_format

FormatSpec simaai::neat::SimaDecodeOptions::out_format = FormatTag::NV12

Raw output pixel format.

Definition at line 34 of file SimaDecode.h.

raw_output

bool simaai::neat::SimaDecodeOptions::raw_output = true

If true, emit decoder-native raw buffers directly.

Definition at line 36 of file SimaDecode.h.

sima_allocator_type

int simaai::neat::SimaDecodeOptions::sima_allocator_type = 2

SiMa allocator type for decoder output buffers.

Definition at line 33 of file SimaDecode.h.

type

SimaDecodeType simaai::neat::SimaDecodeOptions::type = SimaDecodeType::H264

Encoded input type.

Definition at line 32 of file SimaDecode.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.