/* * Linux VeeJay * * Copyright(C)2002 Niels Elburg * * 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 MAGICOVERLAYS_H #define MAGICOVERLAYS_H #include #include #include vj_effect *overlaymagic_init(int w, int h); void overlaymagic_apply( VJFrame *frame, VJFrame *frame2, int width, int height, int n, int mode); void magicoverlays_free(); void _overlaymagic_adddistorted(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_add_distorted(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_subdistorted(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_sub_distorted(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_multiply(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_simpledivide(VJFrame *frame, VJFrame *frame2, int width, int height); void _overlaymagic_divide(VJFrame *frame, VJFrame *frame2, int width,int height); void _overlaymagic_additive(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_substractive(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_softburn(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_inverseburn(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_colordodge(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_mulsub(VJFrame *frame, VJFrame *frame2, int width,int height); void _overlaymagic_lighten(VJFrame *frame, VJFrame *frame2, int width,int height); void _overlaymagic_difference(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_diffnegate(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_exclusive(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_freeze(VJFrame *frame, VJFrame *frame2, int width, int height); void _overlaymagic_unfreeze(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_basecolor(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_relativeaddlum(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_relativeadd(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_relativesublum(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_relativesub(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_hardlight(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_minsubselect(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_maxsubselect(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_addsubselect(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_maxselect(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_minselect(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_addtest(VJFrame *frame, VJFrame *frame2, int width, int height); void _overlaymagic_addtest2(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_addtest4(VJFrame *frame, VJFrame *frame2,int width, int height); void _overlaymagic_try(VJFrame *frame, VJFrame *frame2, int width, int height); #endif