Commit cda38969 authored by Vincent Carrubba's avatar Vincent Carrubba

Add more common in/out methods to the EffectsEngine

parent 41c4c58e
......@@ -164,14 +164,32 @@ EffectNode const * EffectsEngine::operator*( void ) const
return ( m_patch );
}
//
//
//
const LightVideoFrame &
EffectsEngine::getVideoOutput( quint32 outId ) const
{
return (*m_patch->getInternalStaticVideoInput( outId ));
}
void
EffectsEngine::setVideoInput( quint32 inId, const LightVideoFrame & frame )
{
(*m_patch->getInternalStaticVideoOutput( inId )) << frame;
}
// BYPASSING
void EffectsEngine::enable( void )
void
EffectsEngine::enable( void )
{
return ;
}
void EffectsEngine::disable( void )
void
EffectsEngine::disable( void )
{
return ;
}
......@@ -53,6 +53,9 @@ class EffectsEngine
void enable( void );
void disable( void );
const LightVideoFrame & getVideoOutput( quint32 outId ) const;
void setVideoInput( quint32 inId, const LightVideoFrame & frame );
private:
mutable QReadWriteLock m_rwl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment