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 202 of file Run.h.

Public Member Attributes

depth

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

Channel depth (-1 if not applicable).

Definition at line 208 of file Run.h.

208 int depth = -1;

format

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

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

Definition at line 205 of file Run.h.

205 std::string format;

frame_id

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

Source-assigned frame ID, if any.

Definition at line 209 of file Run.h.

209 int64_t frame_id = -1;

height

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

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

Definition at line 207 of file Run.h.

207 int height = -1;

kind

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

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

Definition at line 203 of file Run.h.

media_type

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

MIME-style media type of the dropped sample.

Definition at line 204 of file Run.h.

204 std::string media_type;

port_name

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

Ingress port name (multi-input models).

Definition at line 211 of file Run.h.

211 std::string port_name;

reason

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

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

Definition at line 212 of file Run.h.

212 std::string reason;

stream_id

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

Stream identifier (multi-stream pipelines).

Definition at line 210 of file Run.h.

210 std::string stream_id;

width

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

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

Definition at line 206 of file Run.h.

206 int width = -1;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.