X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Ffreezeframe%2Ffreezeframe.h;fp=cinelerra-5.0%2Fplugins%2Ffreezeframe%2Ffreezeframe.h;h=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=3904e761f78bc6cea92c3624d693374f7086582e;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/freezeframe/freezeframe.h b/cinelerra-5.0/plugins/freezeframe/freezeframe.h deleted file mode 100644 index 3904e761..00000000 --- a/cinelerra-5.0/plugins/freezeframe/freezeframe.h +++ /dev/null @@ -1,109 +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 FREEZEFRAME_H -#define FREEZEFRAME_H - - - - -#include "filexml.inc" -#include "mutex.h" -#include "pluginvclient.h" - - - -class FreezeFrameWindow; -class FreezeFrameMain; -class FreezeFrameThread; - -class FreezeFrameConfig -{ -public: - FreezeFrameConfig(); - void copy_from(FreezeFrameConfig &that); - int equivalent(FreezeFrameConfig &that); - void interpolate(FreezeFrameConfig &prev, - FreezeFrameConfig &next, - long prev_frame, - long next_frame, - long current_frame); - int enabled; - int line_double; -}; - -class FreezeFrameToggle : public BC_CheckBox -{ -public: - FreezeFrameToggle(FreezeFrameMain *client, - int *value, - int x, - int y, - char *text); - ~FreezeFrameToggle(); - int handle_event(); - FreezeFrameMain *client; - int *value; -}; - -class FreezeFrameWindow : public PluginClientWindow -{ -public: - FreezeFrameWindow(FreezeFrameMain *client); - ~FreezeFrameWindow(); - - void create_objects(); - - FreezeFrameMain *client; - FreezeFrameToggle *enabled; -// FreezeFrameToggle *line_double; -}; - - - - -class FreezeFrameMain : public PluginVClient -{ -public: - FreezeFrameMain(PluginServer *server); - ~FreezeFrameMain(); - - PLUGIN_CLASS_MEMBERS(FreezeFrameConfig) - - int process_buffer(VFrame *frame, - int64_t start_position, - double frame_rate); - int is_realtime(); - void update_gui(); - void save_data(KeyFrame *keyframe); - void read_data(KeyFrame *keyframe); - int is_synthesis(); - int handle_opengl(); - - -// Frame to replicate - VFrame *first_frame; -// Position of frame to replicate - int64_t first_frame_position; -}; - - -#endif