mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-06 23:15:30 +01:00
Libvje / refactor : maskstop
* w,h * clean headers
This commit is contained in:
@@ -20,12 +20,9 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <libvjmem/vjmem.h>
|
||||
#include <libvje/vje.h>
|
||||
|
||||
#include "common.h"
|
||||
#include <libvjmem/vjmem.h>
|
||||
#include "maskstop.h"
|
||||
|
||||
static uint8_t *vvmaskstop_buffer[6];
|
||||
@@ -90,7 +87,8 @@ void maskstop_free() {
|
||||
}
|
||||
|
||||
|
||||
void maskstop_apply( VJFrame *frame, int width, int height, int negmask, int swapmask, int framefreq, int maskfreq) {
|
||||
void maskstop_apply( VJFrame *frame, int negmask, int swapmask, int framefreq, int maskfreq)
|
||||
{
|
||||
int i=0;
|
||||
const unsigned int len = frame->len;
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
vj_effect *maskstop_init(int width, int height);
|
||||
int maskstop_malloc(int w, int h);
|
||||
void maskstop_free();
|
||||
void maskstop_apply( VJFrame *frame, int width, int height, int negmask, int swapmask, int framefreq, int maskfreq);
|
||||
void maskstop_apply( VJFrame *frame,int negmask, int swapmask, int framefreq, int maskfreq);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -470,9 +470,7 @@ extern void neighbours3_apply( VJFrame *frame, int brush_size, int level, int mo
|
||||
extern void neighbours4_apply( VJFrame *frame, int radius, int brush_size, int level, int mode);
|
||||
extern void neighbours5_apply( VJFrame *frame, int radius, int brush_size, int level);
|
||||
extern void cutstop_apply( VJFrame *frame, int treshold, int freq, int cutmode, int holdmode);
|
||||
extern void maskstop_apply( VJFrame *frame,
|
||||
int width, int height, int treshold,
|
||||
int freq, int cutmode, int holdmode);
|
||||
extern void maskstop_apply( VJFrame *frame, int treshold, int freq, int cutmode, int holdmode);
|
||||
extern void photoplay_apply(VJFrame *frame, int w, int h, int a, int b, int c);
|
||||
|
||||
extern void videoplay_apply(VJFrame *frame,VJFrame *B, int w, int h, int a, int b, int c);
|
||||
|
||||
@@ -95,8 +95,7 @@ static void vj_effman_apply_image_effect(
|
||||
frames[0]->height,arg[0],arg[1],arg[2]);
|
||||
break;
|
||||
case VJ_IMAGE_EFFECT_MASKSTOP:
|
||||
maskstop_apply(frames[0],frames[0]->width,
|
||||
frames[0]->height,arg[0],arg[1],arg[2],arg[3]);
|
||||
maskstop_apply(frames[0],arg[0],arg[1],arg[2],arg[3]);
|
||||
break;
|
||||
case VJ_IMAGE_EFFECT_CUTSTOP:
|
||||
cutstop_apply(frames[0],arg[0],arg[1],arg[2],arg[3]);
|
||||
|
||||
Reference in New Issue
Block a user