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

◆ process_final()

void MayaFlux::Buffers::BufferProcessingChain::process_final ( const std::shared_ptr< Buffer > &  buffer)

Applies the final processor to a buffer with guaranteed execution.

Parameters
bufferBuffer to process

If the buffer has a final processor, it is applied with guaranteed execution regardless of any optimization strategies or backend considerations. This is typically called after process() to apply final-stage transformations like normalization, boundary enforcement, or format validation that must complete successfully for pipeline integrity.

Definition at line 209 of file BufferProcessingChain.cpp.

210{
211 auto final_it = m_final_processors.find(buffer);
212 if (final_it != m_final_processors.end()) {
213 final_it->second->process(buffer);
214 }
215}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< BufferProcessor > > m_final_processors
Map of buffers to their final processors.

References m_final_processors.