This class mixes the individual clips in ComposedClip. More...
#include <foleys_SoftwareVideoMixer.h>
Inheritance diagram for SoftwareVideoMixer:Public Member Functions | |
| SoftwareVideoMixer ()=default | |
| void | compose (juce::Image &target, VideoStreamSettings settings, int64_t count, double timeInSeconds, const std::vector< std::shared_ptr< ClipDescriptor > > &clips) override |
| The ComposedClip will call this to let you compose the various clips. | |
Public Member Functions inherited from VideoMixer | |
| VideoMixer ()=default | |
| virtual | ~VideoMixer ()=default |
This class mixes the individual clips in ComposedClip.
It uses the software backend of JUCE.
|
default |
|
overridevirtual |
The ComposedClip will call this to let you compose the various clips.
| target | is the image to render into |
| settings | are the stream settings of the produced stream |
| count | is the frame counter in settings.timebase |
| timeInSeconds | is the current time in seconds, since the originating stream has not necessarily the same timebase |
| clips | is a vector of ClipDescriptors. Each ClipDescriptor has it's own list of processors. |
Implements VideoMixer.
References foleys::IDs::alpha, VideoStreamSettings::frameSize, Size::height, foleys::IDs::rotation, foleys::IDs::translateX, foleys::IDs::translateY, Size::width, and foleys::IDs::zoom.