Skip to main content

PreprocessContract Struct

Per-input contract describing what the preprocess stage expects to receive. More...

Declaration

struct simaai::neat::PreprocessContract { ... }

Included Headers

#include <PreprocessPlan.h>

Public Member Attributes Index

std::stringmedia_type

Media type string (e.g., "video/x-raw", "application/x-tensor"). More...

std::stringformat

Format identifier (e.g., "RGB", "NV12"). More...

intwidth = 0

Required width (px), or 0 if unbounded. More...

intheight = 0

Required height (px), or 0 if unbounded. More...

intdepth = 0

Required channel count, or 0 if unbounded. More...

intmax_width = 0

Upper-bound width (px), or 0 if unbounded. More...

intmax_height = 0

Upper-bound height (px), or 0 if unbounded. More...

intmax_depth = 0

Upper-bound channel count, or 0 if unbounded. More...

Description

Per-input contract describing what the preprocess stage expects to receive.

Several of these may exist if the model has multiple inputs. Used by the planner to validate caps and by GStreamer caps negotiation.

Definition at line 260 of file PreprocessPlan.h.

Public Member Attributes

depth

int simaai::neat::PreprocessContract::depth = 0

Required channel count, or 0 if unbounded.

Definition at line 265 of file PreprocessPlan.h.

265 int depth = 0;

format

std::string simaai::neat::PreprocessContract::format

Format identifier (e.g., "RGB", "NV12").

Definition at line 262 of file PreprocessPlan.h.

262 std::string format;

height

int simaai::neat::PreprocessContract::height = 0

Required height (px), or 0 if unbounded.

Definition at line 264 of file PreprocessPlan.h.

264 int height = 0;

max_depth

int simaai::neat::PreprocessContract::max_depth = 0

Upper-bound channel count, or 0 if unbounded.

Definition at line 268 of file PreprocessPlan.h.

268 int max_depth = 0;

max_height

int simaai::neat::PreprocessContract::max_height = 0

Upper-bound height (px), or 0 if unbounded.

Definition at line 267 of file PreprocessPlan.h.

267 int max_height = 0;

max_width

int simaai::neat::PreprocessContract::max_width = 0

Upper-bound width (px), or 0 if unbounded.

Definition at line 266 of file PreprocessPlan.h.

266 int max_width = 0;

media_type

std::string simaai::neat::PreprocessContract::media_type

Media type string (e.g., "video/x-raw", "application/x-tensor").

Definition at line 261 of file PreprocessPlan.h.

261 std::string media_type;

width

int simaai::neat::PreprocessContract::width = 0

Required width (px), or 0 if unbounded.

Definition at line 263 of file PreprocessPlan.h.

263 int width = 0;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.