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

◆ on_detach()

void MayaFlux::Kakshya::VisionProcessor::on_detach ( const std::shared_ptr< SignalSourceContainer > &  container)
overridevirtual

Clear cached geometry and reset executor state.

Parameters
containerThe SignalSourceContainer being detached.

Implements MayaFlux::Kakshya::DataProcessor.

Definition at line 64 of file VisionProcessor.cpp.

65{
66 m_width = 0;
67 m_height = 0;
68
69 if (m_force_cpu)
71
72 m_gpu_frame.reset();
73}
Kinesis::Vision::VisionExecutor m_cpu_executor
std::shared_ptr< Core::VKImage > m_gpu_frame
void reset()
Clear stored inter-frame state.

References m_cpu_executor, m_force_cpu, m_gpu_frame, m_height, m_width, and MayaFlux::Kinesis::Vision::VisionExecutor::reset().

+ Here is the call graph for this function: