Mercurial > hg > wm
comparison Fotopoulos/test-hart.c @ 13:cbecc570129d
cleanup warnings
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Mon, 30 Jun 2008 15:43:16 +0200 |
parents | be303a3f5ea8 |
children |
comparison
equal
deleted
inserted
replaced
12:6f5fea21a43c | 13:cbecc570129d |
---|---|
16 #include <string.h> | 16 #include <string.h> |
17 #include <math.h> | 17 #include <math.h> |
18 #include <float.h> | 18 #include <float.h> |
19 #include <getopt.h> | 19 #include <getopt.h> |
20 #include "common.h" | 20 #include "common.h" |
21 #include "pgm.h" | |
21 | 22 |
22 int height, width; | 23 int height, width; |
23 | 24 |
24 void read_watermark(double **in, int N, int coeff_start, int wm_length, double wm_alpha) | 25 void read_watermark(double **in, int N, int coeff_start, int wm_length, double wm_alpha) |
25 { | 26 { |
104 read_watermark(image_d, N, coeff_start, wm_length, wm_alpha); | 105 read_watermark(image_d, N, coeff_start, wm_length, wm_alpha); |
105 | 106 |
106 freematrix_d(image_i, height); | 107 freematrix_d(image_i, height); |
107 freematrix_d(image_d, height); | 108 freematrix_d(image_d, height); |
108 fclose(in); | 109 fclose(in); |
110 | |
111 exit(EXIT_SUCCESS); | |
109 } | 112 } |