Files
veejay/veejay-current/veejay-server/libvje/effects/diff.h
[d.j.a.y] Jerome Blanchi 74c4a867af Libvje / refactor : diff
* const int width, height
2016-05-01 09:40:37 +02:00

31 lines
1.1 KiB
C

/*
* Linux VeeJay
*
* Copyright(C)2002 Niels Elburg <nwelburg@gmail.com>
*
* 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 DIFFEFFECT_H
#define DIFFEFFECT_H
vj_effect *diff_init(int width, int height);
void diff_free(void *d);
int diff_malloc(void **c, int w, int h);
int diff_prepare(void *d, uint8_t *map[4], int w, int h);
void diff_apply(void *d , VJFrame *frame,VJFrame *frame2,
int threshold, int reverse, int mode, int feather);
void diff_destroy();
#endif