format: reformatting files
This commit is contained in:
+10
-10
@@ -25,31 +25,31 @@
|
||||
|
||||
class Current {
|
||||
public:
|
||||
static Current& getInstance()
|
||||
static Current &getInstance()
|
||||
{
|
||||
return current;
|
||||
}
|
||||
olive::VideoParams& currentVideoParams()
|
||||
olive::VideoParams ¤tVideoParams()
|
||||
{
|
||||
return currentVideoParams_;
|
||||
}
|
||||
olive::AudioParams& currentAudioParams()
|
||||
olive::AudioParams ¤tAudioParams()
|
||||
{
|
||||
return currentAudioParams_;
|
||||
}
|
||||
void setCurrentVideoParams(olive::VideoParams& params)
|
||||
void setCurrentVideoParams(olive::VideoParams ¶ms)
|
||||
{
|
||||
currentVideoParams_ = params;
|
||||
}
|
||||
void setCurrentAudioParams(olive::AudioParams& params)
|
||||
void setCurrentAudioParams(olive::AudioParams ¶ms)
|
||||
{
|
||||
currentAudioParams_ = params;
|
||||
}
|
||||
void setCurrentVideoParams(olive::VideoParams&& params)
|
||||
void setCurrentVideoParams(olive::VideoParams &¶ms)
|
||||
{
|
||||
currentVideoParams_ = params;
|
||||
}
|
||||
void setCurrentAudioParams(olive::AudioParams&& params)
|
||||
void setCurrentAudioParams(olive::AudioParams &¶ms)
|
||||
{
|
||||
currentAudioParams_ = params;
|
||||
}
|
||||
@@ -73,10 +73,12 @@ public:
|
||||
return plugin_cache_;
|
||||
}
|
||||
|
||||
void setPluginCache(std::shared_ptr<OFX::Host::ImageEffect::PluginCache> cache)
|
||||
void
|
||||
setPluginCache(std::shared_ptr<OFX::Host::ImageEffect::PluginCache> cache)
|
||||
{
|
||||
plugin_cache_ = cache;
|
||||
}
|
||||
|
||||
private:
|
||||
static Current current;
|
||||
olive::VideoParams currentVideoParams_;
|
||||
@@ -85,6 +87,4 @@ private:
|
||||
std::shared_ptr<OFX::Host::ImageEffect::PluginCache> plugin_cache_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //CURRENT_H
|
||||
|
||||
Reference in New Issue
Block a user