MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ execute() [2/2]

void MayaFlux::Yantra::Vision::VisionMatrix::execute ( const std::shared_ptr< Kakshya::SignalSourceContainer > &  source,
size_t  index 
)

execute() on frame index of source: a texture container's layer, or a video stream's or window's current frame.

frame() is the image the frame was resolved to. For a video stream or window that image is reused, so it holds the next resolved frame after the next call. A window ignores index and gives the frame its default processor last read back. A video stream ignores it too and gives the frame in its first slot, or none when it streams through a ring, which clears like a null image.

Definition at line 74 of file VisionMatrix.cpp.

75{
76 execute(source ? analyzer()->resolve_image(source, index) : nullptr);
77}
uint32_t index
Definition VKDevice.cpp:122
void execute(const std::shared_ptr< Core::VKImage > &image)
Analyze image and keep it with its analysis until the next call.
std::shared_ptr< VisionAnalyzer > analyzer()
The matrix's "analyze" operation.

References analyzer(), execute(), and index.

+ Here is the call graph for this function: