aboutsummaryrefslogtreecommitdiff
path: root/modules/pdp_distance.c
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2006-12-11 23:14:28 +0000
committerN.N. <sevyves@users.sourceforge.net>2006-12-11 23:14:28 +0000
commit34a5c986ebab45f06258b6da12e0258ad570a67b (patch)
tree339cddaf82668a7107ed6b43b5e5b69fbee98391 /modules/pdp_distance.c
parentd59ffe67300cdfa49dd82dcc7264fa09bd646b30 (diff)
fixed warnings and added newer quicktime
svn path=/trunk/externals/pidip/; revision=6809
Diffstat (limited to 'modules/pdp_distance.c')
-rw-r--r--modules/pdp_distance.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/modules/pdp_distance.c b/modules/pdp_distance.c
index 34b3ddf..c960efc 100644
--- a/modules/pdp_distance.c
+++ b/modules/pdp_distance.c
@@ -33,20 +33,20 @@ typedef struct pdp_distance_struct
{
t_object x_obj;
- t_int x_packet0;
- t_int x_packet1;
- t_int x_queue_id;
- t_int x_dropped;
-
- t_int x_vwidth;
- t_int x_vheight;
- t_int x_vsize;
+ int x_packet0;
+ int x_packet1;
+ int x_queue_id;
+ int x_dropped;
+
+ int x_vwidth;
+ int x_vheight;
+ int x_vsize;
short int *x_frame; // keep a copy of current frame for transformations
- t_int x_coeff1;
- t_int x_coeff2;
- t_int x_coeff3;
- t_int x_coeff4;
+ int x_coeff1;
+ int x_coeff2;
+ int x_coeff3;
+ int x_coeff4;
t_outlet *x_pdp_output; // output packets
@@ -94,10 +94,10 @@ static void pdp_distance_process_yv12(t_pdp_distance *x)
short int *data = (short int *)pdp_packet_data(x->x_packet0);
t_pdp *newheader = pdp_packet_header(x->x_packet1);
short int *newdata = (short int *)pdp_packet_data(x->x_packet1);
- t_int i;
- t_int px=0, py=0;
+ int i;
+ int px=0, py=0;
short int *pfY, *pfU, *pfV;
- t_int nvalues, values[5], ival, mval;
+ int nvalues, values[5], ival, mval;
// allocate all ressources
if ( ( (int)header->info.image.width != x->x_vwidth ) ||