X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginserver.h;h=36447603bb0e1c0ad2f595d04e428be035e1a7f2;hb=09c2f5f26f06b33101230e42cdb0a482a6cccf76;hp=62b65f9726354dafa32f5448273b3e994e27dbe8;hpb=3ac8199743f244669cc87ceef9c3cd23710552f3;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/pluginserver.h b/cinelerra-5.1/cinelerra/pluginserver.h index 62b65f97..36447603 100644 --- a/cinelerra-5.1/cinelerra/pluginserver.h +++ b/cinelerra-5.1/cinelerra/pluginserver.h @@ -95,6 +95,7 @@ class PluginServer int lad_index; LADSPA_Descriptor_Function lad_descriptor_function; const LADSPA_Descriptor *lad_descriptor; + int use_opengl; // FFMPEG support const char *ff_name; @@ -102,7 +103,7 @@ class PluginServer VideoDevice *vdevice; public: PluginServer(); - PluginServer(MWindow *mwindow, char *path, int type); + PluginServer(MWindow *mwindow, const char *path, int type); PluginServer(PluginServer &); virtual ~PluginServer(); @@ -125,6 +126,7 @@ public: EDL *edl, Plugin *plugin); // close the plugin int close_plugin(); + void get_plugin_png_name(char *png_name); int get_plugin_png_path(char *png_path, const char *plugin_icons); int get_plugin_png_path(char *png_path); void dump(FILE *fp=stdout); @@ -163,13 +165,19 @@ public: VFrame *get_picon(); VFrame *get_plugin_images(); + int is_unknown(); + int is_executable(); + int is_builtin(); +// ffmpeg + int is_ffmpeg(); + PluginClient *new_ffmpeg_plugin(); // ladspa void set_lad_index(int i); int get_lad_index(); int is_ladspa(); -// ffmpeg - int is_ffmpeg(); - PluginClient *new_ffmpeg_plugin(); +// lv2 + int is_lv2(); + PluginClient *new_lv2_plugin(); // =============================== for realtime plugins // save configuration of plugin void save_data(KeyFrame *keyframe); @@ -341,7 +349,7 @@ public: // buffers int64_t out_buffer_size; // size of a send buffer to the plugin - int64_t in_buffer_size; // size of a recieve buffer from the plugin + int64_t in_buffer_size; // size of a receive buffer from the plugin int total_in_buffers; int total_out_buffers; @@ -381,7 +389,7 @@ public: int uses_gui; // Plugin is a transition int transition; -// name/tip of plugin in current locale. +// name/tip of plugin char *title, *tip; int64_t written_samples, written_frames; char *path; // location of plugin on disk