mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-24 00:30:01 +01:00
drop pixelate
git-svn-id: svn://code.dyne.org/veejay/trunk@1266 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -171,7 +171,7 @@ enum {
|
||||
VJ_IMAGE_EFFECT_NOISEPENCIL = 148,
|
||||
VJ_IMAGE_EFFECT_RIPPLETV = 149,
|
||||
VJ_IMAGE_EFFECT_PENCILSKETCH = 143,
|
||||
VJ_IMAGE_EFFECT_PIXELATE = 150,
|
||||
VJ_IMAGE_EFFECT_BGSUBTRACT = 150,
|
||||
VJ_IMAGE_EFFECT_MAGICMIRROR = 151,
|
||||
VJ_IMAGE_EFFECT_PIXELSMEAR = 152,
|
||||
VJ_IMAGE_EFFECT_RASTER = 153,
|
||||
@@ -211,12 +211,11 @@ enum {
|
||||
VJ_IMAGE_EFFECT_BALTANTV = 187,
|
||||
VJ_IMAGE_EFFECT_CONTOUR = 188,
|
||||
VJ_IMAGE_EFFECT_LENSCORRECTION = 189,
|
||||
VJ_IMAGE_EFFECT_BGSUBTRACT = 190,
|
||||
VJ_IMAGE_EFFECT_DUMMY=100,
|
||||
};
|
||||
|
||||
#define VJ_IMAGE_EFFECT_MIN 100
|
||||
#define VJ_IMAGE_EFFECT_MAX 191
|
||||
#define VJ_IMAGE_EFFECT_MAX 190
|
||||
|
||||
#define VJ_VIDEO_EFFECT_MIN 200
|
||||
#define VJ_VIDEO_EFFECT_MAX 246
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
#include "effects/color.h"
|
||||
#include "effects/noisepencil.h"
|
||||
#include "effects/pencilsketch.h"
|
||||
#include "effects/pixelate.h"
|
||||
#include "effects/magicmirror.h"
|
||||
#include "effects/lumamask.h"
|
||||
#include "effects/smear.h"
|
||||
@@ -554,7 +553,7 @@ void vj_effect_initialize(int width, int height, int full_range)
|
||||
vj_effects[i + 47] = diffimg_init(width,height);
|
||||
vj_effects[i + 48] = noisepencil_init(width,height);
|
||||
vj_effects[i + 43] = pencilsketch_init(width,height);
|
||||
vj_effects[i + 50] = pixelate_init(width,height);
|
||||
vj_effects[i + 50] = bgsubtract_init(width,height);
|
||||
vj_effects[i + 51] = magicmirror_init(width,height);
|
||||
vj_effects[i + 52] = smear_init(width,height);
|
||||
vj_effects[i + 53] = raster_init(width,height);
|
||||
@@ -595,7 +594,6 @@ void vj_effect_initialize(int width, int height, int full_range)
|
||||
vj_effects[i + 88] = contourextract_init(width,height);
|
||||
vj_effects[i + 49] = waterrippletv_init(width,height);
|
||||
vj_effects[i + 89 ]= radcor_init(width,height);
|
||||
vj_effects[i + 90 ]= bgsubtract_init(width,height);
|
||||
|
||||
max_width = width;
|
||||
max_height = height;
|
||||
|
||||
@@ -196,9 +196,6 @@ void vj_effman_apply_image_effect(
|
||||
case VJ_IMAGE_EFFECT_PIXELSMEAR:
|
||||
smear_apply(frames[0], frameinfo->width, frameinfo->height,arg[0],arg[1]);
|
||||
break;
|
||||
case VJ_IMAGE_EFFECT_PIXELATE:
|
||||
pixelate_apply(frames[0],frameinfo->width,frameinfo->height,arg[0]);
|
||||
break;
|
||||
case VJ_IMAGE_EFFECT_UVCORRECT:
|
||||
uvcorrect_apply(frames[0], frameinfo->width, frameinfo->height,arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6]);
|
||||
break;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#define FX_LIMIT 1024
|
||||
|
||||
#define MAX_EFFECTS 137
|
||||
#define MAX_EFFECTS 136
|
||||
#define PARAM_WIDTH (1<<0x2)
|
||||
#define PARAM_HEIGHT (1<<0x3)
|
||||
#define PARAM_FADER (1<<0x1)
|
||||
|
||||
Reference in New Issue
Block a user