Implement multi-input OFX clip wiring and texture handling

Store PluginJob input values for lookup
Add per-clip texture inputs on plugin nodes
Map input clips to textures during render (with Source fallback)
This commit is contained in:
2026-01-04 22:30:41 +08:00
parent 7c0f37b0a7
commit f191486375
31 changed files with 1147 additions and 130 deletions
+7 -2
View File
@@ -14,7 +14,12 @@
#include "ofxhParam.h"
#include "ofxhMemory.h"
#include "ofxhInteract.h"
#include <memory>
namespace olive {
namespace plugin {
class PluginNode;
}
}
#ifdef _MSC_VER
//Use visual studio extension
#define __PRETTY_FUNCTION__ __FUNCSIG__
@@ -56,7 +61,7 @@ namespace OFX {
/// \arg plugin - the plugin being created
/// \arg desc - the descriptor for that plugin
/// \arg context - the context to be created in
virtual Instance* newInstance(void* clientData,
virtual Instance* newInstance(std::shared_ptr<olive::plugin::PluginNode> clientData,
ImageEffectPlugin* plugin,
Descriptor& desc,
const std::string& context) = 0;
@@ -4,6 +4,8 @@
#ifndef OFXH_IMAGE_EFFECT_API_H
#define OFXH_IMAGE_EFFECT_API_H
#include "ofxhPluginAPICache.h"
#include "ofxhPluginCache.h"
#include <string>
+1
View File
@@ -9,6 +9,7 @@
#include "ofxhBinary.h"
#include "ofxhPropertySuite.h"
#include "ofxhClip.h"
#include "ofxhPropertySuite.h"
#include "ofxhImageEffect.h"
#ifdef OFX_SUPPORTS_OPENGLRENDER
#include "ofxGPURender.h"
-1
View File
@@ -7,7 +7,6 @@
// ofx host
#include "ofxhBinary.h"
#include "ofxhPropertySuite.h"
#include "ofxhClip.h"
#include "ofxhParam.h"
#include "ofxhMemory.h"