Mercurial > hg > wm
diff Meerwald/sort.h @ 0:be303a3f5ea8
import
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Sun, 12 Aug 2007 13:14:34 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Meerwald/sort.h Sun Aug 12 13:14:34 2007 +0200 @@ -0,0 +1,13 @@ +#ifndef SORT_H +#define SORT_H + +#include "wm.h" +#include "pgm.h" + +void sort_grays(gray a[], int n); +void select_largest_grays(gray array[], int n, int m, gray largest[]); + +void sort_coeffs(double a[], int n); +void select_largest_coeffs(double array[], int n, int m, double largest[]); + +#endif