Skip to content

cvedia::rt::InferenceFanoutConsumer

More...

#include <inferencefanout.h>

Public Attributes

Name
std::string modelUri
std::string solutionId
cvec jobs
pCValue preprocessOptions

Detailed Description

struct cvedia::rt::InferenceFanoutConsumer;

One consumer in an ownership-atomic inference fan-out submission.

Every consumer is declared before the dispatcher queues any job. Backends which need a fixed number of input references can therefore reserve them before a worker is allowed to submit the first frame. preprocessOptions is invocation-scoped data; it is deliberately not attached to a shared source buffer.

The atomicity covers only ownership preflight. Worker submission is not a transaction: an error can be reported after another consumer accepted the frame. In that case callers must not retry the same opaque frame; its transport lease retains every unused reference until teardown.

Public Attributes Documentation

variable modelUri

std::string modelUri;

variable solutionId

std::string solutionId;

variable jobs

cvec jobs;

variable preprocessOptions

pCValue preprocessOptions;