X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fbluebanana%2Fbluebananaconfig.h;fp=cinelerra-5.1%2Fplugins%2Fbluebanana%2Fbluebananaconfig.h;h=6119d8d89eeea3c17fdcdfbdb930eadb5e90c0f0;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=0000000000000000000000000000000000000000;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/bluebanana/bluebananaconfig.h b/cinelerra-5.1/plugins/bluebanana/bluebananaconfig.h new file mode 100644 index 00000000..6119d8d8 --- /dev/null +++ b/cinelerra-5.1/plugins/bluebanana/bluebananaconfig.h @@ -0,0 +1,106 @@ +/* + * Cinelerra :: Blue Banana - color modification plugin for Cinelerra-CV + * Copyright (C) 2012-2013 Monty + * + * 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 BLUEBANANACONFIG_H +#define BLUEBANANACONFIG_H + +#include + +class BluebananaConfig{ + +public: + BluebananaConfig(); + int equivalent(BluebananaConfig &that); + void copy_from(BluebananaConfig &that); + void interpolate(BluebananaConfig &prev, + BluebananaConfig &next, + int64_t prev_frame, + int64_t next_frame, + int64_t current_frame); + +// non-auto + int mark; + +// auto + int active; + int use_mask; + int capture_mask; + int invert_selection; + + int Hsel_active; + float Hsel_lo; /* range of 0 to 360 */ + float Hsel_hi; /* strictly greater than lo, so may extend 0 to 720 */ + float Hsel_over; + + int Ssel_active; + float Ssel_lo; + float Ssel_hi; + float Ssel_over; + + int Vsel_active; + float Vsel_lo; + float Vsel_hi; + float Vsel_over; + + int Fsel_active; + int Fsel_erode; + float Fsel_lo; + float Fsel_mid; + float Fsel_hi; + float Fsel_over; + + int Hadj_active; + float Hadj_val; + + int Sadj_active; + float Sadj_lo; + float Sadj_gamma; //*100 + float Sadj_hi; + + int Vadj_active; + float Vadj_lo; + float Vadj_gamma; + float Vadj_hi; + + int Radj_active; + float Radj_lo; + float Radj_gamma; + float Radj_hi; + + int Gadj_active; + float Gadj_lo; + float Gadj_gamma; + float Gadj_hi; + + int Badj_active; + float Badj_lo; + float Badj_gamma; + float Badj_hi; + + int Oadj_active; + float Oadj_val; + +}; + + +#endif + + +