Video display and composing engine for JUCE
Loading...
Searching...
No Matches
ColourCurveVideoProcessor Class Reference

#include <foleys_ColourCurveVideoProcessor.h>

+ Inheritance diagram for ColourCurveVideoProcessor:

Public Member Functions

ParameterMap createParameters ()
 
const juce::String getName () const override
 Override this method to return a human readable name to identify the processor later.
 
 ColourCurveVideoProcessor ()
 
void processFrame (juce::Image &frame, int64_t count, const VideoStreamSettings &settings, double clipDuration) override
 Override this method to implement the actual video processing.
 
std::vector< ProcessorParameter * > getParameters () override
 
void getStateInformation (juce::MemoryBlock &destData) override
 
void setStateInformation (const void *data, int sizeInBytes) override
 
- Public Member Functions inherited from VideoProcessor
 VideoProcessor ()=default
 
virtual ~VideoProcessor ()=default
 

Static Public Member Functions

static juce::String getPluginName ()
 

Constructor & Destructor Documentation

◆ ColourCurveVideoProcessor()

Member Function Documentation

◆ getPluginName()

static juce::String getPluginName ( )
static

◆ createParameters()

ParameterMap createParameters ( )

◆ getName()

const juce::String getName ( ) const
overridevirtual

Override this method to return a human readable name to identify the processor later.

Implements VideoProcessor.

References ColourCurveVideoProcessor::getPluginName().

◆ processFrame()

void processFrame ( juce::Image &  frame,
int64_t  count,
const VideoStreamSettings settings,
double  clipDuration 
)
overridevirtual

Override this method to implement the actual video processing.

The processing is done in place. If you need a copy of the frame, it's best to keep an empty frame as member, where you copy the original before processing and process from the copy into the original.

Parameters
outputis the image to write into
inputis the original image to read from
countthis is the frame counter in settings.timebase counts
settingsis the output settings that you will produce. You find the size and the timebase here
clipDurationis the duration of the clip. This is especially handy for creating transitions

Implements VideoProcessor.

References ColourCurve::applyLUT(), ColourCurve::applyLUTs(), ColourCurve::calculateColourMap(), and ColourCurve::isLinear().

◆ getParameters()

std::vector< ProcessorParameter * > getParameters ( )
overridevirtual

◆ getStateInformation()

void getStateInformation ( juce::MemoryBlock &  destData)
overridevirtual

Implements VideoProcessor.

References ProcessorState::state.

◆ setStateInformation()

void setStateInformation ( const void *  data,
int  sizeInBytes 
)
overridevirtual

Implements VideoProcessor.

References ProcessorState::state.


The documentation for this class was generated from the following file: