aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2003-10-23 17:22:20 +0000
committerN.N. <sevyves@users.sourceforge.net>2003-10-23 17:22:20 +0000
commitcdafa993ecb25cf669ca58d08aa562308068dc55 (patch)
tree5774c42879ad7f1fddd097f4dfb572f6f64fea76 /modules
parent89195d04ec85c7f34341508a3e2b094a8d897b93 (diff)
Updated for PiDiP 0.12.10
svn path=/trunk/externals/pidip/; revision=1126
Diffstat (limited to 'modules')
-rw-r--r--modules/Makefile3
-rw-r--r--modules/Makefile.in2
-rw-r--r--modules/pdp_shape.c7
3 files changed, 7 insertions, 5 deletions
diff --git a/modules/Makefile b/modules/Makefile
index de4ad7d..4d11bf1 100644
--- a/modules/Makefile
+++ b/modules/Makefile
@@ -1,3 +1,4 @@
+# Generated automatically from Makefile.in by configure.
current: all_modules
include ../Makefile
@@ -14,6 +15,6 @@ OBJECTS = pdp_intrusion.o pdp_yqt.o pdp_simura.o pdp_underwatch.o \
pdp_ffmpeg~.o pdp_live~.o pdp_segsnd~.o pdp_noquark.o \
pdp_juxta.o pdp_capture.o pdp_smuck.o pdp_lumafilt.o \
pdp_transition.o pdp_imgloader.o pdp_imgsaver.o pdp_cache.o \
- pdp_canvas.o pdp_pen.o pdp_shape.o
+ pdp_canvas.o pdp_pen.o pdp_shape.o pdp_fqt.o
all_modules: $(OBJECTS)
diff --git a/modules/Makefile.in b/modules/Makefile.in
index de4ad7d..3b0faac 100644
--- a/modules/Makefile.in
+++ b/modules/Makefile.in
@@ -14,6 +14,6 @@ OBJECTS = pdp_intrusion.o pdp_yqt.o pdp_simura.o pdp_underwatch.o \
pdp_ffmpeg~.o pdp_live~.o pdp_segsnd~.o pdp_noquark.o \
pdp_juxta.o pdp_capture.o pdp_smuck.o pdp_lumafilt.o \
pdp_transition.o pdp_imgloader.o pdp_imgsaver.o pdp_cache.o \
- pdp_canvas.o pdp_pen.o pdp_shape.o
+ pdp_canvas.o pdp_pen.o pdp_shape.o pdp_fqt.o
all_modules: $(OBJECTS)
diff --git a/modules/pdp_shape.c b/modules/pdp_shape.c
index 50e76db..d437144 100644
--- a/modules/pdp_shape.c
+++ b/modules/pdp_shape.c
@@ -339,7 +339,7 @@ static void pdp_shape_pick(t_pdp_shape *x, t_floatarg X, t_floatarg Y)
x->x_cursX = (t_int) (X*(t_float)x->x_vwidth);
x->x_cursY = (t_int) (Y*(t_float)x->x_vheight);
- post( "pdp_shape : pick color at : %d,%d", x->x_cursX, x->x_cursY );
+ // post( "pdp_shape : pick color at : %d,%d", x->x_cursX, x->x_cursY );
if ( ( x->x_cursX >= 0 ) && ( x->x_cursX < x->x_vwidth )
&& ( x->x_cursY >= 0 ) && ( x->x_cursY < x->x_vheight ) )
{
@@ -353,7 +353,7 @@ static void pdp_shape_pick(t_pdp_shape *x, t_floatarg X, t_floatarg Y)
x->x_red = yuv_YUVtoR( y, u, v );
x->x_green = yuv_YUVtoG( y, u, v );
x->x_blue = yuv_YUVtoB( y, u, v );
- post( "pdp_shape : picked color set to : %d,%d,%d", x->x_red, x->x_green, x->x_blue );
+ // post( "pdp_shape : picked color set to : %d,%d,%d", x->x_red, x->x_green, x->x_blue );
}
}
@@ -381,7 +381,7 @@ static void pdp_shape_detect(t_pdp_shape *x, t_floatarg X, t_floatarg Y)
wX = (t_int) (X*(t_float)x->x_vwidth);
wY = (t_int) (Y*(t_float)x->x_vheight);
- post( "pdp_shape : detect %d %d", wX, wY );
+ // post( "pdp_shape : detect %d %d", wX, wY );
if ( (wX<0) || (wX>x->x_vwidth) )
{
// post( "pdp_shape : fill : wrong X position : %f", wX );
@@ -574,6 +574,7 @@ void pdp_shape_setup(void)
class_addmethod(pdp_shape_class, (t_method)pdp_shape_rgb, gensym("rgb"), A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_NULL);
class_addmethod(pdp_shape_class, (t_method)pdp_shape_tolerance, gensym("tolerance"), A_FLOAT, A_NULL);
class_addmethod(pdp_shape_class, (t_method)pdp_shape_paint, gensym("paint"), A_FLOAT, A_NULL);
+ class_addmethod(pdp_shape_class, (t_method)pdp_shape_luminosity, gensym("luminosity"), A_FLOAT, A_NULL);
}