-
struct GstInferencePrediction
Represents the inference data generated from an ML operation. Prediction nodes form a tree rooted at
GstInferenceMeta.prediction; child nodes represent cascaded or subordinate (multi-level) predictions.
Definition
struct GstInferencePrediction {
GstMiniObject base;
GMutex mutex;
GstBuffer *sub_buffer;
VvasInferPrediction prediction;
void *reserved_1;
void *reserved_2;
void *reserved_3;
void *reserved_4;
void *reserved_5;
};
Members
basePrivate base object to enable efficient memory management and reference counting for multiple object detection/prediction.
mutexProvides mutual exclusion in scenarios where multiple threads are accessing shared resources such as detection results or memory allocations.
sub_bufferBuffer containing cropped images for the cascade use case.
predictionVVAS inference prediction data - bounding box, classification results, and child predictions. See
VvasInferPredictionin the VVAS SDK headers.reserved_1…reserved_5Reserved for future extension; do not use.