Mercurial > hg > wm
diff Meerwald/gray.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/gray.h Sun Aug 12 13:14:34 2007 +0200 @@ -0,0 +1,14 @@ +#ifndef GRAY_H +#define GRAY_H + +#include "wm.h" +#include "pgm.h" + +gray **alloc_grays(int cols, int rows); +gray **alloc_grays_8x8(); +void free_grays(gray **grays); +void copy_grays_to_block(gray ** block_grays, gray ** image_grays, int col, int row, int width, int height); +void copy_grays_from_block(gray ** image_grays, gray ** block_grays, int col, int row, int width, int height); +void print_grays(gray **grays, int col, int row, int width, int height); +void print_grays_8x8(gray **grays); +#endif