X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fpluginarray.h;fp=cinelerra-5.0%2Fcinelerra%2Fpluginarray.h;h=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=dbe01c9031c3f2d21c85f15679a7857c3b6ab635;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/pluginarray.h b/cinelerra-5.0/cinelerra/pluginarray.h deleted file mode 100644 index dbe01c90..00000000 --- a/cinelerra-5.0/cinelerra/pluginarray.h +++ /dev/null @@ -1,100 +0,0 @@ - -/* - * CINELERRA - * Copyright (C) 2008 Adam Williams - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -#ifndef PLUGINARRAY_H -#define PLUGINARRAY_H - - -#include "arraylist.h" -#include "cache.inc" -#include "edl.inc" -#include "file.inc" -#include "keyframe.inc" -#include "module.inc" -#include "mwindow.inc" -#include "pluginserver.inc" -#include "recordableatracks.inc" -#include "track.inc" - - -#include -// The plugin array does the real work of a non realtime effect. - - -class PluginArray : public ArrayList -{ -public: - PluginArray(int data_type); - virtual ~PluginArray(); - - PluginServer* scan_plugindb(char *title); - int start_plugins(MWindow *mwindow, - EDL *edl, - PluginServer *plugin_server, - KeyFrame *keyframe, - int64_t start, - int64_t end, - File *file); - int run_plugins(); - int stop_plugins(); - virtual void create_modules() {}; - virtual void create_buffers() {}; - virtual void get_buffers() {}; -/* - * virtual void load_module(int module, - * int64_t input_position, - * int64_t len) {}; - */ - virtual void process_realtime(int module, - int64_t input_position, - int64_t len) {}; - virtual int process_loop(int module, int64_t &write_length) { return 0; } - virtual int write_buffers(int64_t len) { return 0; } - virtual int64_t get_bufsize() { return 0; } - virtual int total_tracks() { return 0; } - virtual void get_recordable_tracks() {} - virtual Track* track_number(int number) { return 0; } - virtual int write_samples_derived(int64_t samples_written) { return 0; } - virtual int write_frames_derived(int64_t frames_written) { return 0; } - virtual int start_plugins_derived() { return 0; } - virtual int start_realtime_plugins_derived() { return 0; } - virtual int stop_plugins_derived() { return 0; } - virtual int render_track(int track, int64_t fragment_len, int64_t position) { return 0; } - - Module **modules; - MWindow *mwindow; - CICache *cache; - EDL *edl; - PluginServer *plugin_server; - KeyFrame *keyframe; -// output file - File *file; - int64_t buffer_size; -// Start and end of segment in units - int64_t start, end; - int done; - int error; - int data_type; -}; - - - -#endif