aboutsummaryrefslogtreecommitdiff
path: root/modules/pdp_ascii.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_ascii.c
parentd59ffe67300cdfa49dd82dcc7264fa09bd646b30 (diff)
fixed warnings and added newer quicktime
svn path=/trunk/externals/pidip/; revision=6809
Diffstat (limited to 'modules/pdp_ascii.c')
-rw-r--r--modules/pdp_ascii.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/modules/pdp_ascii.c b/modules/pdp_ascii.c
index 34f9e96..af49ef2 100644
--- a/modules/pdp_ascii.c
+++ b/modules/pdp_ascii.c
@@ -38,23 +38,23 @@ typedef struct pdp_ascii_struct
t_object x_obj;
t_float x_f;
- t_int x_packet0;
- t_int x_packet1;
- t_int x_dropped;
- t_int x_queue_id;
+ int x_packet0;
+ int x_packet1;
+ int x_dropped;
+ int x_queue_id;
t_outlet *x_outlet0;
- t_int x_vwidth;
- t_int x_vheight;
- t_int x_vsize;
+ int x_vwidth;
+ int x_vheight;
+ int x_vsize;
- t_int x_color; // rendering color option
- t_int x_brightness; // added value for brightness
+ int x_color; // rendering color option
+ int x_brightness; // added value for brightness
t_float x_ratio; // character to pixel ratio
- t_int x_charwidth; // width of characters
- t_int x_charheight; // height of characters
- t_int x_nbchars; // number of characters in the map
+ int x_charwidth; // width of characters
+ int x_charheight; // height of characters
+ int x_nbchars; // number of characters in the map
char* x_charmaps; // the table of characters
FILE *x_filed; // charmaps file descriptor
@@ -94,10 +94,10 @@ static void pdp_ascii_process_yv12(t_pdp_ascii *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, pixsum;
- t_int px, py, ppx, ppy;
- t_int rank, value;
- t_int pwidth, pheight, offset;
+ int i, pixsum;
+ int px, py, ppx, ppy;
+ int rank, value;
+ int pwidth, pheight, offset;
x->x_vwidth = header->info.image.width;
x->x_vheight = header->info.image.height;
@@ -243,8 +243,8 @@ static void pdp_ascii_load(t_pdp_ascii *x, t_symbol *sfile)
char *word1 = (char*) getbytes( LINE_MAX_LENGTH );
char *word2 = (char*) getbytes( LINE_MAX_LENGTH );
char *word3 = (char*) getbytes( LINE_MAX_LENGTH );
- t_int charwidth, charheight, nbchars, nblines;
- t_int nbexpdata;
+ int charwidth, charheight, nbchars, nblines;
+ int nbexpdata;
char *pdata;
char charread;