Skip to main content

InputDropInfo Struct

Diagnostic record for a dropped input frame. More...

Declaration

struct simaai::neat::InputDropInfo { ... }

Included Headers

#include <Run.h>

Public Member Attributes Index

SampleKindkind = SampleKind::Unknown

What kind of sample was dropped (image, tensor, etc.). More...

std::stringmedia_type

MIME-style media type of the dropped sample. More...

std::stringformat

Format token (e.g., "NV12", "FP32"). More...

intwidth = -1

Frame width in pixels (-1 if not applicable). More...

intheight = -1

Frame height in pixels (-1 if not applicable). More...

intdepth = -1

Channel depth (-1 if not applicable). More...

int64_tframe_id = -1

Source-assigned frame ID, if any. More...

std::stringstream_id

Stream identifier (multi-stream pipelines). More...

std::stringport_name

Ingress port name (multi-input models). More...

std::stringreason

Human-readable reason (e.g., "queue_full", "size_limit_exceeded"). More...

Description

Diagnostic record for a dropped input frame.

Passed to the on_input_drop callback in RunOptions. Contains enough info to identify which frame was dropped and why, for telemetry and post-mortem analysis.

Definition at line 256 of file Run.h.

Public Member Attributes

depth

int simaai::neat::InputDropInfo::depth = -1

Channel depth (-1 if not applicable).

Definition at line 262 of file Run.h.

format

std::string simaai::neat::InputDropInfo::format

Format token (e.g., "NV12", "FP32").

Definition at line 259 of file Run.h.

frame_id

int64_t simaai::neat::InputDropInfo::frame_id = -1

Source-assigned frame ID, if any.

Definition at line 263 of file Run.h.

height

int simaai::neat::InputDropInfo::height = -1

Frame height in pixels (-1 if not applicable).

Definition at line 261 of file Run.h.

kind

SampleKind simaai::neat::InputDropInfo::kind = SampleKind::Unknown

What kind of sample was dropped (image, tensor, etc.).

Definition at line 257 of file Run.h.

media_type

std::string simaai::neat::InputDropInfo::media_type

MIME-style media type of the dropped sample.

Definition at line 258 of file Run.h.

port_name

std::string simaai::neat::InputDropInfo::port_name

Ingress port name (multi-input models).

Definition at line 265 of file Run.h.

reason

std::string simaai::neat::InputDropInfo::reason

Human-readable reason (e.g., "queue_full", "size_limit_exceeded").

Definition at line 266 of file Run.h.

stream_id

std::string simaai::neat::InputDropInfo::stream_id

Stream identifier (multi-stream pipelines).

Definition at line 264 of file Run.h.

width

int simaai::neat::InputDropInfo::width = -1

Frame width in pixels (-1 if not applicable).

Definition at line 260 of file Run.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.