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

◆ process_to_live_container() [2/2]

std::shared_ptr< Kakshya::TextureCollection > MayaFlux::Yantra::Vision::VisionWorkflow::process_to_live_container ( const WorkflowContainerConfig &  config)

Run config's query on its source live and record what its extraction takes from each frame into a growing collection.

Paced and sourced as process_to_buffer(). Each extracted image is copied into the next layer; frames whose extraction gives no image add nothing. A width or height of zero in the collection spec takes the source's, or the apply_to buffer's. Recording stops for good at the stream's end, once the collection is full under its byte cap, or when the caller releases it. A ring keeps the newest frames instead.

Returns
The collection, filling as frames arrive, or null with a logged reason when the engine's managers are gone or the stream cannot be hooked.

Definition at line 453 of file VisionWorkflow.cpp.

455{
456 return process_to_live_container(VisionMatrix::create(config.query, config.extract), config.source, config.collection, config.live);
457}
static std::shared_ptr< ComputeMatrix > create()
Create a new ComputeMatrix instance.
std::shared_ptr< Kakshya::TextureCollection > process_to_live_container(const WorkflowContainerConfig &config)
Run config's query on its source live and record what its extraction takes from each frame into a gro...

References MayaFlux::Yantra::Vision::WorkflowContainerConfig::collection, MayaFlux::Yantra::ComputeMatrix::create(), MayaFlux::Yantra::Vision::WorkflowContainerConfig::extract, MayaFlux::Yantra::Vision::WorkflowContainerConfig::live, process_to_live_container(), MayaFlux::Yantra::Vision::WorkflowContainerConfig::query, and MayaFlux::Yantra::Vision::WorkflowContainerConfig::source.

Referenced by process_to_live_container().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: